Hi Nick,
Thanks for the pointers.
although they are right in the book about colors being vertex attributes I
think You can achieve the effect You are after by using osg::Material and
adjusting the alpha and then use a proper Blending Function. Have a look at
osghud example it has blended
HI Émeric,
If you want to just change the display of a small number of selected
triangles then I'd suggest using a separate osg::Geometry that contains the
triangles that you want to effect. This osg::Geometry would be dynamically
updated as you select different triangles.
The way to get this
Hi,
In the OpenSceneGraph 3 Cookbook is explained how to highlight the
selected triangle face of a model.
This is performed by creating a new triangle Geode that overlaps the
selected triangle face.
As outlined in the book: Maybe you are still looking for a way to
change the face's color to
Hi Emeric,
although they are right in the book about colors being vertex attributes I
think You can achieve the effect You are after by using osg::Material and
adjusting the alpha and then use a proper Blending Function. Have a look at
osghud example it has blended quad on top of the screen.
If
4 matches
Mail list logo