[X3D-Public] 2D footprint with holes in X3D
Cris Lacumba
cris.lacumba at gmail.com
Mon Dec 15 22:43:51 PST 2014
Hello again,
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.
The solution of adding extra sides as Vincent said it can be easier to
develop but is not easy.
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.
Thanks again!
Best regards
2014-12-15 16:19 GMT+01:00 Leonard Daly <web3d at realism.com>:
>
> Cris Lacumba,
>
> 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.
>
>
> -1 +1
> +-------+
> | |
> | |
> +-------+
> +1 -1
>
>
> You may also wish to look into the 2D shapes (see
> http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter10-Geometry2D/).
>
> 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.
>
>
> Leonard Daly
>
>
>
> Hello to all,
>
> 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)
> How can I represent that using IndexedFaceSet?
>
> Thanks in advance
>
> Best regards
>
> Cris
>
>
> _______________________________________________
> X3D-Public mailing listX3D-Public at web3d.orghttp://web3d.org/mailman/listinfo/x3d-public_web3d.org
>
>
>
> --
> *Leonard Daly*
> X3D Co-Chair
> Cloud Consultant
> President, Daly Realism - *Creating the Future*
>
> _______________________________________________
> X3D-Public mailing list
> X3D-Public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20141216/f508bb23/attachment.html>
More information about the X3D-Public
mailing list