realbasic-games
[Top] [All Lists]

Re: quaternion.transform

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: quaternion.transform
From: Frank C <lists at si-co dot com>
Date: Fri, 28 May 2004 11:50:21 -0400
Delivered-to: realbasic-games at lists dot realsoftware dot com
List-help: <mailto:realbasic-games-request@lists.realsoftware.com?subject=help>
List-id: REALbasic Games <realbasic-games.lists.realsoftware.com>
List-post: <mailto:realbasic-games@lists.realsoftware.com>
References: <4ABDBF32-B0AC-11D8-861A-000A95DB6C90 at fireyesoftware dot com>
On 28-May-04, at 9:38 AM, Asher Dunn wrote:

Correct me if I'm wrong, but the Vector3D and Quaternion classes require Quesa to work, right?

Not sure about Vector3D, but I'm pretty sure the Quaternion class requires Quesa...

Because I'm trying to get away from Quesa with my OpenGL wrappers, I am writing a clone of each of these classes.

Now I know some people have problems with Quesa's rendering and/or scene management, but the math library is top-notch and can be used independently of the scene graph. I wouldn't hesitate to use it as is...

I have been able to work out or find the equations for everything except Quaternion.Transform.

I did find something, but I can't make sense of it. "result = q * v * q ^ -1"
How would I multiply a quaternion by a vector?

If you insist on duplicating Quesa's functions in RB, there's no better reference than the actual source: <http://cvs.sourceforge.net/viewcvs.py/quesa/quesa/Development/Source/ Core/System/E3Math.c?view=markup>

Personally I find C source easier to read than notation...

Frank.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>