Results 1 to 3 of 3

Thread: Rules for and limits of triangles inputs.

  1. #1
    Junior Member
    Join Date
    Sep 2010
    Posts
    2

    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....

    Code :
    <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.

  2. #2
    Senior Member
    Join Date
    Aug 2004
    Location
    California
    Posts
    771

    Re: Rules for and limits of triangles inputs.

    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.

  3. #3
    Junior Member
    Join Date
    Sep 2010
    Posts
    2

    Re: Rules for and limits of triangles inputs.

    Thanks Mark....that is most excellent.

    I like simple rules.

    Looks like a little schema diving is in order.

    Cheers,

    Rusty.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •