Hi Ale, On 26 November 2012 10:41, Ale Maro <[email protected]> wrote:
> I have my own data structure to manage mesh geometry. Is there a way share > it with OSG to avoid vertex list duplication? > You could implement your own osg::Array subclass. See how the osg::Array subclasses like Vec3Array are implemented for inspiration. The other alternative just use osg::Vec3Array in your own mesh representation. The OSG uses forms that are very closely mapped to OpenGL making it efficient to pass data to OpenGL. Robert.
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

