[osg-users] Keeping camera fixed

Renzo Scaletta deepsky1977 at libero.it
Fri May 31 03:08:51 PDT 2019


Hi All,

I am able to animate my scene (bodies translating and rotating in the space) providing a NodeCallback with setUpdateCallback to each PositionAttitudeTransform I want to animate.
What I see is that the camera "follows" in some way the bodies movements without having done anything in the code to trigger that behavior explicitly.

Do you have any tips to keep the camera fixed during the update of nodes position and attitude? Or any details of the OSG code I should focus on (I am quite a beginner)?

Thanks,
Renzo

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=76160#76160







More information about the osg-users mailing list