One more question: what is the best way to obtain an
osgUtil::SceneView from a osgProducer::Viewer, if any?

P.

On 10/17/06, Pasquale Tricarico <[EMAIL PROTECTED]> wrote:
Thank you!

Pasquale

On 10/17/06, Don Burns <[EMAIL PROTECTED]> wrote:
> See the FAQ:
>
>
> Q: I'm having a problem using a PrimitiveSet to represent a single point, OR
> my geometry seems to dissapear as it gets very far away. What's wrong?
>
>  -don
>
>
> On 10/17/06, Pasquale Tricarico <[EMAIL PROTECTED]> wrote:
> >
> > 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/
> >
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
>
>

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to