[osg-users] glPointSize no longer working for me?
Crezy Elmo
crezyelmo at hotmail.com
Wed Jul 23 17:46:17 PDT 2008
I tried adjusting the point size using osg::Point but it still had no effect. By the way these points are actually osg::PointSprites if that makes any difference.
I queried OpenGL using glGetFloatv to find out the range of supported point sizes on the machine and it returned 0.0 to 64. I also tried enabling and disabling blending as well as point smoothing, no difference. This is puzzling because this same code used to let me change point sizes. :(
Please let me know if you have any other ideas.
Best,
-C.E.
> Date: Wed, 23 Jul 2008 21:39:09 +0100
> From: robert.osfield at gmail.com
> To: osg-users at lists.openscenegraph.org
> Subject: Re: [osg-users] glPointSize no longer working for me?
>
> Hi Crezy,
>
> osg::Point is the best way to control point size in the OSG.
>
> Robert.
>
> On Wed, Jul 23, 2008 at 8:11 PM, Crezy Elmo <crezyelmo at hotmail.com> wrote:
> > I used to be able to change the size of GL_POINTS in my application both
> > from within a vertex shader and also using glPointSize(float f) in a
> > Drawable. I recently upgraded to the latest OpenSceneGraph and now no
> > matter what I do tthe point size always seems to default to 1.0.
> >
> > Anyone have any idea what I could be missing or what might have changed?
> >
> > Your suggestions highly appreciated!
> >
> > -C.E.
> >
> > ________________________________
> > Use video conversation to talk face-to-face with Windows Live Messenger. Get
> > started.
> > _______________________________________________
> > osg-users mailing list
> > osg-users at lists.openscenegraph.org
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> >
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_________________________________________________________________
Time for vacation? WIN what you need- enter now!
http://www.gowindowslive.com/summergiveaway/?ocid=tag_jlyhm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080724/a1c0d014/attachment-0003.htm>
More information about the osg-users
mailing list