[osg-users] Using OpenGL code in OSG.

2007-09-25 Thread [EMAIL PROTECTED]
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

Re: [osg-users] Using OpenGL code in OSG.

2007-09-26 Thread Robert Osfield
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 p