Results 1 to 9 of 9

Thread: Quaternions

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2000
    Posts
    22

    Quaternions

    using quaternions, does

    TRANSLATE + ROTATE == ROTATE + TRANSLATE

    also, are opengl's matrices a matrix form of
    quaternions

  2. #2
    Member Newbie
    Join Date
    Feb 2000
    Location
    Manchester, UK
    Posts
    40

    Re: Quaternions

    >using quaternions, does
    >
    > TRANSLATE + ROTATE == ROTATE + TRANSLATE
    >

    No. This is nothing to do with quaternions - it's a general property of rotations and translations. Also, there's no way to express a translation using a quaternion.

    >also, are opengl's matrices a matrix form of
    >quaternions

    No. A quaternion describes an orientation/rotation, nothing more. A 4x4 matrix (as used by OpenGL) can describe such things as rotation, translation, shearing, perspective projection etc.

  3. #3
    Junior Member Newbie
    Join Date
    Feb 2000
    Posts
    22

    Re: Quaternions

    how can. or are, quaternions be used in computer graphics...the concept that is.

    [This message has been edited by xerid (edited 03-02-2000).]

  4. #4
    Member Newbie
    Join Date
    Feb 2000
    Location
    Manchester, UK
    Posts
    40

    Re: Quaternions

    They're usually used for skeletal animation, mainly because it's a lot easier to blend between two quaternions than it is using matrices.

  5. #5
    Junior Member Newbie
    Join Date
    Feb 2000
    Location
    Calgary,Canada
    Posts
    8

    Re: Quaternions

    Xerid: Quaternions are a good way of representing rotations, however they are hard to visualize (bad for finding a bug ). Their is a TON of info on the net regarding quaternions, definately look into it more.

    Oh also a really awsome site that I would like to plug is Ask Dr. Math (www.askdrmath.com). Very useful for almost every algorithm / problem you might come upon, and its solution is explained very well. Great questions/answers pertaining to quaternion numbers as well.

  6. #6
    Junior Member Newbie
    Join Date
    Feb 2000
    Posts
    22

    Re: Quaternions

    Originally posted by Nathan d'Obrenan:
    Xerid: Quaternions are a good way of representing rotations, however they are hard to visualize (bad for finding a bug ). Their is a TON of info on the net regarding quaternions, definately look into it more.

    Oh also a really awsome site that I would like to plug is Ask Dr. Math (www.askdrmath.com). Very useful for almost every algorithm / problem you might come upon, and its solution is explained very well. Great questions/answers pertaining to quaternion numbers as well.
    do you have a si,ple example of using quaternions (source code) verses OGL matrices.
    also, it seemd that quaternions would be faster, and does that completely throw out OGL matrices.

  7. #7
    Member Contributor
    Join Date
    Feb 2000
    Location
    Italy
    Posts
    77

    Re: Quaternions

    Just to give an idea, Tomb Raider uses quaternions to smooth the rotations of the camera tracking Lara. The smooth effect is achieved by interpolations.
    --
    Paolo M.

  8. #8
    Member Contributor
    Join Date
    Feb 2000
    Location
    San Diego Ca, USA
    Posts
    50

    Re: Quaternions


  9. #9
    Junior Member Newbie
    Join Date
    Feb 2000
    Location
    Calgary,Canada
    Posts
    8

    Re: Quaternions

    Xerid: Sorry, right now I don't. I have just been way to busy, but I do plan to have a kind of personal programming page up soon. I just thought of it now, but I think that it would be real cool if I posted little advanved math tutorials or something with little demo programs. The best advice I can offer re: quaternions is to read books, surf the web a bit and really just experiment on your own (Kind of like everything else in life Its only math!

Similar Threads

  1. can someone help me with quaternions
    By enjoycrf in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 04-05-2011, 08:57 PM
  2. Quaternions
    By Vlasko in forum OpenGL: General
    Replies: 0
    Last Post: 05-02-2004, 09:28 AM
  3. Quaternions???
    By Brommies in forum OpenGL: Advanced Coding
    Replies: 9
    Last Post: 10-22-2002, 07:55 AM
  4. Quaternions here I come
    By Junkstyle in forum OpenGL: Basic Coding
    Replies: 9
    Last Post: 07-10-2002, 10:01 PM
  5. Quaternions - ARG!
    By PhireBat in forum OpenGL: Basic Coding
    Replies: 18
    Last Post: 04-06-2001, 01:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean