A method for extracting the 6 plane equations of a viewing frustum given by a MVP matrix is given by this. It there a similar method known for getting the world space coordinates of its 8 corner points, directly out of the 4x4 MVP matrix and without using trigonometry?
Coordinates of frustum corners
1.6k Views Asked by tmlen At
1
There are 1 best solutions below
Related Questions in OPENGL
- setting OpenGL version in objective-C
- How to run OpenGL version 3.3 (with Intel HD 4000) on Ubuntu 15.04
- Can linear filtering be used for an FBO blit of an MSAA texture to non-MSAA texture?
- How to get shader version from QOpenGLShader?
- "Capture GPU Frame" in XCode -- iOS only?
- Difference between glewGetString(GLEW_VERSION) and glewIsSupported
- Tesselation result flickering - OpenGL/GLSL
- Water rendering in opengl
- Texture mapping consuming physical memory
- Rotating a Cube using Quaternions in PyOpenGL
- Switching from perspective orthographic projection in OpenGL
- FreeType2 and OpenGL : Use unicode
- Should Meshes with and without Skeleton use different Shaders?
- How to get accurate 3D depth from 2D screen mouse click for large scale object in OpenGL?
- Trying to load 2d texture with glTexImage2D, but just getting blank
Related Questions in 3D
- Is there a way to import Collada files into Java?
- 3d mouse aim camera 3rd person vertical C#
- 3D B-Spline approximation
- MatLab 3-vector plot/mesh with colour-scale
- Matplotlib 3d: surface does not cover a line
- Draw a sphere on a billboard with world normal from a pointlist
- babylon skybox from hell
- Create histogram
- How to get accurate 3D depth from 2D screen mouse click for large scale object in OpenGL?
- Custom WhirlyGlobe Skin
- Converting 2D images to 3D
- How to setup camera to point at object
- Finding 3D coordinate of object
- MATLAB 3D sliding window on a volume
- How to check for collisions in ThreeJS?
Related Questions in GEOMETRY
- Generating a sphere in OpenGL without high level libraries - what's wrong with my code?
- Matrix (?) to Rectangle and vise versa
- Turn a button into a loading circle animation
- Find a longitude given a pair of (lat,long) and an offset latitude
- 2D perspective transform in JavaScript
- how to convert Oracle geometry to SQL GEOMETRY
- Overlapping Rectangles Javascript
- Detect hole in geometry
- Reversing RotateAxisAngle back to angles
- WPF: 2 string.format in the same TextBlock?
- Quaternion to EulerXYZ, how to differentiate the negative and positive quaternion
- How to find a point given its distance from two other points?
- Ray/Rectangle intersection in 3D space
- Pairs of points on a graph
- Android OpenCV Detecting Circles takes too much FPS
Related Questions in COMPUTATIONAL-GEOMETRY
- Come up with a method to find the smallest circle that covers two points with its center in x axis
- Catmull-Rom interpolation on SVG Paths
- Smallest Rectangular Box that surrounds a polyhedron
- Detect hole in geometry
- find area of 3D polygon
- What is most efficient way to find the intersection of a line and a circle in python?
- How to find third point coordinates given variables
- seeking approximate algorithm to find largest clear circle in an area
- Check intersection of Segment_2 from Gmpq kernel with a Circle in CGAL
- How can I create an internal spiral for a polygon?
- Reconstructing a 2D shape from its projection in 1D
- Expanding Convex Hull to Reduce Sides
- How to model particle bouncing off of a curved surface in 3D?
- How can I specify tolerance for floating point operation in CGAL library?
- Number of triangles with N points inside
Related Questions in FRUSTUM
- Three.js, center camera to view all objects that is in the scene
- Computing the Bounding Sphere for a 3D Mesh in Python
- Directx 11 spheres
- glFrustum, gluPerspective and FOV
- setting up frustum in iphone
- How to create Frustum in DXF format for Autocad?
- OpenGL Frustum visibility test with sphere : Far plane not working
- How to do frustum culling in OpenGL with the view and projection matrix?
- Why use frustum in OpenGL on top of simple projection?
- How know which particles of a particlesystem are in the frustum
- How to draw only visible data XNA My method doesn't work
- Frustum culling with VBOs
- Coordinates of frustum corners
- From gluOrtho2D to 3D
- OpenGL : Line jittering with large scene and small values
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Solved it by multiplying the projected coordinates of the frustum corners e.g. (1, -1, -1) with the inverse MVP matrix.
Edit:
If an OpenGL-type projection matrix P is used, the coordinates
cof the frustum's corners in model space are(±1, ±1, ±1)(inside the frustum each coordinate goes from -1 to +1).The corresponding coordinates in world space can be calculated as
(P * V * M)^(-1) * c. (in homogeneous coordinates)