Process 3d - Primitive Nodes
These nodes are used to create primitive object on the scene: floor, wall, camera, etc.
Attribute name
|
String
|
mandatory
Attribute create
= "object" |
String
|
mandatory
Param class
|
String
|
mandatory
The object class name
Attribute name
|
String
|
mandatory
Attribute create
= "box" |
String
|
mandatory
Param length
|
Integer
|
mandatory
The box length
Param width
|
Integer
|
mandatory
The box width
Param height
|
Integer
|
mandatory
The box height
Attribute name
|
String
|
mandatory
Attribute create
= "floor" |
String
|
mandatory
Param dimension
|
Vector
|
mandatory
The floor dimensions: length, width and height
Attribute name
|
String
|
mandatory
Attribute create
= "wall" |
String
|
mandatory
Param length
|
Integer
|
mandatory
The wall length
Param height
|
Integer
|
mandatory
The wall height
Param thickness
|
Integer
|
mandatory
The wall thickness
Attribute name
|
String
|
mandatory
Attribute create
= "wall.floor" |
String
|
mandatory
Param floor
|
String
|
mandatory
The floor name. The floor must be created by an object node like Floor Node
Param edge
|
Integer
|
mandatory
The floor edge number: 1, 2, 3 or 4
Param thickness
|
Integer
|
mandatory
The wall thickness
Attribute name
|
String
|
mandatory
Attribute create
= "camera" |
String
|
mandatory
Param fov
|
Integer
|
mandatory
The camera fov
Param pos
|
Vector
|
optional
XYZ camera position
Param pos.x
|
Float
|
optional
X camera position
Param pos.y
|
Float
|
optional
Y camera position
Param pos.z
|
Float
|
optional
Z camera position
Param target.pos
|
Vector
|
optional
XYZ target position
Param target.pos.x
|
Float
|
optional
X target position
Param target.pos.y
|
Float
|
optional
Y target position
Param target.pos.z
|
Float
|
optional
Z target position
Nodes
Node Object with create = "object" | optional
This node is used to create an object in the scene.
example: create a teapot
<Object name="teapot" create="object">
<Param name="class">Teapot</Param>
<Param name="pos">100;20;0</Param>
</Object>
Use Cases: null
Node Attributes
Attribute name
|
String
|
mandatory
object name
Attribute create
= "object" |
String
|
mandatory
Node Params
Param class
|
String
|
mandatory
The object class name Node Params "Tranformation"
These params are params defined for the Object Node.
Node Params "Material"
These params are params defined for the Object Node.
Node Params "Object Class"
These params are used to set the value of an attribute of the object's class.
example: set a sphere radius
<Object name="earth" create="object">
<Param name="class">Sphere</Param>
<Param name="radius">50</Param>
</Object>
Node Object with create = "box" | optional
This node is used to create a box in the scene.
example
<Object name="cube" create="box">
<Param name="length">50</Param>
<Param name="width">50</Param>
<Param name="height">50</Param>
<Param name="pos">100;200;10</Param>
</Object>
Use Cases: null
Node Attributes
Attribute name
|
String
|
mandatory
object name
Attribute create
= "box" |
String
|
mandatory
Node Params
Param length
|
Integer
|
mandatory
The box length
Param width
|
Integer
|
mandatory
The box width
Param height
|
Integer
|
mandatory
The box height Node Params "Tranformation"
These params are params defined for the Object Node.
Node Params "Material"
These params are params defined for the Object Node.
Node Params "Box Class"
These params are used to set the value of an attribute of the "Box" class.
Node Object with create = "floor" | optional
This node is used to create a floor in the scene. The floor coords are able to be shared with another process.
example
<Object name="ground" create="floor">
<Param name="dimension">100;50;4</Param>
<Param name="pos.z">50</Param>
</Object>
Use Cases: null
Node Attributes
Attribute name
|
String
|
mandatory
object name
Attribute create
= "floor" |
String
|
mandatory
Node Params
Param dimension
|
Vector
|
mandatory
The floor dimensions: length, width and height Node Params "Tranformation"
These params are params defined for the Object Node.
Node Params "Material"
These params are params defined for the Object Node.
Node Params "Box Class"
These params are used to set the value of an attribute of the "Box" class.
Node Object with create = "wall" | optional
This node is used to create a wall in the scene. The wall coords are able to be shared with another process.
example
<Object name="wall" create="wall">
<Param name="length">100</Param>
<Param name="height">50</Param>
<Param name="thickness">2</Param>
</Object>
Use Cases: null
Node Attributes
Attribute name
|
String
|
mandatory
object name
Attribute create
= "wall" |
String
|
mandatory
Node Params
Param length
|
Integer
|
mandatory
The wall length
Param height
|
Integer
|
mandatory
The wall height
Param thickness
|
Integer
|
mandatory
The wall thickness Node Params "Tranformation"
These params are params defined for the Object Node.
Node Params "Material"
These params are params defined for the Object Node.
Node Params "Box Class"
These params are used to set the value of an attribute of the "Box" class.
Node Object with create = "wall.floor" | optional
This node is used to create a wall based on a floor edge. The wall coords are able to be shared with another process.
example
<Object name="wall" create="wall.floor">
<Param name=>ground</Param>
<Param name="edge">1</Param>
<Param name="height">50</Param>
<Param name="thickness">2</Param>
</Object>
Use Cases: null
Node Attributes
Attribute name
|
String
|
mandatory
object name
Attribute create
= "wall.floor" |
String
|
mandatory
Node Params
Param floor
|
String
|
mandatory
The floor name. The floor must be created by an object node like Floor Node
Param edge
|
Integer
|
mandatory
The floor edge number: 1, 2, 3 or 4
Param thickness
|
Integer
|
mandatory
The wall thickness Node Params "Tranformation"
These params are params defined for the Object Node.
Node Params "Material"
These params are params defined for the Object Node.
Node Params "Box Class"
These params are used to set the value of an attribute of the "Box" class.
Node Object with create = "camera" | optional
This node is used to create a target camera in the scene
example
<Object name="camera" create="camera">
<Param name="pos">10;100;50</Param>
<Param name="target.pos">10;0;0</Param>
<Param name="fov">30</Param>
</Object>
Use Cases: null
Node Attributes
Attribute name
|
String
|
mandatory
object name
Attribute create
= "camera" |
String
|
mandatory
Node Params
Param fov
|
Integer
|
mandatory
The camera fov Node Params "Tranformation"
These params are used to set the camera and the target position
Param pos
|
Vector
|
optional
XYZ camera position
Param pos.x
|
Float
|
optional
X camera position
Param pos.y
|
Float
|
optional
Y camera position
Param pos.z
|
Float
|
optional
Z camera position
Param target.pos
|
Vector
|
optional
XYZ target position
Param target.pos.x
|
Float
|
optional
X target position
Param target.pos.y
|
Float
|
optional
Y target position
Param target.pos.z
|
Float
|
optional
Z target position Node Params "TargetCamera Class"
These params are used to set the value of an attribute of the "TargetCamera" class.