Hi all,

 

Since moving from 1.0 to 1.1.1rc1 I have a problem relating to the current graphics context using a wxWidgets wxGLCanvas (on Win32).

 

All display lists created before the first update/cull/draw the application fail, resulting in a black screen. Further, if the display list includes textures, the application crashes on the call to glBindTexture with a memory access violation.

 

If I add objects to the scene after the first update/cull/draw, everything is fine. Also, objects that are not compiled into display lists render correctly (I have checked the first frame is OK).

 

For a sanity check, I have built a test application that uses Producer to render and everything works fine. After much debugging the key seems to be the way Producer creates a TemporaryWindow during the call to realize(). Not being a win32 guru (yeah for me J) I’m at a bit of a loss as to why the context creation in the wxGLCanvas worked in 1.0 but now fails with 1.1.1rc1.

 

Any windows/producer people out there have any ideas? Any one else using a wxGLCanvas/SceneView together without problem?

 

Is Producer the way to escape cross platform madness wrt graphics contexts?

 

Any help or pointers appreciated,

Gian

 

 

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to