Results 1 to 3 of 3

Thread: Frustum planes

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2001
    Location
    Moscow, Russia
    Posts
    1

    Frustum planes

    Hi!
    Can anybody ask to me how can I get frustum planes from projection matrix
    like at http://www.markmorley.com/opengl/frustumculling.html.
    For me interesting mathematical side of this question.

  2. #2
    Senior Member Regular Contributor
    Join Date
    Apr 2011
    Posts
    288

    Re: Frustum planes

    You can use gluUnProject to get those eight corners of the frustum. From the corners' coordinates, you can get the equation of each planes.
    About the mathematics behind, it's the inverse of the product of Projection matrix and ModelView matrix.




    [This message has been edited by Coconut (edited 07-31-2001).]

  3. #3
    Senior Member OpenGL Guru zed's Avatar
    Join Date
    Nov 2010
    Posts
    2,466

    Re: Frustum planes

    theres also an example in the faq http://www.frii.com/~martz/oglfaq/
    with a bit of an explanation

Similar Threads

  1. Frustum planes
    By Strydon in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 02-06-2018, 06:38 AM
  2. Frustum Planes Culling
    By Phoenix in forum OpenGL: Advanced Coding
    Replies: 16
    Last Post: 04-24-2002, 12:23 AM
  3. Getting the frustum planes
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 04-21-2001, 04:10 AM
  4. Obtaining the frustum clipping planes
    By cix>foo in forum OpenGL: Advanced Coding
    Replies: 6
    Last Post: 01-14-2001, 12:17 PM
  5. Getting View Frustumīs Planes in OpenGl????
    By XBCT in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 04-19-2000, 08:02 AM

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