Hi Kirill,

the Optimizer class has some code to aggregate geometry to reduce the number of 
separate drawcalls. You can try if it works in your case by running your *.osg 
file with the osgconv application and look at the output file with osgViewer. 
Also play with the optimizer options that you can set in the environment 
variable (osgconv explains its usage), there are some explicit merge options. I 
do not know which of them are part of the default optimizations. In the code of 
osgConv you can see how the Optimizer is used (two lines of code).

However this is just a quick shot. If it does not improve the performance maybe 
a manual optimization is needed. Then you have to provide more details: what is 
the size of the model (vertices), what kind of instancing did you try? 

Cheers,
Tassilo

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=50041#50041





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to