Page 1 of 1

operations on rotations/quaternions and celx

Posted: 13.05.2004, 16:06
by Rjp buisson
I am now trying to understand rotations/quaternions manipulation in lua-celx.
Concerning the document:
Celx Objects and Methods (for Celestia version 1.3.2)
(file version 1.5 -- April 26, 2004) availaible on Don site,
I have a few questions:

1- is there a observer:getoriention() or observer:getrotation() method available?

2- what difference (in effect and in parameter type) between
observer:setorientation(rot1)
observer:rotate(rot2)

3-there are 4 diferents binairy operators with 'rotations':
rot1+rot2
rot1*rot2
rot1*scalar
rot1*vector
Are the definition of the first 3 operators conform to the corresponding operators on Quaternions (algebra structure)?

4- what is the definition and meaning of the 4th mixed product (rot2= rot1*vector ) ??

Thanks to all of you...
JPierre.

Posted: 13.05.2004, 22:27
by don
Some of your questions may be answered by Harald's complete HTML version, located at: http://www.h-schmidt.net/celestia/lua-summary-1.1a.html

Hopefully he will be able to answer your other questions. I'm still learning Lua/Celx myself. :)