Hi, On 6/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Is it possible to display a red(or any other color) edge bound of a model to indicate the model is selected using osg? If yes, which functions I can use?
Do you mean an outline? Yes you can do this using a multi-pass approach using and osg::PolygonMode to make things wireframe, osg::PolygonOffset to push the wireframe back and osg::LineWidth to thicken up the lines so you can see them. The osgFX::Scribe/Cartoon and osgscribe example do bits on this so look to them for inspiration. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
