[osg-users] Smoothing camera movements from HMD's input

alessandro terenzi a.terenzi at gmail.com
Tue Sep 30 10:53:08 PDT 2008

Yes, indeed I have a PositionAttitudeTransform node that represent my
virtual camera, and whose attitude is set by HMD's data and later used to
set the camera's view matrix just before calling viewer.frame().

So I thuoght to 'animate' the attitude instead of just setting values from
HMD' tracker.

On Tue, Sep 30, 2008 at 7:12 PM, Jim Brooks <jimblist at gmail.com> wrote:

> >In order to solve this problem, I was thinking about creating an animation
> >path (on the fly) from a previously stored orientation to current head
> >orientation. Is this the correct way to proceed? Or there is some other
> >technique to smooth the resulting camera movements?
> osg::AnimationPath interpolates across rotations and positions (for
> smoothing).
> See examples/osganimate.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080930/80eedcdc/attachment-0003.htm>

More information about the osg-users mailing list