info-inventor-dev
[Top] [All Lists]

About SoVRMLOrientationInterpolator in TGS inventor

To: Open Inventor ML <info-inventor-dev@xxxxxxxxxxx>
Subject: About SoVRMLOrientationInterpolator in TGS inventor
From: Hiroshi Akiba <akiba@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 27 Jul 2001 17:05:12 +0900
Organization: CVIM LAB
Sender: owner-info-inventor-dev@xxxxxxxxxxx
Hi, I am using TGS inventor to make key frame animation
using SoVRMLOrientationInterpolator.
But I don't know how to set multiple keyValues.

I know that  type of keyValue is a SoMFRotation which has the method as
follows.

     void setValues(int stat, int num, const SbRotation *newValues)

It must be work. But I failed.

What I would like to do is to translate VRML description as follows into
C++ description.

OrientationInterpolator{
    key [0 0 1]
    keyValue[ 0 1 0 0, 0 1 0 3.14 , 0 0 1 3.14 ]
}


Thank you.


--
*****************************************
Hiroshi akiba
University of Tsukuba
Computer Vision & Image Media LAB
TEL 090-2665-0049
E-mail: akiba@xxxxxxxxxxxxxxxxxxxxxxxx
******************************************




<Prev in Thread] Current Thread [Next in Thread>