On Tue, May 19, 2009 at 1:40 PM, Christian Buchner
<[email protected]> wrote:
>> Hi, I haven't used Terrain Manipulator yet. This manipulator avoids Roll
>> rotation, therefore you always see the scene as +Z upward. Also it enables
>> you to watch the scene from above (2D mode) or lock rotation to horizontal
>> or vertical only.
>
> Coincidentially, this is what the Terrain Manipulator does in one of
> the 2 modes that it supports. ;)
>
> So it seems that we've got a little redundancy now.
TerrainManipulator does terrain intersections to control the center of
rotation, while the SphericalManipulator is not bound to any model and
is more like the TrackballManipulator save for the interaction model.
We should try to keep naming consistent where possible though -
TerrainManipulator has a enum:
enum RotationMode
{
ELEVATION_AZIM_ROLL,
ELEVATION_AZIM
};
Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org