Hi Peter,

All you need to do is build the OSG against GL2 and it'll pick up on
the GL3 should pick up on extensions.  The specific OSG/GL3 build is
for pure GL3, dropping all backwards compatibility with GL2 so not
appropriate in your case.

Robert.

On Tue, May 25, 2010 at 6:33 PM, Peter Bear <[email protected]> wrote:
> Hey,
>
> I had a thought regarding use of the OSG GL3 and GL2 libraries. GL3 will not 
> work on older video cards, but GL2 will. Would it be possible to change the 
> compile setup for OSG so that you can have a GL2 library and a GL3 library 
> side by side. This would allow for use of GL3 if your video card supports it, 
> but GL2 if it doesn't. This would make it so that you could actually set it 
> so that OSG would be able to be switched between GL2 and GL3 in an 
> application such as a game. This would open the way for using the GL2 library 
> for say, a GL2 mode, and a GL3 library for a GL3 mode. This is similar to how 
> most current games do switching between DX9 and DX10 mode. This would make it 
> much easier to do releases of games that use GL2 or GL3 features depending on 
> system specs and options settings.
>
> Could this possibly be done so that it would be easier to release an OSG app 
> that would have that kind of support for both GL2 and GL3, and possibly GL4 
> once OSG supports it?
>
> Cheers,
> Peter
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=28206#28206
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to