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 <[EMAIL PROTECTED]> 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
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to