#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!! |
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 |