#1
|
|||
|
|||
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!! |
#2
|
|||
|
|||
It sounds like the shaders for those effects are currently incompatible with your card/driver. What graphics card do you have?
|
#3
|
|||
|
|||
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? |
#4
|
|||
|
|||
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. |
Tags |
blur, post process |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
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 |