Home | Trees | Index | Help |
|
---|
Module Radio :: Class Radio |
|
Method Summary | |
---|---|
Add the new mesh created by the radiosity simulation (see go ) to
Blender. | |
Convert selected visible meshes to patches for radiosity calculation. | |
Filter elements to remove aliasing artifacts. | |
Force an extra smoothing. | |
Release all memory used by radiosity. | |
float |
Get lower thresholdo of unshot energy. |
int |
Get the draw type: Wire, Solid or Gouraud as an int value, see DrawTypes . |
int |
Get the range for removing doubles. |
int |
Get the maximum size of an element. |
int |
Get the minimum size of an element. |
float |
Get change in the contrast of energy values. |
int |
Get hemicube size. |
int |
Get the maximum number of elements. |
int |
Get maximum number of radiosity rounds. |
int |
Get the maximum number of initial shoot patches evaluated. |
int |
Get mode as an int (or'ed bitflags), see Modes
dictionary. |
float |
Get the energy value multiplier. |
int |
Get the maximum size of a patch. |
int |
Get the minimum size of a patch. |
int |
Get the number of times the environment is tested to detect elements. |
int |
Get maximum number of times the environment is tested to detect patches. |
Start the radiosity simulation. | |
Subdivide patches (optional, it may improve results). | |
Join elements (nodes) which differ less than the defined element limit. | |
Replace the original input meshes with the one calculated by the radiosity simulation. | |
Set lower threshold of unshot energy. | |
Set the draw type. | |
Set the range for removing doubles. | |
Set the maximum size of an element. | |
Set the minimum size of an element. | |
Set change in the contrast of energy values. | |
Set hemicube size. | |
Set the maximum number of elements. | |
Set maximum number of radiosity rounds. | |
Set the maximum number of initial shoot patches evaluated. | |
Set mode flags as strings: 'ShowLimits' and 'Z'. | |
Set the energy value multiplier. | |
Set the maximum size of a patch. | |
Set the minimum size of a patch. | |
Set number of times the environment is tested to detect elements. | |
Set the maximum number of times the environment is tested to detect patches. | |
Pre-subdivision: detect high-energy elements (nodes) and subdivide them (optional, it may improve results). | |
Pre-subdivision: detect high-energy patches and subdivide them (optional, it may improve results). |
Method Details |
---|
addMesh()Add the new mesh created by the radiosity simulation (seego ) to
Blender. The radiosity results are stored in this mesh's vertex
colors.
|
collectMeshes()Convert selected visible meshes to patches for radiosity calculation.
|
filterElems()Filter elements to remove aliasing artifacts. This method can be called only after the simulation has been calculated (go ).
|
filterFaces()Force an extra smoothing. This method can be called only after the simulation has been calculated (go ).
|
freeData()Release all memory used by radiosity. |
getConvergence()Get lower thresholdo of unshot energy.
|
getDrawType()Get the draw type: Wire, Solid or Gouraud as an int value, seeDrawTypes .
|
getElemLimit()Get the range for removing doubles.
|
getElemMax()Get the maximum size of an element.
|
getElemMin()Get the minimum size of an element. The range is [1, 100].
|
getGamma()Get change in the contrast of energy values.
|
getHemiRes()Get hemicube size.
|
getMaxElems()Get the maximum number of elements.
|
getMaxIter()Get maximum number of radiosity rounds.
|
getMaxSubdivSh()Get the maximum number of initial shoot patches evaluated.
|
getMode()Get mode as an int (or'ed bitflags), seeModes
dictionary.
|
getMult()Get the energy value multiplier.
|
getPatchMax()Get the maximum size of a patch.
|
getPatchMin()Get the minimum size of a patch.
|
getSubShElem()Get the number of times the environment is tested to detect elements.
|
getSubShPatch()Get maximum number of times the environment is tested to detect patches.
|
go()Start the radiosity simulation. It is necessary to callcollectMeshes first.
|
limitSubdivide()Subdivide patches (optional, it may improve results). |
removeDoubles()Join elements (nodes) which differ less than the defined element limit. This method can be called only after the simulation has been calculated (go ).
|
replaceMeshes()Replace the original input meshes with the one calculated by the radiosity simulation. The radiosity results are stored in this mesh's vertex colors.
|
setConvergence(fval)Set lower threshold of unshot energy. The range is [0.0, 1.0].
|
setDrawType(dt)Set the draw type.
|
setElemLimit(ival)Set the range for removing doubles. The range is [0, 50].
|
setElemMax(ival)Set the maximum size of an element. The range is [1, 100].
|
setElemMin(ival)Set the minimum size of an element. The range is [1, 100].
|
setGamma(fval)Set change in the contrast of energy values. The range is [0.2, 10.0].
|
setHemiRes(ival)Set hemicube size. The range is [100, 1000].
|
setMaxElems(ival)Set the maximum number of elements. The range is [1, 250000].
|
setMaxIter(ival)Set maximum number of radiosity rounds. The range is [0, 10000].
|
setMaxSubdivSh(ival)Set the maximum number of initial shoot patches evaluated. The range is [1, 250].
|
setMode(mode1=None, mode2=None)Set mode flags as strings: 'ShowLimits' and 'Z'. To set one give it as only argument. Strings not passed in are unset, so setMode() unsets both.
|
setMult(fval)Set the energy value multiplier. The range is [0.001, 250.0].
|
setPatchMax(ival)Set the maximum size of a patch. The range is [10, 1000].
|
setPatchMin(ival)Set the minimum size of a patch. The range is [10, 1000].
|
setSubShElem(ival)Set number of times the environment is tested to detect elements. The range is [0, 10].
|
setSubShPatch(ival)Set the maximum number of times the environment is tested to detect patches. The range is [0, 10].
|
subdivideElems()Pre-subdivision: detect high-energy elements (nodes) and subdivide them (optional, it may improve results). |
subdividePatches()Pre-subdivision: detect high-energy patches and subdivide them (optional, it may improve results). |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Dec 22 22:38:13 2005 | http://epydoc.sf.net |