ABSTRACT

This chapter explains how to assemble geometry in COLLADA. The data model for COLLADA geometry is a stream-processing model [38] in which data sources are assembled into data sinks. In COLLADA, the data sinks are <mesh> elements, and the data sources are, oddly enough, <source> elements. A coherent data set is contained within a <geometry> element. Assembling the data streams into a geometry mesh involves several elements, including <float_array>, <int_array>, <accessor>, <source>, <mesh>, and <input> . These elements are used as data-stream building blocks within the <geometry> element.