Visualization using capVTE - Geometry

back

The geometry files consist mainly of the nodes and elements in a triangular mesh and is in the following format.

VTE 1.4 ASCII

GEOMETRY triangular_mesh

GEOMETRY_COLORS 1

0.55 0.6 0.833 1

GEOMETRY_COLORS_END

NODES 3

1 0 0 1

0 1 0 1

0 0 1 1

NODES_END

CELLS 1

1 2 3

CELLS_END

GEOMETRY_END

In the geometry colors section the 4 numbers range from 0 to 1 and are thus:

Red    Green    Blue    Transparency

It is possible to have as many colors as you wish.

The numbers under nodes are in the following format:

X Position    Y Position    Z Position    Color Number

The numbers under cells refers to the node number.