WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Graphics optimization (https://forum.worldviz.com/showthread.php?t=3010)

vOliver 10-10-2010 05:56 PM

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 :)

Jeff 10-18-2010 04:40 PM

Backface culling should be turned on by default. If it has been disabled you can enable using .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 .optimize command to see if that helps.


All times are GMT -7. The time now is 05:08 AM.

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