Package parasol :: Module POV_Scene :: Class POV_Scene
[hide private]
[frames] | no frames]

Class POV_Scene

source code


Instance Methods [hide private]
 
__init__(self, filePrefix='myScene', ambient=0.25, addDefaultLights=1, background='Black', viewMargin=1.06, lookAtOffset=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
translate(self, vectL=[1, 1, 1]) source code
 
rotate(self, vectL=[0, 20, 0]) source code
 
setCameraAngle(self, angle=10.0) source code
 
addItem(self, item) source code
 
addInclude(self, inc='textures') source code
 
addLight(self, pos=[10, 10, -50], colorName='White', rgb=None) source code
 
write(self, view='front', ortho=0, clockY=None, clockX=None, clockZ=None, extraScenesL=None) source code
 
findPovrayExe(self) source code
 
render(self, width=480, height=360, antialias=1, pngFile='temp.png', povray_exe='')
if input, the POV Ray executable would be something like:...
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, filePrefix='myScene', ambient=0.25, addDefaultLights=1, background='Black', viewMargin=1.06, lookAtOffset=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

render(self, width=480, height=360, antialias=1, pngFile='temp.png', povray_exe='')

source code 

if input, the POV Ray executable would be something like:
    povray_exe = r'"C:\Program Files\POV-Ray for Windows v3.6in\pvengine.exe"'
otherwise, just let the operating system find the EXE file