[x3d-public] C:/x3d-code/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter13GeometryTrianglesQuadrilaterals/SummaryIndexedTriangleSets.x3d

John Carlson yottzumm at gmail.com
Tue Sep 5 15:15:54 PDT 2017


   Does anyone see a problem with the index in these two IndexedTriangle sets?

   <Shape>
        <IndexedTriangleStripSet index='9 10 11 12 13 -1 14 15 16 17 -1' solid='false'>
          <Coordinate USE='Points'/>
          <Color USE='Colors'/>
        </IndexedTriangleStripSet>
      </Shape>
      <Shape>
        <IndexedTriangleFanSet index='18 19 20 21 22 23 24 25 26 -1 27 28 29 30 31 32 -1' solid='false'>
          <Coordinate USE='Points'/>
          <Color USE='Colors'/>
        </IndexedTriangleFanSet>


The X3DUOM looks like:

            <field type="MFInt32"
                   accessType="initializeOnly"
                   name="index"
                   minInclusive="0"/>

For all index’es and I’m wondering which is right.  Should this be minItems? Or minInclusive=”-1”? Wondering.
The old JSON schema may have it right, and the generated one is messed up because of the X3DUOM.

Thanks,

John


Sent from Mail for Windows 10

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170905/9a2fe1dc/attachment.html>


More information about the x3d-public mailing list