Hi Thibault,

>Great ! I like the simplicity of this viewer as there is no longer this
>complex event handling stuff. Better: I don't have the manipulator's weird
>behaviour anymore. Almost (see below) everything runs smoothly.

Yeah, the original example was pretty complicated for what it did. Glad you
like the new example!

>I compiled it against today's OpenSceneGraph SVN and wxWidgets 2.8.0 (latest
>stable) without a hitch. At runtime, however, the cow would not appear
>unless I resize the window (and sometimes not at all). I'll dive in the code
>and try to get rid of this behaviour.

First thing that comes to mind is to check that the OpenGL context is created 
and
current when the OSG init code is called. I'm not sure how wx 2.8.x creates the
context, but it might be a start ... will look into this myself tomorrow if you 
don't
find anything.

>Did it :) Forgot to tell: I use a Linux machine. So you can consider that
>under Linux, it compiles with the latest SVN version of the OSG and the
>2.8.0 release of wxWidgets.

Cool :-)

>Just for the info: I used the attached Makefile, which I think does not
>conform at all to the OSG standards (as I am normally working under Windows,
>I'm no Makefile expert), but does the job.

Might need to work out some way of sharing the source as this is going to get
messy if we keep emailing zips ;)

Gian

<<winmail.dat>>

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

Reply via email to