Home
Docs
Install
OpenGLContext
shadow
OpenGLContext.shadow.shadowcontext
Context mix-in providing support for shadow rendering algorithm
Classes
class
InfViewPlatform
(
ViewPlatform
):
Platform sub-class which creates infinite perspective matrices
render
(
self ,
mode = None
)
Create perspective matrix for current position and orientation
Uses pinfperspective to create the infinite perspective matrix required by the shadow-rendering algorithm.