Component Prototype

Description

Geometry 3ds Component

 

3ds Geometry loader component. This component loads a set of 3ds geometry models into the scene. The number of models is defined as a component property. Each model represents a node into the SceneGraph, all of the nodes are grouped into a Group. Each Node has an associated Transformation, this Transformation represents the offset of each model relative to the Group reference co-ordinate system. The absolute offset of the Scene to be loaded is defined by the offset property. The component is loaded in the position given by the outTransformation matrix and is visible only when the "visible" slot is set to true.

In-slots

Name

Type

Description

visible***

Boolean

The component is shown when true and hidden when false.

transformation***

Matrix

This transformation matrix is applied to the component geometry when shown

id

Integer

Id of the model (model that can change at run time)

nodeTransformation

Matrix

Transformation matrix of the model. It can change because the value can change at run time.

Out-slots

Name

Type

Description

visible***

Boolean

The in-slot is propagated to the out-slot

transformation***

Matrix

This transformation matrix corresponds to the output transformation, which combines input transformation with the offset.

Properties

Name

Type

Description

General

iconFileName*

String

The filename of the icon shown for the component in the authoring environment.

offset***

Matrix

The offset transformation matrix between the transformation given by the in-slot and the geometry model

numElements

Integer

Number of geometry nodes, which represent the component.

Particular

RelOffset

Matrix

The relative offset of each element with respect to the absolute coordinate system of the whole 3D model.

occluder

Boolean

True when the geometry is an occluder and false otherwise

occluderNodeFile

String

Filename of the occluder geometry

displayNodeFile

String

Filename of the display geometry