Results 1 to 3 of 3

Thread: How to find Frustum parametrs

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2012
    Posts
    19

    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
    Senior Member Regular Contributor uwi2k2's Avatar
    Join Date
    Mar 2011
    Posts
    138

    ..

    hi,

    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.

    cu
    uwi
    uwi2k2 - OpenGL Trainer: www.opengl-trainer.com
    ---------------------------------------------------------
    The OpenGL and VULKAN Podcast ( OpenGL2GO ) : OpenGL & Vulkan Podcast
    ---------------------------------------------------------
    timbling.com - Indie TeamUp

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

Similar Threads

  1. Where can I find frustum code?
    By qwerty5683 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-27-2017, 06:38 AM
  2. cut frustum
    By arthas in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 03-08-2008, 05:31 PM
  3. frustum
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 05-04-2005, 01:00 AM
  4. Frustum - 2d matrix
    By Coluna in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 01-09-2004, 04:09 PM
  5. What kinds of parametrs are in glMapGrid2f
    By FoxDie in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 01-04-2001, 12:28 PM

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