Hi all,

 

There appears to be a bug in the initialisation of OSG when building with wxWidgets on NVidia hardware, on Win32.

 

This was discussed in another thread, but I thought I would repost with a more representative subject to catch the eye of anyone who may be able to help. See the thread “Producer and Win32” for the history of this.

 

When using a wxGLCanvas and SceneView together, adding any geometry to the scene using display lists causes either a black screen or a memory fault (in my case I believe this relates to texture access during the call to glBindTexture).

 

This has only started happening since moving from 1.0 to 1.1.1rc1 and only happens on NVidia hardware, not ATI. The problem stems from the call to camera->accept(…), during the first cull traversal, which triggers the display list construction.

 

The work-around is to call init() on the SceneView *before* adding any geometry. This calls camera->accept(…) before any geometry is added and (I assume) somehow changes the processing performed during the first cull traversal. Thanks to JP Delport and Ryan Kawicki for there help and suggested work-around.

 

Perhaps Robert can shed some light on what may have changed in the SceneView initialisation to trigger this issue? Or is anyone aware of an NVidia driver issue that may be related?

 

Thanks,

Gian

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

Reply via email to