ARTICLE: "game.models.collada""Conversion of COLLADA assets"
"The " { $vocab-link "game.models.collada" } " vocabulary implements words for converting COLLADA assets to data suitable for use with OpenGL. See the COLLADA documentation at " { $url "http://collada.org" } ".";
{ $description "Destructively swizzles the first three elements of the input sequence to a right-handed 3D coordinate system where Y is up and returns the modified sequence." } ;
{ $description "Convert the " { $emphasis "float_array" } " in a " { $emphasis "source tag" } " to a sequence of number sequences according to the element stride. The values are scaled according to " { $emphasis "scale" } " and swizzled from " { $emphasis "up-axis" } " so that the Y coordinate points up." } ;
HELP:source>pair
{ $values { "source-tag" tag } { "pair"pair } }
{ $description "Convert the source tag to an id and number sequence pair." } ;
HELP:mesh>sources
{ $values { "mesh-tag" tag } { "hashtable"pair } }
{ $description "Convert the mesh tag's source elements to a hashtable from id to number sequence." } ;
HELP:mesh>vertices
{ $values { "mesh-tag" tag } { "pair"pair } }
{ $description "Convert the mesh tag's vertices element to a pair for further lookup in " { $link collect-sources } ". " } ;
{ $description "Finds the largest offset in the sequence of " { $link source } " tuples and adds 1, which is the index stride for " { $link group-indices } "." } ;