Hi Daniel,

The CamaraManipuators know nothing about osgProducer so you can't get any info about the viewer or cameras from it.

For intersection testing the is the Viewer::computeIntersections(..) methods, these are designed to handling multiple cameras and render surfaces.

Robert.

On 9/12/06, Kallfass, Daniel, SDGE1 <[EMAIL PROTECTED]> wrote:
Hello,

I am writing a CameraManupulator and I want to perform an intersection
tests
at the current mouse position (e.g. to pick an object).

The problem I have is that I can't get the Producer::Camera camera or
the current RenderSurface from which the mouse event came from.
How can I solve this problem?

I am using different RenderSurfaces for different Producer::Cameras
within an osgProducer::Viewer.

Thanks,

Daniel Kallfass


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to