I can't say exactly what the problem is, but osg::AutoTransform is only able to cope with a single view point, so this may well be the root of the problem. To get round it you could use a group with two AutoTransform's below it, each sharing the same subgraph, then use a traversal mask for each view.
Longer term I'd like class like AutoTransform to buffer their view depedent parts, but this isn't something that will happen for quite a while.
Robert.
Hello again.
I have set my program up to use multiple sceneview objects in multiple rendersurfaces on multiple windows, although I am not sure that is the easiest way to put it :) . I have a single scene graph though and plan to keep it that way. My problem is this: I have little images mapped onto a polygon and each is a child of its own autotransform. These autotransforms are set to autoscale to screen coordinates. When I have two views of the scene open, and I get a "certain distance" from the polygons, they disappear suddenly from the view in which they are visible at a "different distance". When I back off in the active view they reappear. Can anyone shed some light on this for us? Perhaps it would not happen if I did the scaling manually.
Your friend,
John
_______________________________________________
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/
