Hi !
>Is
> there something else I need to do so that I can
> perform rotations about axes that do not run through
> the origin?

>From the docs :

The Java 3D model for 4 X 4 transformations is:

      [ m00 m01 m02 m03 ]   [ x ]   [ x' ]
      [ m10 m11 m12 m13 ] . [ y ] = [ y' ]
      [ m20 m21 m22 m23 ]   [ z ]   [ z' ]
      [ m30 m31 m32 m33 ]   [ w ]   [ w' ]

For a affine Transformation (you are only allowed to do these, everthing else
would wuite strange ;) it look like :

      [ m00 m01 m02 m03 ]   [ x ]   [ x' ]
      [ m10 m11 m12 m13 ] . [ y ] = [ y' ]
      [ m20 m21 m22 m23 ]   [ z ]   [ z' ]
      [  0    0   0   1 ]   [ w ]   [ w' ]

The 3 X 3 Matrix

     [ m00 m01 m02 ]
     [ m10 m11 m12 ]
     [ m20 m21 m22 ]

is responsible for rotation and scaling. These are the only values, that are set by
transform3D.set(new AxisAngle4d()).

The Vector
[ m03 ]
[ m13 ]
[ m23 ]
is added to the result. In case of the axis this is probably the value to be set. You 
can
to this by calling transform3D.set(new Vector3d()). (I haven't tried it out, so no it
might not work !)

Niklas

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to