Actually, to narrow it down, the problem is seems to be between 1.0rc4 and 1.1 …

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gian Lorenzetto
Sent: Tuesday, 29 August 2006 9:59 AM
To: osg users
Subject: RE: [osg-users] Problem loading model on 1.1rc1

 

Robert,

 

My test program works with 1.0rc4, but not 1.1 or 1.1.1rc1

 

I’ve tested 1.1.1rc1 both with my own build of OSG and with the Win32 binaries from the web site. 1.0rc4 is my own build and 1.1 is from the Win32 binaries on the website.

 

So, the change causing this issue seems to be between 1.0 and 1.1 … can others confirm this?

 

Gian

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield
Sent: Sunday, 27 August 2006 6:21 AM
To: osg users
Subject: Re: [osg-users] Problem loading model on 1.1rc1

 

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