Rules for and limits of triangles inputs.

I’m trying to normalize a geometry.mesh.triangles object and I can’t seem to find a spec on the rules and/or limits for triangle inputs. Here is a snip for context…

<triangles material="material_4" count="12">
  <input semantic="VERTEX" source="#Object_1-vertices" offset="0"/>
  <input semantic="NORMAL" source="#Object_1-normals" offset="1"/>
  <input semantic="TEXCOORD" source="#Object_1-uvs" offset="2" set="0"/>
  

0 0 0 1 1 1 2 2 2 </p>
</triangles>

Can offset ever be greater than 2 ?..If so, is there a limit ?

I’ve been over the spec and can’t seem to find information on the limits of types …where might I find such information in the future ?

Thanks,
Rusty.

The “rules” are part of the schema and the data types used for those attributes.

“offset” is an xs:unsignedLong which is a 64 bit unsigned integer. There is no practical limit on the number of inputs in a document.

Thanks Mark…that is most excellent.

I like simple rules.

Looks like a little schema diving is in order.

Cheers,

Rusty.