Hi Dan,

There isn't any built in mechanism for highlight specific triangles,
being a general purpose library the OSG doesn't try to implement all
the various ways that users might wish to use it.

The best I can recommend is to create a second osg::Geometry which
just contains the triangles of interest, you could share the vertex
arrays of the original osg::Geometry though.

Robert.

On 1/11/07, Gilbert, Daniel R. <[EMAIL PROTECTED]> wrote:



Hello All,

I need to come up with a mechanism for highlighting triangles which have
been selected via a mouse pick or polytope intersection.  The osgFX::Scribe
effect demonstrated in various examples work well for the entire node, but I
don't think this will work for my purposes.

Has anyone attempted to highlight triangles dynamically as the mouse moves
across the model?   Would this involve copying the selected triangles into a
separate geode and rendering with PolygonOffset similar to osgFX::Scribe?

Any suggestions will be greatly appreciated, as I'm sure someone has a more
straight-forward/elegant solution.

Thanks,

-- Dan
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to