WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-12-2013, 04:52 PM
hzhao hzhao is offline
Member
 
Join Date: Sep 2012
Posts: 18
why the directional blur doesn't work well

Hi, I tried the directional blur But it doesn't work. The code is exactly copied from worldviz document.

import vizfx.postprocess
from vizfx.postprocess.blur import DirectionalBlurEffect
effect = DirectionalBlurEffect(angle=60, distance=40)
vizfx.postprocess.addEffect(effect)

The error message is :
ERROR: 0:9: '-' : wrong operand types no operation '-' exists that takes a left-hand operand of type 'uniform int' and a right operand of type 'const float' (or there is no acceptable conversion)

I tried different input number, eg, 60.0, 40.0, float and int. But it still doesn't work.

But the Gaussian blur works well. and the Zoom blur doesn't work either.

What is wrong?

Thanks!!
Reply With Quote
  #2  
Old 02-13-2013, 08:15 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
It sounds like the shaders for those effects are currently incompatible with your card/driver. What graphics card do you have?
Reply With Quote
  #3  
Old 02-13-2013, 10:36 AM
hzhao hzhao is offline
Member
 
Join Date: Sep 2012
Posts: 18
it is Intel Q45/43 express chipset.

So it seems that I should try it with another computer.

Another question: is the blur effect only applied to window? or I can use the blur effect to an object anyway?
Reply With Quote
  #4  
Old 02-15-2013, 09:46 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Thanks, we will look into adding support for Intel drivers to the effects.

The blur effects are applied to the entire output image of the window.
Reply With Quote
Reply

Tags
blur, post process

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to render a texture of the transparent object and then blur it whj Vizard 1 09-25-2012 03:15 PM
texbox overflow doesn't work when in panel disbeat Vizard 0 05-04-2011 04:24 AM
How to make blur vision? whj Vizard 2 07-16-2009 10:22 AM
Getting a mirror to work in any environment Frank Verberne Vizard 5 03-27-2008 08:21 AM
Image blur jrodman Vizard 19 12-15-2006 03:48 PM


All times are GMT -7. The time now is 02:16 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC