Format
# Micro AVS Geom:2.10
circle
Primitive Name
Fill Type (fill or empty)
Vertex Data Type (vertex or color)
m (number of subdivisions)
n (number of circles)
direction(1) X(1) Y(1) Z(1) radius(1) (R(1) G(1) B(1))
direction(2) X(2) Y(2) Z(2) radius(2) (R(2) G(2) B(2))
.
.
.
direction(m) X(m) Y(n) Z(n) radius(n) (R(n) G(n) B(n))
The basic primitive type circle is specified in the second line.
An arbitrary name is specified in the third line.
In the fourth line, the fill type is defined either as fill or as empty. When the fill type is fill, the area inside the circle is surface. When the fill type is empty, the area inside the circle is empty.
In the fifth 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, and radius for each circle.
The number of the subdivisions of the circle is specified in the 6th line. A circle are approximated as line segments. This is the number of the line segments. When it is lager, the circle is more real.
The direction, X, Y, Z coordinates of the center, radius (and Red, Green, Blue color values) are defined from the 8th 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 circle with color and surface (circle1.mgf)
# Micro AVS Geom:2.10 circle circle1 fill color 64 3 0 2.0 0.0 0.4 0.4 1.0 0.0 0.0 1 3.1 0.5 0.0 0.8 0.0 1.0 0.0 2 -0.1 2.1 1.0 1.0 0.0 0.0 1.0
Example: A circle without color or surface (circle2.mgf)
# Micro AVS Geom:2.10 circle circle2 empty vertex 32 3 2 -0.1 -8.1 0.0 1.0 1 0.1 -5.5 8.0 2.0 0 -0.5 0.1 9.0 3.0
![]() | © 1998-2008 KGT Inc. All rights reserved. |