Hi John,

On 9/21/06, Argentieri, John-P63223 <[EMAIL PROTECTED]> wrote:
Robert,
 
Did you still use a Producer::RenderSurface?

No, this was the cause of the problems I came across, so I just rolled my own OSGWidget directely from a QGLWidget.

Producer::RenderSurface will be provide you with the graphics context, but you should be able to write your own code to create the graphics context. 

Can SceneView be used some other way that I might not have seen yet? Perhaps if I do the setup the raw OpenGL way that google can tell me, then I can have a SceneView mapped onto that? Right now, I have it render by using rendersurface->swapbuffers() or whatever the call is, but I do a rendersurface->setwindow to map it onto my MFCrap window. You've been a great help to me along the way, friend. Thank you for that, because I know that I must have tested your patience a more than a few times.

SceneView is currently the most straight forward way to get just OpenGL rendering working with the OSG, assuming that you already have created a valid graphics context. 

The osgsimple, osgkeyboardmouse, osgGLUTsimple, osgGLUTkeyboard mouse examples are written to very minimal examples using SceneView.  Even though they are Win32 or MFC API it should still give you an idea of what you need to do to get the OSG up and running.

Robet.
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to