If you mean you just want to display your model in wireframe, you could use the PolygonMode StateAttribute for that. -Paul
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Mike Greene > Sent: Monday, June 09, 2008 1:01 PM > To: osg-users@lists.openscenegraph.org > Subject: [osg-users] Scribe outline only > > Trying to modify the osgscribe example. I want to display the > scribe lines, without the underlying model beneath it. > > The code does the following: > > root->addChild(decorator); > > decorator->addChild(loadedModel); > > The decorator setups up the "scribe mode". If I then set the > nodeMask of the loadedModel to 0 : > > loadedModel->setNodeMask(0), nothing appears. Intuitively, I > would have > thought this would show the scribe lines only. How do I > achieve this effect? > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce negraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org