Trees | Index | Help |
|
---|
Package spyre :: Module stereoscopic :: Class StereoInterface |
|
object
--+ |Object
--+ | StereoInterface
StereoRedBlueInterface
,
StereoTopBottomInterface
The interface for stereo renderers. Initialize with a non-stereo interface, such as PanningInterface, and that interface provides the interface behavior.
The setup method replaces non-stereo cameras in the engine wiht stereo cameras (and paired subordinate cameras).
This class is typically not used directly, though it can be, and will work with regular engines, if care is taken to install stereo interface in the engine. More typically, the engine will be wrapped by a stereo engine and that stereo engine wil handle setting up stereo interfaces and stereo cameras.Method Summary | |
---|---|
Initialize new instance. | |
Delegate most attribute lookups. | |
Delegate most attribute lookups. | |
Setup interface after all components exist. | |
Inherited from Object | |
Display the object using OpenGL This method must be overridden. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__str__() <==> str(x) |
Class Variable Summary | |
---|---|
type |
defaultStereoCamera = spyre.stereoscopic.StereoTopBottomCamera |
Inherited from Object | |
NoneType |
engine : makes engine accessible to displayable objects. |
list |
opengl_state_dependent = []
|
float |
runTime : how long has engine been running? |
int |
runTurn : how many frames have elapsed? |
Method Details |
---|
__init__(self,
interface)
Initialize new instance.
|
__getattr__(self,
attname)
Delegate most attribute lookups.
|
__setattr__(self, attname, val)Delegate most attribute lookups.
|
setup(self)Setup interface after all components exist. |
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Jan 07 17:58:16 2006 | http://epydoc.sf.net |