Hello,
I am more than a noob in using Open Inventor, so please be kind with me
if this is a simple question.
I have a SoTransform object. This holds a position vector (I have set
it with SetValue()).
Ok, now I have a direction vector: dV =3D (0,1,0.5);
I recently saw somebody using this:
transform->rotation.SetValue(SbRotation(SbVec3f(1,0,0),dV));
ok, so I looked up what the SbRotation() Constructor that takes two
SbVec3f variables does. The reference says
"the rotateFrom/To constructor defines rotation that rotates from one
vector into another."
ok, I am not new to 3d math, but what does this mean? Let=B4s take the
example with dV I posted above. What happens to the position vector
stored in the SoTransform object by doing the above operation with dV?
What may be the result?
thank you in advance for any help or information you can provide to
make me understand this. :)
Best
Katachi


|