Hello there,

IIRC, OpenGL allows you to stuff several meshes into a single VBO, and then 
when it comes time to draw a mesh, you can specify an offset into this VBO 
along with the number of primitives to draw, in essence drawing only a subset 
of this VBO at a time.

I was wondering if this same functionality is exposed in OpenSceneGraph? What 
I'd like to do is something like this: stuff the vertex positions into a single 
Vec3Array, and hand this array over to a single Geometry object. Then, 
instantiate one or more Geodes that each share this Geometry object, but each 
draws only a subset of the Geometry (each possibly drawing a different subset). 
Is this possible?

Thank you!

Cheers,
Frank

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





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

Reply via email to