Hi Sohel, Yes you can share vertex arrays between osg::Geometry.
On 12/1/06, Soheil Sotoodeh <[EMAIL PROTECTED]> wrote:
Hi everyone, Can I share a vertex array (only the vertexArray) of a geometry between some other geometries ? e.g. if I have a mesh and I've built an octree over it. I've made a Geometry (let's name it geom_vertices) contains all the points and I want to make a Geode for each octree's node as well as a geometry for each of the geodes (name it as octree_node_geom). But I want to have for each node's geometry (octree_node_geom) only indices to the geom_vertices and not copy the vertices in each. It is mainly necessary if I want to render objects (facets) which are intersecting more than one octree nodes. I appreciate your replies. Cheers, Soheil ________________________________ Want to start your own business? Learn how on Yahoo! Small Business. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
