Hi Guan et. al.

On 8/26/06, Gian Lorenzetto <[EMAIL PROTECTED]> wrote:
Yes, I think you'll find that cessna.osg does not use display lists and that cow.osg does. Not sure about cessnafire.osg, but I'd guess that it does, cince it does not work.

I'm still slowly chasing this one in wxWidgets, but perhaps the problem may be more obvious with GLUT?

The use of display lists being a problem suggest to me that the compile traversal is the problematic part.  Note the that compile traversal  is the default init traversal done by SceneView.  If init is not already called, SceneView calls it on the first frame rendered.  The init traversal uses OpenGL so it must have a valid graphics context.  

Calling init prior to load the scene graph will result in a effectively a nothing happening during the init traversal, but, and this might be the keypart, it will prevent SceneView from calling its init again so will prevent the precompile.

I think its also important to note that the OSG has changed the way it uses SceneView::init() between 1.0 and the present day, so this its very likely that its influence on events is purely a symptom rather than a cause.

As to what the cause of the problem is... I don't know.  Narrowing down the versions which worked and don't work would be very useful, and may well be the key to unlocking this problem.

Could you all enumerate which versions worked and which version don't. 

Robert.




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

Reply via email to