|
#1
|
|||
|
|||
Image blur
We're trying to simulate visual degredation in humans.
Is there a way to blur the image that the user sees in Vizard? We tried fog and placing a semi-transparent sheet in front of the camera, but neither of those are quite right. We want something that looks like the camera is out of focus. Something that merges adjacent pixels together. |
#2
|
|||
|
|||
...vizard plugins?
If I'm not mistaken...You need to create a custom renderer plug ins for Vizard to do this, or by using OpenGL Shader Language.
Since I'm only a 3d modeler, I don't have the head show you how this is done :P Regards, k_iwan |
#3
|
|||
|
|||
I have a sample script that performs a uniform blur over the entire screen. Is this what you are looking for? The script only works with the latest version of Vizard 3.0 and requires a decent graphics card that supports shaders. Are you able to use 3.0? Also, do you need this effect to work in stereo, or just mono?
|
#4
|
|||
|
|||
Quote:
Thanks! |
#5
|
|||
|
|||
I've attached a zip file which contains a script testBlur.py. This script depends on the included vizblur.py module. This example will only run on Vizard 3.00.1723 and above. You will need a graphics card that supports shaders.
Also, in the future please post Vizard 3.0 related questions in the Vizard 3.0 forum. |
#6
|
|||
|
|||
Hi,
I tried it, but did not run.. seems like something is missing?!? ------------------------------------------------------- FRAGMENT glCompileShader "" FAILED FRAGMENT Shader "" infolog: ERROR: 0:4: '{' : syntax error parse error ERROR: 1 compilation errors. No code generated. glLinkProgram "" FAILED Program "" infolog: Link failed. All shader objects have not been successfully compiled. FRAGMENT glCompileShader "" FAILED FRAGMENT Shader "" infolog: ERROR: 0:4: '{' : syntax error parse error ERROR: 1 compilation errors. No code generated. glLinkProgram "" FAILED Program "" infolog: Link failed. All shader objects have not been successfully compiled. ----------------------------------------------------------- a "vizblur.pyc" was created in the same folder after executing this demo. I'll try again tonight. (I'm running on latest beta version... VizardR3 b3)... next time I will post under Vizard 3 forum. Regards, Iwan Last edited by k_iwan; 11-16-2006 at 01:09 AM. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|