Hi James, The osggeometry example is an example that illustrates building osg::Geometry objects in a way that matches OpenGL documentation on primitives. To match the original picture the bottom row uses osg::PolygonStipple to give the checker boarded effect - something that you see in the underlying image. Removing the usage of PolygonStipple and the triangles with be filled in as usual. The code is an example is trying to illustrate a range of things about geometry and and bit of state.
Robert. On Wed, Sep 1, 2010 at 6:54 PM, James Klink <[email protected]> wrote: > Hi, > > I'm trying out the osggeometry example and I have a question. The triangles > that they draw are textured kind of strangely. It looks like the surface of > the triangle is checker boarded. Upon closer inspection, it looks like the > surface is filled in with tiny '3's. Ideally I would like the triangles to be > smooth like the QUADS example. I know it sounds strange but it's what's > happening. I could provide a screen shot if anyone would like to see it. > > Does anyone know what's causing this and what I should do to fix it? > > Thanks in advance > James. > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=31247#31247 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

