Hi,

I'm looking for a way to update the view matrix of a scene camera
based on the position of the main (matrix manipulator controlled)
camera.  This is needed to render the scene from under the water
surface to update a reflection texture for the water.

I tried a camera cull callback but the model-view is pushed before the
callback is used in CullVisitor::apply(Camera&).

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

Reply via email to