Download Amazon VERSION 2.0V1 User guide

Transcript
APPENDIX D STANDARD ATTRIBUTES | LOCATION TYPE CONVENTIONS
Location Type or Attribute
Type
Description
geometry.numVertices
float[ ]
The number of vertices in each curve.
The following XML is from a Scene Graph
that creates 3 linear curves with 3
segments:
<attr type="GroupAttr"
inheritChildren="false">
<attr type="IntAttr"
name="degree" tupleSize="1">
<sample value="1 " size="1"
time="0"/>
</attr>
<attr type="FloatAttr"
name="knots" tupleSize="1">
<sample value="0.0 " size="1"
time="0"/>
</attr>
<attr type="IntAttr"
name="numVertices"
tupleSize="1">
<sample value="4 4 4 " size="3"
time="0"/>
</attr>
<attr type="GroupAttr"
name="point"
inheritChildren="false">
<attr type="FloatAttr" name="P"
tupleSize="3">
<sample value=" 0.2 0 5 -2.8 0
2.0 0.5 0 1.0 -0.3 0
-1.5 1.8 0 4.9 -0.4 0 2.2 2.5 0
1.0 1.6 0 -1.4 3.8 0 4.9 1.6 0
2.2 4.5 0 1.0 3.6 0 -1.4 "
size="36" time="0"/>
</attr>
</attr>
</attr>
The numVertices list defines the index
ranges of the knots used by each curve.
253
Related documents
Amazon VERSION 2.0V1 User guide
Amazon VERSION 2.0V1 User guide
Katana 1.1v4 User Guide
Katana 1.1v4 User Guide