Hi Bhanu,

On 31 May 2017 at 05:55, Bhanu Chandra <[email protected]> wrote:
> How can i set 2D manipulator instead of 3D manipulator and also how can i set 
> Units (width units) to meters or feet or Miles etc...

The core OSG doesn't have any 2D camera manipulators so you'll need to
write your own.  It's not essential to use a osgGA::CameraManipulator,
you can just set the viewer's Camera view+projection matrices yourself
on each new frame if you so wish.

The core OSG itself doesn't have any specific units, so you typically
can interpret than as you wish.  The general assumption for most
loaders and classes that require specific units (such as
osg:EllipsoidModel) is that they load to meters.  Most loaders just
honour the units of the original data so it's not a hard fast rule.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to