<div dir="ltr"><div>Hello again,<br><br></div><div>The idea is to present an entire city in 2D with X3D, so I can't do a manual work with Blender because is not feasible.<br></div><div>The solution of adding extra sides as Vincent said it can be easier to develop but is not easy.<br><br></div><div>I only need the footprint to visualize. Textures are not going to be used for now. 2D geometries are supported in X3DOM? Beucase I have to visualize the obtained X3D using X3DOM.<br><br></div><div>Thanks again!<br><br></div><div>Best regards<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-15 16:19 GMT+01:00 Leonard Daly <span dir="ltr"><<a href="mailto:web3d@realism.com" target="_blank">web3d@realism.com</a>></span>:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Cris Lacumba,<br>
      <br>
      There are a lot of ways to construct a polygonal representation of
      a shape. The way you choose depends on what you are going to do
      with the shape, how it needs to be textured, and the tools you
      have available for your development. For IndexedFaceSet all of the
      polygons must be convex (no "L" shaped ones). Most graphic systems
      will convert the IFS to triangles, so if you want detailed
      control, you might want to create your own triangles. This can be
      particularly important if any polygon is a saddle point. Which way
      do you triangulate - top-left to bottom-right or top-right to
      bottom-left.<br>
      <br>
      <br>
      <tt>   -1          +1</tt><tt><br>
      </tt><tt>      +-------+</tt><tt><br>
      </tt><tt>      |</tt><tt>       |</tt><tt><br>
      </tt><tt>      |       |</tt><tt><br>
      </tt><tt>      +-------+</tt><tt><br>
      </tt><tt>    +1        -1</tt><tt><br>
      </tt><br>
      <br>
      You may also wish to look into the 2D shapes (see
      <a href="http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter10-Geometry2D/" target="_blank">http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter10-Geometry2D/</a>). 
      <br>
      <br>
      Vince and Doug have offered two solutions. If neither of these
      works for you, please tell us more how the footprint will be used
      and the tools you have available, other specific solutions can be
      offered.<br>
      <br>
      <br>
      Leonard Daly<br>
      <br>
      <br>
      <br>
    </div>
    <blockquote type="cite"><div><div class="h5">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>Hello to all,<br>
                <br>
              </div>
              I'm trying to represent the 2D footprint of a
              building.However, some of them have patios or holes inside
              the footprint. (see the attachment)<br>
            </div>
          </div>
          How can I represent that using IndexedFaceSet?<br>
          <br>
          Thanks in advance<br>
          <br>
          Best regards<br>
          <br>
        </div>
        Cris <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><span class=""><pre>_______________________________________________
X3D-Public mailing list
<a href="mailto:X3D-Public@web3d.org" target="_blank">X3D-Public@web3d.org</a>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a>
</pre>
    </span></blockquote><span class="HOEnZb"><font color="#888888">
    <br>
    <br>
    <div>-- <br>
      <font color="#333366">
        <font size="+1"><b>Leonard Daly</b></font><br>
        X3D Co-Chair<br>
        Cloud Consultant<br>
        President, Daly Realism - <i>Creating the Future</i>
      </font></div>
  </font></span></div>

<br>_______________________________________________<br>
X3D-Public mailing list<br>
<a href="mailto:X3D-Public@web3d.org">X3D-Public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
<br></blockquote></div></div>