[osg-users] GL_LINE and GL_POINT question

Paul Speed pspeed at progeeks.com
Tue Jul 1 18:13:16 PDT 2008


Yes... and in general when looking for something OpenGL-ish in OSG one 
need only glance through the header names.  I've never used them but the 
state attributes: Point and LineWidth look to be what you are looking for:

http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/include/osg/Point
http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/include/osg/LineWidth

Just an educated guess.
-Paul


Hugo Gomes wrote:
> Aren't they wrapped by osg ? ...
> Can't i specify that info in a stateset ?
> 
> On Wed, Jul 2, 2008 at 1:36 AM, Willy P <willy.lists at gmail.com 
> <mailto:willy.lists at gmail.com>> wrote:
> 
>     http://www.opengl.org/sdk/docs/man/xhtml/glLineWidth.xml
> 
> 
>     On Tue, Jul 1, 2008 at 4:51 PM, Hugo Gomes <mr.hugo.gomes at gmail.com
>     <mailto:mr.hugo.gomes at gmail.com>> wrote:
>      > Hello,
>      >
>      > how do i set the GL_POINT_SIZE and equivalent GL_LINE_SIZE ?
>      >
>      >
>      > Thanks in advance
>      >
>      > _______________________________________________
>      > osg-users mailing list
>      > osg-users at lists.openscenegraph.org
>     <mailto: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
>     <mailto: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




More information about the osg-users mailing list