From: Angus Dorbie (dorbie++at++sgi.com)
Date: 04/09/2001 14:15:03
No, just write your own.
Look at http://www.dorbie.com/aqua.html, it has a nice section of motion
models.
Excuse my comments on quaternions.
The principal here is to build an incremental transformation based on
user input and vehicle dynamics and multiply it onto the current
position matrix. You can then extract the new HPR orientation if it's
required. Some normalization and cross products are used to keep the
coordinate frame orthogonal. With this model a translation along the X
axis should correspond to a straffe motion in quake.
Cheers,Angus.
Gernot Ziegler wrote:
>
> Hej !
>
> I have problems finding out which model I should use:
>
> I would like to implement a quake-like movement with the arrows directing
> the movement, the mouse pointing the "head" around, and Alt shifting to
> the sides, Shift accelerating the movement ...
>
> Does it make sense to use any of the given pfuXformer-models for that ?
> DRIVE looks quite good, but it uses acceleration, which I don't want - and
> the arrow keys should affect the movement, not the mouse pointer movement.
>
> Or is it better to base this on InputXForm ?
>
> Or does the separation of head movement with the mouse and object movement
> with the keyboard make the InputXForm irrelevant ?
>
> Thanks for your tips ! :-)
>
> Servus,
> Gernot
>
> /-----------------------------W-E-L-C-O-M-E------------------------------\
> T The Austria <=> Sweden connection..... T
> | E-Mail: gz++at++lysator.liu.se H
> O Homepage: http://www.lysator.liu.se/~gz E
> \------------------------------F-U-T-U-R-E-------------------------------/
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
-- For Performer+OpenGL tutorials http://www.dorbie.com/"Whenever there is a conflict between human rights and property rights, human rights must prevail." --Abraham Lincoln
This archive was generated by hypermail 2b29 : Mon Apr 09 2001 - 14:15:37 PDT