Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: How to find Frustum parametrs

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2012

    How to find Frustum parametrs

    I am doing Camera Calibration, and have lot's of local cameras, and I need to render frustum, and it's viewing angle for each. I know that i can do that with intrinsic and extrinsic parameters. BUT HOW??

    If my understanding is right, i need to find : nearD, farD, ratio, angle. But again, how??

    p.s. I have intrinsic and extrinsic parameters, for each local camera.

  2. #2
    Junior Member Regular Contributor uwi2k2's Avatar
    Join Date
    Mar 2011



    i am not shure what you exactly need,
    but if you have a camara you should have a perspective matrix as well, and you are able ro get this one from open gl:
    Code :
    GLdouble projMatrix[16];
    GLdouble modelMatrix[16];
    glGetDoublev(GL_PROJECTION, projMatrix);
    glGetDoublev(GL_MODELVIEW, modelMatrix);
    so if you have the matrix for every camera you should have everithing you need.

    uwi2k2 - OpenGL Trainer:
    The OpenGL and VULKAN Podcast ( OpenGL2GO ) : OpenGL & Vulkan Podcast
    --------------------------------------------------------- - Indie TeamUp

  3. #3
    Junior Member Newbie
    Join Date
    Oct 2012
    Thanks, but that is not what I need, cause I don't know PRM, MDV for my lo

Posting Permissions

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