Results 1 to 2 of 2

Thread: Few questions about Quats

  1. #1
    Senior Member Frequent Contributor
    Join Date
    Nov 2002
    Location
    Latvia
    Posts
    626

    Few questions about Quats

    Finally added Quat support for my project, wasn't that hard. Anyway, I understood how you can use 1 quat to define rotation, but what happens if I multiply this quat with another. As far as I understand, I must take in account that axis are affected by 1st quat, am I wrong? Then, when I create quat from given axis and angle, I calculate v, where every coordinate is given axis coordinate*sin(ang/2), I tried to normalize this v at the end of procedure & everything went wrong, without normalization everything is fine, why that so. Does that mean quat could be (x>1,y>1,z>1,w=any)?
    And bonus question : are quats fater than glRotatef()? I know the difference should be around 0.1e10, but I'm qurios

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Aug 2000
    Location
    Cardiff University
    Posts
    653

    Re: Few questions about Quats

    I assume you are using quaternian multiplication. And that the order in which you multiply matters as in a*b not eq b*a you need to keep things normalised, are you sure you are normalising correctly?

Similar Threads

  1. raspberry pi, quats and opengl
    By technologist in forum OpenGL: General
    Replies: 6
    Last Post: 11-21-2017, 11:14 PM
  2. Quats and Shaders
    By ffelagund in forum OpenGL ES
    Replies: 2
    Last Post: 05-19-2005, 06:47 AM
  3. OK, then simple question about Quats
    By M/\dm/\n in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 04-30-2003, 10:35 AM
  4. Cg Questions
    By pleopard in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 07-30-2002, 09:48 AM
  5. moving a camera (quats?)
    By frogger in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 09-02-2000, 03:29 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