#1
|
|||
|
|||
Graphics optimization
I'm trying to optimize a scene so that we can get even framerates on the HMD. I was wondering what options are available in vizard. If this was OpenGL I would turn on backface culling, use display lists for all my models etc. Are those options turned on be default? Any help would be appreciated.
I think my shaders might also be slowing things down considerably even though they are just diffuse shaders. I tried turning my shaders off and a lot of textures seem to be rendering to completely black now when viewed at the wrong angle. Is that a common problem? IE with my simple shader using fragColor = texture2D(tex, texCoord.st) i get fine looking textures and with vizard default some show up completely black. Maybe this has something to do with lighting settings? Thanks for any help |
#2
|
|||
|
|||
Backface culling should be turned on by default. If it has been disabled you can enable using <node3D>.enable(viz.CULL_FACE).
If you are using 3ds Max one way you can optimize the scene is by using OSG occluder nodes. You might also try the <node3D>.optimize command to see if that helps. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
more than 1G Graphics Memory | martinb | Vizard | 1 | 10-23-2009 10:48 AM |
Graphics accelerator problem | JRichizzle | Vizard | 4 | 10-14-2009 06:48 AM |
Question on Graphics Card for laptop | Vinicius Lima | Vizard | 1 | 11-12-2008 03:59 PM |
Quadro Graphics Card Problem | Vinicius Lima | Vizard | 4 | 04-08-2008 10:54 AM |
Recommended graphics card? | Vince | Vizard | 4 | 07-13-2005 10:10 PM |