Hi all,

I am currently working on a kind of drawable optimizer.
My goal is to make primitive set groups and have only one drawable per group. ( 
grouping vertexs linked by any face of the group )
The effect will be to avoid to have separated objects in a same drawable.
In same way, i want to merge small drawables containing only few faces but are 
in the same object.
I have a node visitor wich will do this for all drawable in each geode.

When i look at primitive set types generated by any importer, i notice that 
sometimes it is drawArrays, and other times drawElements.
So my question is if there is any osg optimisation wich choose between 
drawArrays or drawElements alone ? drawElements is usually faster than 
drawArray calls, so i wonder if i can convert everything in drawElements type 
without lose fps ..

Another question, osg doesnt seem to use VBOs by default, is there any reason ?

thank you for your attention.
Regards,
Harold

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





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

Reply via email to