I'm just starting to play around with openscenegraph and I'd like to know if
what I'm describing is possible. I have two nodes, which may both have paths.
I'd like to attach a line of sight camera between the two nodes in such a way
that the camera is aiming at node 1 from node 2 at all times.
Hi Jay,
There isn't an osgGA::CameraManipulator for doing specifically what you
want so you'll need to write your own CameraManipulator to do this or
simply set the viewer's Camera's view matrix each frame within the frame
loop. This shouldn't be difficult, the OSG has Matrix/Vec3 classes to
2 matches
Mail list logo