Page History
...
transform
- World transformation applied to the geometry vertices which are defined in object space.geometry
- Reference to a geometry source plugin, such asGeomStaticMesh
for example.material
- Reference to a material plugin. This should almost always be aMtlSingleBRDF
.visible
- Set to false to disable the object. It will not be included in the raytracing intersection tree.
GeomStaticMesh
vertices
- VectorList with the vertex coordinates in object space.faces
- IntList with indices in thevertices
array. Every three indices make a triangle. The same vertex index may be used multiple times (for the different triangles it is part of).normals
- faceNormals
- map_channels
- map_channels_names
- face_mtlIDs
- - VectorList with normal vectors in object space. These can have a different count from
vertices
. faceNormals
- IntList with indices in thenormals
array. Every index defines the normal for the corresponding vertex in thefaces
array.map_channels
- An optional list of lists, where each inner list is generic and has three elements. The first element is the channel index (usually starting from 1), followed by a VectorList with UVW coordinates (leave W at 0.0 when you're only mapping 2D). The third element is an IntList with indices in the UVW array. Each index corresponds to a vertex defined in thefaces
array.map_channels_names
- An optional list of strings with names for the corresponding elements of themap_channels
list.face_mtlIDs
- An optional IntList with material indices for each triangle. The number of indices is equal to the length of thefaces
array divided by 3.dynamic_geometry
- If set to true, the geometry will not become part of the static intersection tree. Only its bounding box will be used and if that's intersected a separate local tree will be intersected. This may boost performance for real-time rendering of moving objects.dynamic_geometry
GeomStaticNURBS
cvs
- List of lists of Vectors. Each inner lists contains the control vertices for one NURBSweights
- Lists of lists of floats with weights for each CV in the correspondingcvs
list.uKnots
- List of floats with knot values in the U direction.vKnots
- List of floats with knot values in the V direction.generateStatic
- Set to true to generate explicit static triangles in memory instead of the implicit NURBS surface.
...