Hi Radu,

osgViewer::CompositeViewer is the appropriate tool to use when you
want multiple VIew on to one or more scenes.  Have a look at the
osgcompositeviewer and osghud examples.

Robert.

On 17 June 2014 21:43, Radu Marin Butoi <[email protected]> wrote:
> 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
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to