Other Types¶
group
¶
Groups are the simplest scene graph location type, with no special meaning. They are typically used to organize the scene and to apply transformations affecting all descendant locations.
assembly
and component
¶
Components are designed to be the building blocks that assets can be made out of. Assemblies are designed to be structured assets that can be built out of components or other assemblies.
As a convention for complex hierarchies, a component is a building block that can contain a hierarchy of geometry and non-geometry locations, but it shouldn’t contain any assemblies or other components. This convention is used by some tools in Katana to reduce the amount of Scenegraph that needs to be inspected to do certain things, such as search for LookFiles that are being used, with the assumption that no LookFile is assigned deeper than any ‘component’ location.
camera
¶
Location type to declare a camera.
Type |
Attribute |
Description |
---|---|---|
|
|
The projection mode, such as perspective or orthographic. |
|
|
The field of view angle in degrees |
|
|
Distance of the near clipping plane |
|
|
Distance of the far clipping plane |
|
|
The screen window placement on the imaging plane. The bound of the screen window. |
|
|
This is used for tumbling in the viewer; it has no affect on the camera matrix. |
|
|
The orthographic projection width. |
light
¶
Location type to declare a light.
Type |
Attribute |
Description |
---|---|---|
|
|
Shares the same attributes as cameras. |
|
|
The radius of the light. |
|
|
The color of the light in the Viewer. |
volume
and openvdbasset
¶
An openvdbasset location should be nested under a volume location.
The volume location has the following attributes, with <fieldName> being the name of the OpenVDB field(s).
Type |
Attribute |
Description |
---|---|---|
|
|
The name of the field from the openVDB asset. |
|
|
The field location this volume is parent to. |
The openvdbasset location has the following attributes:
Type |
Attribute |
Description |
---|---|---|
|
|
The file path to the openVDB asset on disk. |
|
|
The name of the field to use from the OpenVDB asset. This should match the |
|
|
The index of the field to use from the OpenVDB asset. |
|
|
The data type of the field (optional attribute). |
|
|
The class of the grid (optional attribute). |
material
¶
See Materials.
instance
, instance source
and instance array
¶
See Instancing.
level-of-detail group
and level-of-detail
¶
A level-of-detail group
location should contain child locations of type
level-of-detail
. Each child corresponds to an LoD, and should have the
following attributes:
Type |
Attribute |
Description |
---|---|---|
|
|
Geometry with a specific level of detail. |
renderer procedural
and renderer procedural args
¶
Note
This section is under construction.
Type |
Attribute |
Description |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
See Arbitrary Attributes. |
error
¶
Renders halt if this type is encountered (fatal error). An error message is written to the render log and displayed in the console.