Hi Sébastien,
Sébastien Champmartin wrote:
I tried this (with osg variables as class member) but it doen't display
the grid :
Are you saying it makes a difference whether 'gridGeode' is a member or not?
You should also ensure you create the Drawables and DrawElements only once; with the
current code you're adding new Drawables everytime you switch the geom on.
/ulrich
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org