Hello everyone,
I am writing an application to display and select elements from 2D
triangular meshes and 3D tetrahedral meshes. Displaying the 3D mesh
works fine (thanks Robert for the previous help!). With the 2D I'd like
to have the display show the XY (or XZ, or YZ, depending on the input;
the bounding of the geometry can be used to determine this) plane
directly and enable panning and zooming with the mouse. I have a single
osgViewer and I have tried using the various
getCamera()->set{View,Projection}* functions, but as I understand the
camera manipulator will overwrite the view matrix. So, what is the
simplest way to display an orthographic 2D scene with mouse panning and
zooming in a similar way that a perspective 3D scene is displayed by
default?
Thank you,
Radu
_______________________________________________
osg-users mailing list
osg-...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org