[osg-users] Draw shaded polygons(filled) and wireframe for an object

Thomas Hogarth thomas.hogarth at googlemail.com
Sat Mar 14 22:07:54 PDT 2009


"Does anyone know how to use polygon offset to *draw* shaded polygons
together with related
*wireframe* counterpart for an object without ugly visual artifacts
("stitching") in OSG? I want to
set different colors for shaded polygons and the wireframe. Can anyone give
me a simple example?"


The scribe effect in the osgFX lib does this, you can see how it's used in
the osgKeyboardMouse example, it's used to highlight a selected object I
seem to remeber

Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20090315/9b1b316c/attachment-0003.htm>


More information about the osg-users mailing list