Hi, Please help me understand this behavior: I'm playing with the osgpointsprite example, and I'm changing only line 40, that originally looks like:
galaxy->addPrimitiveSet(new osg::DrawArrays(osg::PrimitiveSet::POINTS, 0, nvertices)); In particular, I'm changing the "count" variable in osg::DrawArrays, originally set to nvertices. If I use count=3 I see 3 points. Good. If you set count=2 I see two points, great. But if I set count=1 I can't see any point! This line 40: galaxy->addPrimitiveSet(new osg::DrawArrays(osg::PrimitiveSet::POINTS, 0, 1)); produces an empty scene, instead of a scene with one point. What am I missing? Aren't size=1 arrays supposed to work? Thanks, Pasquale _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
