WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-09-2006, 10:12 PM
k_iwan k_iwan is offline
Member
 
Join Date: May 2006
Posts: 115
Red face ...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
Reply With Quote
  #2  
Old 11-10-2006, 09:29 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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?
Reply With Quote
  #3  
Old 11-15-2006, 01:43 PM
jrodman jrodman is offline
Member
 
Join Date: Jun 2003
Posts: 21
Quote:
Originally Posted by farshizzo
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?
Yes, we are using 3.0. I'm not sure if we have a decent graphics card, but I'd certainly like to try it. We only need mono.
Thanks!
Reply With Quote
  #4  
Old 11-15-2006, 02:40 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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.
Attached Files
File Type: zip VizardBlur.zip (2.0 KB, 3698 views)
Reply With Quote
  #5  
Old 11-16-2006, 01:07 AM
k_iwan k_iwan is offline
Member
 
Join Date: May 2006
Posts: 115
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.
Reply With Quote
  #6  
Old 11-16-2006, 09:48 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
It seems your graphics card doesn't support the latest version of GLSL. You might try updating your driver if you already haven't. I'll try to make the shader compatible with older drivers as well.
Reply With Quote
  #7  
Old 11-16-2006, 02:44 PM
k_iwan k_iwan is offline
Member
 
Join Date: May 2006
Posts: 115
Talking

Hi

I thought so... My graphics card at home is ATI9600Pro (I wondered why I picked ATI in the first place anyway, I always have problem with overheating)
I doubt by updating to the latest driver would solve this problem but I will give it a try.

I will try again with Uni's computers.


Regards,
Iwan
Reply With Quote
  #8  
Old 11-16-2006, 02:48 PM
jrodman jrodman is offline
Member
 
Join Date: Jun 2003
Posts: 21
Quote:
Originally Posted by farshizzo
It seems your graphics card doesn't support the latest version of GLSL. You might try updating your driver if you already haven't. I'll try to make the shader compatible with older drivers as well.
I had the same problem. I'll try upgrading my driver.

Also, I posted here because I was hoping to find a solution that worked under Vizard 2.5 as well. The main project we need it for is 3.0, so it's OK if it doesn't work in 2.5.
Reply With Quote
  #9  
Old 12-06-2006, 01:50 PM
jrodman jrodman is offline
Member
 
Join Date: Jun 2003
Posts: 21
Quote:
Originally Posted by farshizzo View Post
It seems your graphics card doesn't support the latest version of GLSL. You might try updating your driver if you already haven't. I'll try to make the shader compatible with older drivers as well.
We're going to buy a new machine to run on. What do we need to look for in a graphics card to get this to work?
Reply With Quote
Reply

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


All times are GMT -7. The time now is 12:19 AM.


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