Encoding of nodes
Part 3: Binary encoding

6 Encoding of nodes

--- X3D separator bar ---

cube6.1  Introduction and topics

6.1.1 Introduction

This clause specifies the binary encoding of each node defined in part 1 of ISO/IEC 19775.

6.1.2 Topics

Table 6.1 lists the topics in this clause.

Table 6.1 — Topics in this clause

6.1 Introduction and topics
  6.1.1 Introduction
  6.1.2 Topics

6.2 Methodology

6.3 Intermediary nodes
  6.3.1 Purpose
  6.3.2 CompressedIndexedTriangleStripSet
  6.3.3 CompressedNormalInterpolator

cube6.2 Methodology

Each node and field is assigned a shorthand numeric token to be used in place of its real name. These tokens are specified in Annex A Fast-InfoSet tables.

Updates to the X3D specification shall add new nodes at the end of this list. Element table entries shall reserve ID’s up to 511 for future usage. Attribute table entries shall reserve ID’s up to 1023 for future usage.

cube6.3 Intermediary nodes

6.3.1 Purpose

Certain compression methods require an intermediary representation that deviates from the nodes definition in the abstract specification. These nodes are defined here. They are not valid nodes for usage in any other encoding.

6.3.2 CompressedIndexedTriangleStripSet

This node encodes the output of a compressed triangle mesh using the compression schem specified in Appendix B of 2.[Java3DAPI]. When decompressed, this node creates an IndexedTriangleStripSet node.

<CompressedIndexedTriangleStripSet    
DEF=""
USE=""
data="" 
containerField="geometry" 
>
   
</CompressedIndexedTriangleStripSet>
ID
IDREF
MFInt32 
NMTOKEN 


[initializeOnly]
[initializeOnly]

6.3.3 CompressedNormalInterpolator

This node is used to represent the output of a normal interpolator compressed using the compression schem specified in Appendix B of 2.[Java3DAPI]. When decompressed, this node creates a NormalInterpolator node.

<CompressedNormalInterpolator    
DEF=""
USE=""
data="" 
containerField="children" 
>
   
</Compressed>
ID
IDREF
MFInt32 
NMTOKEN 


[initializeOnly]
[initializeOnly]

--- X3D separator bar ---