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 3 of 3

Thread: Which one should be the "up" axis

Hybrid View

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2011
    Posts
    21

    Which one should be the "up" axis

    Which one shoud be the "up" axis when making a platformer game and in a game where I view the map from above? (z/y?) Thanks!

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Jan 2007
    Posts
    982
    There is no "should" - you just choose your coordinate system and make sure that things are consistent.

  3. #3
    Junior Member Newbie
    Join Date
    Feb 2006
    Location
    Downey, CA
    Posts
    20
    I find that the convention seems to be that with 2D applications -Y is up and in 3D applications +Y is up. Again, you can just make up whatever you want, just stick to a convention.
    Visit Lazy Foo' Productions home of my SDL tutorials

    Want to transition from OpenGL 2.1 to 3.0+? Check out my OpenGL Tutorial

Posting Permissions

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