Login  Register

Re: School me on perspective implementation, please...

Posted by gouessej on Mar 31, 2017; 9:05am
URL: https://forum.jogamp.org/School-me-on-perspective-implementation-please-tp4037826p4037827.html

When you use the fixed pipeline, the projection is already managed for you by glFrustum/gluPerspective and glOrtho. When using the programmable pipeline, you can emulate the fixed pipeline with some JOGL build-in utilities (PMVMatrix, FixedFuncUtil, ...) or do it by yourself (optionally with our utilities to manipulate the matrices as float arrays). Of course, you can use a dedicated matrix to store the projection.
Julien Gouesse | Personal blog | Website