CLASSES (Panorama v0.10.0)


ATMOSPHERIC OBJECT

Keyword: atm_object
Default class: AtmConst
Common attributes: samples [REAL] . . . Initial number of samples
                                 min_step_size [REAL] . . . Minimum allowed step size for ray marching
                                 transp_th [REAL] . . .Transparency threshold
                                 slope_th [REAL] . . . Slope threshold for adaptive sampling

Example:

Atmospheric object classes

BSDF

Keyword: bsdf
Default class: BsdfPhong
Common attributes: None

Example:

BSDF classes

CAMERA

Keyword: camera
Default class: PinholeCamera
Common attributes: 'translate' [VECTOR] . . . Move camera to another location
                                  'rotate' [VECTOR] . . . Rotate camera.
                                  'up' [VECTOR] . . . . . . .Vector defining vertical direction (default is <0, 1, 0>).
                                  'look_at' [VECTOR] . . . Point where camera is looking at.

Example:

Camera classes

IMAGE FILTER

Keyword: filter (only inside scene definition)
Default class: None
Common attributes: None

Example:

Image filter classes

IMAGE I/O

Keyword: output (can only be used inside scene definition)
Default class: tga
Common attributes: 'type' [STRING] . . . Name of a format type.
                                 'name' [STRING] . . . Name of the file.

Example:

Image I/O classes

LIGHT

Keyword: light
Default class: PointLight
Common attributes: 'translate' [VECTOR] . . . Move light to another location.
                                 'rotate' [VECTOR] . . . . Rotate light.
                                 'color' [COLOR] . . . . . (default is white).
                                 'intensity' [REAL] . . . . (default is 1).
                                 'shadow' [BOOL] . . . . . Generate shadow (default is on)
                                 'volumetric' [BOOL] . . . Light is taken into account in volumetric sampling (when participating media is active) (default is on).
                                 'raytraced' [BOOL] . . . Shadows are raytraced (used by ZBuffer renderer)

Example:

Light classes

MATERIAL

Keyword: material
Default class: Material
Common attributes: 'color' [COLOR] . . . . . Diffuse color of the material.
                                 'opacity' [REAL] . . . . . Opacity coefficient (0..1) (default is 1 = opaque).
                                 'ambient' [REAL] . . . . . Ambient coefficient for illumination.
                                 'diffuse' [REAL] . . . . . Diffuse coefficient for illumination.
                                 'specular' [REAL] . . . . Specular coefficient for illumination.
                                 'ior' [REAL] . . . . . . . Index of refraction of the material (default is 1).
                                 'caustics' [REAL] . . . . Fake caustics exponent for transparent objects (default is 0).
                                 'emission' [REAL] . . . Light emmited by this material (currently unused in raytracing).
                                 'bsdf' [BSDF] . . . . . . Bsdf function of this material.

Example:

Material classes

OBJECT

Keyword: object (Common objects can also be defined or instantiated by its name. They are: box, circle, cone, cylinder, phong_triangle, plane, sphere, triangle)
Default class: None
Common attributes: 'translate' [VECTOR] . . . Move object to another location.
                                 'rotate' [VECTOR] . . . . Rotate object.
                                 'scale' [VECTOR] . . . . . Scale object.
                                 'material' [MATERIAL] . . Set material.
                                 'filter' [OBJECT_FILTER] . (default is none) Several object filters can be given.

Example:

Object classes

RENDERER

Keyword: renderer
Default class: Raytracer
Common attributes: None

Example:

Renderer classes

SCENE

Keyword: scene
Default class: Scene (There is only one class in this family)
Notes: One and only one scene instance must be defined in an scene file.
Common attributes: 'background' [COLOR] . . . Background color of image (default is black).
                                 'width' [REAL] . . . . . . Width of generated image.
                                 'height' [REAL] . . . . . Height of generated image.
                                 'output' [IMAGE_IO] . . It must be a registered image IO class (default is "tga").
                                 'camera' [CAMERA] . . . . Camera instance.
                                 'light' [LIGHT] . . . . . Light instance (may be many of them).
                                 'renderer' [RENDERER] . . Renderer instance.
                                 'filter' [IMAGE_FILTER] . Image filter. Several filters can be defined, and they will be executed in the same order after the render.
                                 'participating' [BOOL] . . Participating media flag.

Example: