<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Cris,<br>
<br>
There is an Open Geospatial Consortium (OGC) working on a
definition for work with cities and buildings called CityGML
(<a class="moz-txt-link-freetext" href="http://www.opengeospatial.org/standards/citygml">http://www.opengeospatial.org/standards/citygml</a>). The Web3D
Consortium has a liaison relationship with them. They may have
worked on a lot of what you are trying to do. There are other
groups within OGC that may also provide useful information. The
Web3D Consortium is sponsoring a city modeling competition. The
details are at
<a class="moz-txt-link-freetext" href="http://www.web3d.org/competition/city-modeling-2015">http://www.web3d.org/competition/city-modeling-2015</a>.<br>
<br>
X3DOM V1.3 started to include 2D geometry nodes. I do not know
their current state. The current node list is at
<a class="moz-txt-link-freetext" href="http://doc.x3dom.org/author/nodes.html">http://doc.x3dom.org/author/nodes.html</a>. See
<a class="moz-txt-link-freetext" href="http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter10-Geometry2D/">http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter10-Geometry2D/</a>
for examples in X3D of all of the 2D nodes see
<a class="moz-txt-link-freetext" href="http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter10-Geometry2D/">http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter10-Geometry2D/</a>.<br>
<br>
<br>
Leonard Daly<br>
Co-Chair, X3D WG<br>
<br>
<br>
</div>
<blockquote
cite="mid:CAF3UkD5Md_3Z3kryy9UNpHDtR8RxxxtFJvPfR1eL5QCBb_Uifg@mail.gmail.com"
type="cite">
<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 moz-do-not-send="true"
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
moz-do-not-send="true"
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 moz-do-not-send="true" href="mailto:X3D-Public@web3d.org" target="_blank">X3D-Public@web3d.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" href="mailto:X3D-Public@web3d.org">X3D-Public@web3d.org</a><br>
<a moz-do-not-send="true"
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>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<font class="tahoma,arial,helvetica san serif" 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>
</body>
</html>