Yes, attach a PolygonMode StateAttribute to the StateSet. See the
osggeometry example, which does this.

Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
+1 303 859 9466

-----Original Message-----
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Martin
Beckett
Sent: Thursday, April 02, 2009 4:22 PM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] setPolygonMode for Geometry?

I would like to render objects in a scene in different polygon modes -some
as points, others as mesh etc.
Is there anyway to set a polygon mode for a Geometry rather than a global
view or camera?

Thanks
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=9687#9687





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to