Hi,
given by the VRML 97 spec:
Given a 3-dimensional point P and Transform node, P is transformed
into point P' in its parent's coordinate system by a series of
intermediate transformations. In matrix transformation notation,
where C (center), SR (scaleOrientation), T (translation), R
(rotation), and S (scale) are the equivalent transformation matrices,
P' = T * C * R * SR * S * -SR * -C * P
The following Transform node:
Transform {
center C
rotation R
scale S
scaleOrientation SR
translation T
children [...]
}
is equivalent to the nested sequence of:
Transform {
translation T
children Transform {
translation C
children Transform {
rotation R
children Transform {
rotation SR
children Transform {
scale S
children Transform {
rotation -SR
children Transform {
translation -C
children [...]
}}}}}}}
My question is (to matematicians around): how to do the same
transformation using Java3D Transform3D in the least computer
exensive way ? Sait another way how many transform3D should I use ?
one for center (offsetting)
one for (translation, rotation, scale)
one for center (de-offsetting)
Please help cause I won't have any matrix exam in the next fifty years...
(and matrix faq doesn't help)
Thanks, have a nice time,
Silvere Martin.
--
Silvere MARTIN-MICHIELLOT
Construit le futur d'internet sur http://www.digitalbiosphere.com.
--
===========================================================================
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".