Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Changine OpenGL to my own (eulerian) coordinate system

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2000
    Location
    Netherlands
    Posts
    4

    Changine OpenGL to my own (eulerian) coordinate system

    OpenGL by defoult looks down the Z-axis. I want to change this to looking in the positive Y-direction. I also want the shapes, to rotate in the same way the viewpoint moves, clockwise and with the same yaw-pitch-roll order. In other words, if the viewpoint is a pilot and the plane is an object, they should be flying over the xy-plane on height z and with a certain yaw/pitch and roll wich you can imagine how that works.
    Thus far, I stumbled opun gimball locks and other problems. I wandered if anyone could give me a push in the right direction.


    Greetings, Bob Plugge

  2. #2
    Junior Member Regular Contributor
    Join Date
    Mar 2000
    Location
    Germany
    Posts
    237

    Re: Changine OpenGL to my own (eulerian) coordinate system

    Im not sure what you mean here but OpenGl has no default system of axis....If z or y is up depends on your code....You just feed OpenGl with vertices nothing more....

    Greets, XBTC!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •