> I feel kinda guilty for asking without reading the > manual... somewhat abated by my frustration for there not > being one.
It's on it's way. Early drafts are available here: http://www.skew-matrix.com/OSGQSG.html And I'm planning to post a more complete "rough draft" in a few weeks. > everyone else in the world seems to have an event loop > function that would do the while-loop with sync, update, and > frame. Why do you expect people to always write this loop? Have you looked at osgViewer in the SVN head? It's all about encapsulation. > 1) I have an existing application that finds what 3D position > is under the cursor by querying the depth buffer and > back-projecting. Is there an OSG way to do this? Have you looked at the new Intersector classes in osgUtil? Not sure they'll do what you want (sorting front to back) but you should take a look. > 2) I don't understand the underlying model regarding Geodes > and Drawables--why are they separate classes? Geodes are leaf nodes (no children) that hang in the scene graph. They contain geometry for rendering. That geometry can be anything derived from the Drawable class: The Shapes that you mentioned, or the Geometry class are two examples of Drawable subclasses. Basically, something has to be a leaf node that contains geometry. In OSG, Geode is that leaf node, and Drawables are the geometry that you stick in the Geode. I guess another solution would be to do away with Geode and make Drawable the leaf node, but I don't see how one solution is any better than another. > 3) My existing app implements an object-centric model of > camera movement [...] but the view seems to stay put. Are you using osgProducer? If so, to change your view, I think you need to tweak the Camera node that osgProducer has placed above your scene graph (if I understand osgProducer correctly). Maybe Robert can explain more. > 4) I'd like to tie Python in. I know even less about this :-) But again I bet Robert has some insights. Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com 303 859 9466 _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
