Hi all,
I'm having trouble using an absolute reference frame on an
osg::PositionAttitudeTransform.
My scenegraph looks like this:
RootGroup (osg::Group)
|
EntityGroup (osg::Group)
|
Entity (osg::PositionAttitudeTransform)
|
Representation (osg::PositionAttitudeTransform)
I have different subtypes of Representation that I add as childs to an
Entity. For most types of Representations I want to use an relative
reference frame, that is I want the rotation and translation of the
Representations to be relative to the Entity. However, in a special case
I want the Representation to not be affected by any prior rotations and
translations. I thought that using an absolute reference frame would be
a good idea, but when I apply the absolute refence frame to the
Representation trough setReferenceFrame(osg::Transform::ABSOLUTE_RF),
my underlying geometry dissapears.
What am I missing? Do I have the wrong idea of what an absolute reference
frame is supposed to do?
I'm using OSG 2.0 under RHEL 5.
/Jonas
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org