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: opengl units- which units it contains?

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2014
    Posts
    22

    opengl units- which units it contains?

    opengl units- which units it contains?

    Hi,

    I am loading a ,model to openGL .

    which units are presented in OPENGL?

    thanks

  2. #2
    Junior Member Regular Contributor Agent D's Avatar
    Join Date
    Sep 2011
    Location
    Innsbruck, Austria
    Posts
    121
    There are no units of length in OpenGL(R). The units of length are up to your interpretation. You could interpret 1.0 as 1 meter or as 1 foot.

    If, for instance, your camera is 1.8 units above the ground in a 2.2 unit tall and 3 unit broad corridor, the image will look the same as if your camera was 5.906 units above the ground in a 7.218 unit tall and 9.843 unit broad corridor. Doesn't make a difference, as long as it is consistent. (Except for the rounding error I introduced when converting from meters to feet)

Tags for this Thread

Posting Permissions

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