Hi,

I'm glad that osg's VAO edition is in hand.
I'm intersted in opengl and osg,I once tried to add 'vao' and 'instance draw' 
functions to osg because I had many same models and texts to draw and I didn't 
want to give up osg's 'cull' fuction.
It took me much time thinking about where I  should use 'vao'. In order to 
support 'instance draw',I used 'vao' in 'RenderLeaf', I calculated 'instance 
data' from 'Transform' node and other 'instance node',then put 'instance 
arrays' in 'currentstategraph'.I bind vbos in drawables and vbos of 'instance 
arrarys' to the 'vao' when renderring(first draw).what do you think of my way?
BTW,how can I join you?

Thank you!

Cheers,
wang

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





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

Reply via email to