Trees | Index | Help |
|
---|
Package spyre :: Module spyre :: Class StudioColorMat |
|
object
--+ |NullStudio
--+ | StudioColorMat
Method Summary | |
---|---|
Initialize new instance. | |
Add a light to camera lights array | |
Add a light to fixed lights array | |
Add a light to mobile lights array. | |
Initialize depth cueing. | |
Push settings to OpenGL. | |
Push all light params through to OpenGL | |
Push all light params through to OpenGL | |
Initialize depth cueing. | |
Push all light params through to OpenGL. | |
Prep scene for lighting, set light models, colormaterial, etc... | |
Enable lighting | |
Disable all lighting | |
Removes light from camera lights array | |
Removes light from fixed lights array | |
Removes light from mobile lights array. | |
Prep scene for lighting, set light models, colormaterial, etc... | |
Updates the Mobile Lights (and whatever else). | |
Inherited from NullStudio | |
Commits the Mobile Lights (and whatever else) | |
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.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Method Details |
---|
__init__(self,
engine,
ambient=(0.14999999999999999, 0.14999999999999999, 0.149999999999...)
Initialize new instance.
|
addCamLight(self, light, position=None)Add a light to camera lights array
|
addFixedLight(self, light, position=None)Add a light to fixed lights array
|
addMobileLight(self, light, mover=None, position=None)Add a light to mobile lights array. If mover provided, studio will call update method of mover periodically. Same light can be passed as both.
|
depthCueing(self, status=True, fmode=None, density=None, near=None, far=None)Initialize depth cueing.
|
display(self)Push settings to OpenGL. |
displayCamLights(self)Push all light params through to OpenGL
|
displayFixedLights(self)Push all light params through to OpenGL
|
displayFog(self)Initialize depth cueing. |
displayMobileLights(self)Push all light params through to OpenGL.
|
init(self)Prep scene for lighting, set light models, colormaterial, etc...
|
lightsOK(self)Enable lighting
|
lightsOut(self)Disable all lighting
|
removeCamLight(self, light)Removes light from camera lights array
|
removeFixedLight(self, light)Removes light from fixed lights array
|
removeMobileLight(self, light)Removes light from mobile lights array. Removes light and its mover.
|
setup(self)Prep scene for lighting, set light models, colormaterial, etc...
|
update(self)Updates the Mobile Lights (and whatever else).
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Jan 07 17:58:15 2006 | http://epydoc.sf.net |