Is there an example that works with GL 3?

I keep getting errors due to reliance on FFP capabilities.

-B

-----Original Message-----
From: osg-users-boun...@lists.openscenegraph.org 
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Brad Colbert
Sent: Monday, May 09, 2011 3:10 PM
To: 'OpenSceneGraph Users'
Subject: Re: [osg-users] OpenGL 3.0 support

Paul,

That was the problem, thanks.  I didn't turn them off.

-B


-----Original Message-----
From: osg-users-boun...@lists.openscenegraph.org 
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Paul Martz
Sent: Monday, May 09, 2011 1:49 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] OpenGL 3.0 support

On 5/9/2011 12:08 PM, Brad Colbert wrote:
> Hi folks,
>
> There may be a simple answer to this question but how do you successfully 
> compile osg 2.9.* with OpenGL 3.0 support?  I'm getting undefined functions, 
> such as glLoadMatrixf.

glLoadMatrixf isn't a 3.0 function. The likely cause of the problem is either 
that you've enabled FFP in CMake, or there's an issue with svn trunk calling 
FFP 
functions not wrapped by the necessary conditional compile statements.

Try fixing this in CMake first, by disabling all the checkboxes for OpenGL 2.0 
and FFP. There are on by default, and they don't turn themselves off when you 
select the box for 3.0. You might need to regenerate your CMake cache.
    -Paul
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to