WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   why the directional blur doesn't work well (https://forum.worldviz.com/showthread.php?t=4487)

hzhao 02-12-2013 04:52 PM

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

farshizzo 02-13-2013 08:15 AM

It sounds like the shaders for those effects are currently incompatible with your card/driver. What graphics card do you have?

hzhao 02-13-2013 10:36 AM

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?

farshizzo 02-15-2013 09:46 AM

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.


All times are GMT -7. The time now is 01:54 AM.

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