Hi Julien,

Thank you for your reply,I think there is no separation between user level and 
system level,since the development of OpenGL also exposes more low-level 
implementation.
the reason why I didn't use 'vao' in 'drawable' is that I think  'vao' is used 
to manage 'vbos',but 'vbos' is not only from 'drawables' ,but also from 
somwhere else,for example,'instance arrays' of 'status information' .It's rigid 
to put 'vao' in 'drawable'.So I'd like to find a better place using 'vao'.I 
think 'RenderLeaf' can be a good place because it has the member '_drawable' 
and its parent is 'stategraph', it can be closely linked to the two.
I know that cullvisitor isn't fit for instance culling,so I didn't change the 
original structure,only calculated 'instance data' when cullvisitor traverse 
'instance node' which I signed.just as I wrote,I didn't want to give up osg's 
'cull' function,I only add some extra features when cullvisitor traversing.I 
extended some classes to support it.

Thank you!

Cheers,
wang

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to