Hi Eric,

The osgteapot example provides an example of integrating OpenGL code
into the OSG.  You could also try using a camera post draw callback.

You'll need to insulate your own OpenGL state management from the OSG
and visa versa.  There has been lots talked about this topic over the
years so please browse the archives.

Robert.

On 9/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have an application that was written for SGI Performer and
> has a fair amount of OpenGL code that I have no interest in
> recoding into the OSG node structure.
>
> My first thought is to use the example GLUT demo as a
> baseline since I can directly call the various legacy pieces
> and they seem to work.
>
> I was wondering if there was a better method for doing
> legacy OpenGL code?
>
> Thank you,
> Eric
> _______________________________________________
> 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