Math and algorithms

Revision as of 18:48, 24 February 2012 by Alfonse (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Compute eye space from window space
Algorithm and shader code for taking window space positions and computing eye space positions from them.
Calculating a Surface Normal 
Required from the application by OpenGL for lighting calculations.
A way to get the selection of the objects.
Object rotation via a virtual trackball.