TKE_PolyCylinder
Opcode
ASCII |
Q |
Hexadecimal |
51 |
Decimal |
81 |
Operands
count |
number of points defining the polycylinder axis |
points |
|
radius_count |
number of radii associated with the points |
radii |
|
flags |
a bitmask indicating options for the cylinder |
start_orientation |
vector describing the direction of the polycylinder at the start point. Present if the appropriate |
end_orientation |
Vector describing the direction of the polycylinder at the start point. Present if the appropriate |
attributes |
Colors specified at the vertices of the polycylinder. Present if the appropriate |
Notes
A PolyCylinder is a series of cylindrical (or conical) pieces connected in series to resemble pipes or ducts.
Options settings for the polycylinder are as follows.
Flags
0x01 |
Capping disk at the start point is visible |
0x02 |
Capping disk at the end point is visible |
0x04 |
Orientation normal for the start point is specified |
0x08 |
Orientation normal for at the end point is specified |
0x10 |
Attributes (vertex colors) are specified |
PolyCylinders are meant to be rendered according to the resolution set in TKE_Rendering_Options
.
If radius_count
is less then count
, the radii
should be repeated as needed to pair up a radius with each point.
PolyCylinder support was added in HSF format 7.05. End orientations and vertex colors were added in 8.05.