Node types description - iat-cener/tonatiuh GitHub Wiki
A scene consists of one or more nodes hierarchically ordered. To create scenes, the nodes are added as children of grouping nodes.
A node is each of the elements of the scene containing the data and methods to define the geometries, properties, ... of the scene.
The user can define the following paramenters to this group node:
- translation: the translation in x, y, and z. The default value is (0.0 0.0 0.0).
- rotation: the rotation in terms of an axis and an angle. The default value is (0.0 0.0 1.0), 0.0.
- scaleFactor: the scaling factor in x, y, and z. The default value is (1.0 1.0 1.0).
- scaleOrientation: the rotation to apply before the scale is applied. The default value is (0.0 0.0 1.0), 0.0.
- center: the center point for rotation and scaling. The default value is (0.0 0.0 0.0).
The parameters are applied so that the the center parameter affects first,followed by the scale orientation, the scaling factor, the rotation, and the translation.
Is a node that defines a surface geometry. Node parameters depend on the selected shape node type.
Shape nodes always are leaf nodes in the scene.
Now, we can use this shapes into Tonatiuh:
- Bezier Surface
-
CAD
- Cone
- Cylinder
- Flat disk
- Flat rectangle
- Flat triangle
- Hyperboloid
- Parabolic dish
- Parabolic rectangle
- Sphere
- Spherical polygon
- Spherical rectangle
- Trough Asymmetric CPC
- Trough CHC
- Trough CPC
- Trough hyperbola
- Trough Parabola
- Trumpet
Material nodes defines surfaces propersties and appearance characteristics as ambient color, diffuse color, specular color, emissive color, shininess, and transparency.
Material nodes always are leaf nodes in the scene.
These nodes change the parent node parameters automatically when a scene light position changes. If you define a Group node parameter value manually and this node has a tracker child, when the light position changes this value will be removed.