Hi,

When I only have one point in a GL_POINTS DrawElements primitive, the shaders 
in my StateSet have no effect. It seems a primitiveset cannot contain use only 
one point, or the point does not reach the shaders for some reason.

To reproduce the problem, change the osggeometryshaders sample so that only 1 
(not 8) points are added to the vertex array. You should see 2 animated lines 
in this case - but nothing is displayed.

A colleague of mine stumbled upon this behavior (bug?) a while ago.

Is this a known bug?

Cheers,
Fred

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to