Hi Matt, I can't really say what might be up, I'd need to see how things are wired up in the code to hazard a guess.
Note that SimpleViewer has now been replaced by Viewer/CompositeViewer + GraphicsWindowEmbedded. Have a look at the osgviewer* examples to see it in action, these were all once osgsimpleviewer* examples, but now have been ported across. While porting across adds a bit of hassle, Viewer is more powerful than SimpleViewer, and if fact is easier to use as you don't need to jump through so many hoops to add more functionality. Robert. On 6/7/07, Matthew D. Plumlee <[EMAIL PROTECTED]> wrote:
I figured I give this its own thread, since maybe I'm doing something a little out-of-the-ordinary (the last message really was about the broken list-search...if you already know it's broken, a note on the search page would be *greatly* appreciated). Caveat: I was using the 1.9.5 release, and am building 1.9.8 to try it with as I type. I've swig-wrapped my own derived version of SimpleViewer for use with wxPython and another DLL on our end. I can get a Cessna showing in the embedded window, and I can rotate the camera (although not the way I'd expect yet), but I can't resize the OpenGL window to actually fit in the wxPython widget it's drawing in. I've tried resized(...) and resizedImplementation(...), but to no avail (I'm calling them from my Python script, rather than using the GUI adapter). Looking into it further, I saw that resizedImplementation() bails out when it doesn't have any _traits. When I created some, it now looks like it is bailing out because the camera list is empty (or start == end, anyway). Maybe this won't be a problem deriving from Viewer instead... but if it's not a moot point, am I missing something important on my derivation? Off point: I'm very much looking forward to 2.0 and the new OSGQSG, and it's great to see that the staff is growing! :) All the best, --Matt P. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
