Results 1 to 3 of 3

Thread: Gimble Lock

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2002
    Location
    Mooroolbark, VIC, Australia
    Posts
    4

    Gimble Lock

    Hi,

    I was just wondering if anyone knew of a series of rotations that will CAUSE gimble lock. Im trying to get around it, and it seems to work, so far, but it would be really helpful to test it with a set of rotations that are known to cause gimble lock.

    Not sure if I explained that very well,

    Thanks for your time,

    Regards
    Arma

  2. #2
    Senior Member Regular Contributor
    Join Date
    Dec 2001
    Location
    Belmont, CA, USA
    Posts
    216

    Re: Gimble Lock

    pitch +90
    then roll +90
    then watch what changing the pitch does...

  3. #3
    Senior Member Regular Contributor nickels's Avatar
    Join Date
    Feb 2000
    Location
    Colorado
    Posts
    284

    Re: Gimble Lock

    Some of the posts on gimble lock around here have been off. Gimble lock will not cause any problem in the viewer: Once you have a yaw,pitch,roll, feed those to opengl and it will display correctly.
    The problem occurs in your math model as you integrate you changing values. You must either avoid pitch of +-90 degrees or use quaternion integration.
    I guess the only way opengl would have anything to do with gimble lock is if you are using opengl rotation matrices to integrate your model states, which is not a good idea anyway.

Similar Threads

  1. Gimbal Lock! Please help!
    By cytricks in forum OpenGL: Basic Coding
    Replies: 8
    Last Post: 02-25-2011, 05:59 PM
  2. Lock API
    By Alfonse Reinheart in forum OpenGL: General
    Replies: 46
    Last Post: 10-07-2009, 11:20 AM
  3. Lock/UnlockArraysEXT
    By dare in forum OpenGL: Advanced Coding
    Replies: 7
    Last Post: 02-04-2003, 03:58 PM
  4. gimbal lock
    By jrbcast in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 03-19-2002, 08:03 AM
  5. Gibmal Lock
    By DarkLore in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 04-20-2001, 01:03 AM

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