<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Thanks, but again, this is for Interchange, not so much Runtime.<br>
    Maybe a proto would be best, assuming the reader can do protos.<br>
    Actually, I'll just store META data to aid translation.<br>
    I still think a new Node type would be better.<br>
    Also, for interchange, a more semantic way to specify simple shader
    types like Bump, Bump Specular, etc. would be great. Otherwise, the
    reader needs to do some AI to figure out what the intent was.<br>
    <br>
    Cheers<br>
    <br>
    Dave A <br>
    <br>
    <div class="moz-cite-prefix">On 2/3/2013 11:13 PM, Cecile Muller
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAO=4Q_TVW7nswKQLB=wSUczbWaQrHSr+87HLuc3bvE7Chgj6UA@mail.gmail.com"
      type="cite">Hi Dave,
      <div><br>
      </div>
      <div><br>
      </div>
      <div>
        <div>Your second idea is indeed correct: DEF the Coordinate node
          in the first Shape and USE it </div>
        <div>in the other Shape, that way you can have a difference
          Appearance for each submesh.</div>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>
        <div>For example:</div>
        <div><br>
        </div>
        <div>#X3D V3.0 utf8</div>
        <div><br>
        </div>
        <div>Shape {</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>appearance
          Appearance {</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>material
          Material {</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>emissiveColor
          0 1 0</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>}</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>}</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>geometry
          IndexedFaceSet<span class="Apple-tab-span"
            style="white-space:pre"> </span>{</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>coord
          DEF all_coord Coordinate {</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>point
          [-1 0 0, 0 0 0, 1 0 0, 0 1 0]</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>}</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>coordIndex
          [0 1 3 0 -1]</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>}</div>
        <div>}</div>
        <div><br>
        </div>
        <div>Shape {</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>appearance
          Appearance {</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>material
          Material {</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>emissiveColor
          0 0 1</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>}</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>}</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>geometry
          IndexedFaceSet<span class="Apple-tab-span"
            style="white-space:pre"> </span>{</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>coord
          USE all_coord</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>coordIndex
          [1 2 3 1 -1]</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>}</div>
        <div>}</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>If it's cumbersome, you could have a Script that creates
          the Shape nodes</div>
        <div>wrapped in a PROTO to have a more friendly interface.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        See you,</div>
      <div>Cecile</div>
      <div><br>
        <div class="gmail_quote">2013/2/1 Dave A <span dir="ltr"><<a
              moz-do-not-send="true"
              href="mailto:dave@realmofconcepts.com" target="_blank">dave@realmofconcepts.com</a>></span><br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            Hey all,<br>
            <br>
            Been a while since I parsed the spec, but is there support
            for submeshes?<br>
            You know, where one set of vertices is shared by different
            poly or triangle lists, and each of those lists<br>
            corresponds to a different Appearance?<br>
            <br>
            Or would I have to create a Group under which I would put
            Shapes, with the first Shape's geometry containing the
            coordinate list (and first submesh's indices),<br>
            then subsequent Shapes would USE that coordinate list,
            providing their own indices (and Appearances of course)?<br>
            <br>
            Cheers<br>
            <br>
            Dave A.</blockquote>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
X3D-Public mailing list
<a class="moz-txt-link-abbreviated" href="mailto:X3D-Public@web3d.org">X3D-Public@web3d.org</a>
<a class="moz-txt-link-freetext" href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a>
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <p class="" avgcert""="" color="#000000" align="left">No virus
        found in this message.<br>
        Checked by AVG - <a moz-do-not-send="true"
          href="http://www.avg.com">www.avg.com</a><br>
        Version: 2013.0.2897 / Virus Database: 2639/6070 - Release Date:
        01/31/13</p>
    </blockquote>
    <br>
  </body>
</html>