Hi, Deriving your own class from osg::Drawable, you can have any internal draw implementation with your own datastructures. See the osgteapot example.
-- mew On Sat, May 3, 2008 at 9:20 AM, Janick Martinez <[EMAIL PROTECTED]> wrote: > Hi, > > I was wondering if it is possible to utilize a complete > halfedge mesh data structure like OpenMesh from www.openmesh.org > or of CGAL from www.cgal.org by openscenegraph in an easy way. > I am completely new to openscenegraph but in my eyes > there is no easy way to access triangles and their neighboors > in an efficient way yet, or am I wrong about this? > Unfortunately I also don't know yet if it is possible to implement a > costum scene graph node type for this data structure > and how much effort it would need. > Bu I think that it is a desirable scene graph feature to > support such efficient triangle based mesh data structure, > so in the long run I would appreciate a litte support in this =) > > Greets, Janick > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Mike Weiblen -- Austin Texas USA -- http://mew.cx/ _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

