OpenGLContext.move.viewplatform

Mobile camera implementation using quaternions

Functions

Classes

Mobile Viewing Platform
The ViewPlatform is, loosely speaking, a camera which sets up the projection and model-view matrices for an OpenGLContext scene.
Most Context's will have an associated ViewPlatform thanks to the ViewPlatformMixIn class, which instantiates the ViewPlatform. Shadow-rendering Context's will actually use a subclass which generates "infinite" perspective views required by the particular stencil-buffer shadowing algorithm.
See: OpenGLContext.viewplatformmixin.ViewPlatformMixIn OpenGLContext.shadow.shadowcontext.InfViewPlatform
Attributes: frustum -- OpenGL-friendly storage of frustum values, (field of view, aspect ratio, near, far)
position
object-space position of the viewing platform, a four-component array
quaternion
quaternion representing the current view-orientation for the viewing platform