I'm a newbie myself, but if you go to Sun and do a search of the archive for
this mail list, you will find a link to a FAQ for quaternions.  It has very
useful formulas for conversions ( in both directions ).  The way I am using
these is a little roundabout:  the viewpoint is moved from the center of a
square determined by sculptures in each corner to each sculpture.  I found a
little program (  orient.exe, not sure where to get it ) that calculates the
VRML key values to use when starting from one point and rotating and moving
to another.  The person I work under made a little program that then
converts these values to quaternions, and I just plug them in.

Hope that helps,
Dustin


-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Jennifer Evans
Sent: Wednesday, August 04, 1999 11:41 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] RotPosPathInterpolator


Hi,

Bit of a newbie question, I don't have any prior knowledge of graphics, and
I'm trying to use a RotPosPathInterpolator, I am having problems
understanding the use of a Quat4f to specify orientation.


I have look at the Computer Graphics Principles and Practice book
recommended in a previous e-mail on this subject but still can't really
understand how I might calculate what numbers to put in my Quat4fs.


If anyone can think of a simple way to explain this or point me towards some
resource on the subject I would be very grateful.


Jenni.


P.S. goal is to get spheres rotating on an arbitrary axis

===========================================================================
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