Format
# Micro AVS Geom:2.10
column
Primitive Name
Vertex Data Type (vertex or color)
m (number of subdivisions)
n (number of columns)
direction(1) X(1) Y(1) Z(1) radius(1) height(1) (R(1) G(1) B(1))
direction(2) X(2) Y(2) Z(2) radius(2) height(2) (R(2) G(2) B(2))
.
.
.
direction(m) X(m) Y(n) Z(n) radius(n) height(n) (R(n) G(n) B(n))
The basic primitive type column is specified in the second line.
An arbitrary name is specified in the third line.
In the fourth line, the vertex data type is defined either as vertex or as color. When the vertex data type is color, the R, G, B color values are specified after direction, coordinates of the center of the bottom base, radius, and height for each column.
The number of the subdivisions of the column is specified in the fifth line. A cylinder is approximated as polygonal column. This specified how many quadrilaterals are used for the side surface. When it is lager, the cylinder is more real.
The direction, X, Y, Z coordinates of the center of the base, radius, height (and Red, Green, Blue color values) are defined from the 7th line onwards. The direction is specified from the following values.
0: vertical to the X axis
1: vertical to the Y axis
2: vertical to the Z axis
Example: A column with color(column1.mgf)
# Micro AVS Geom:2.10 column column1 color 64 3 1 0.0 0.0 0.0 1.0 5.0 1.0 0.0 0.0 0 3.0 0.0 0.0 1.3 4.0 1.0 1.0 0.0 2 -3.0 0.0 0.0 0.8 7.0 1.0 0.0 1.0
Example: A column without color(column2.mgf)
# Micro AVS Geom:2.10 column column2 vertex 64 3 0 -3.0 0.0 0.1 3.0 7.0 1 3.0 6.0 0.0 2.0 2.0 2 5.0 10.0 0.3 0.5 9.0
![]() | © 1998-2008 KGT Inc. All rights reserved. |