Hello everybody :-)
I'm trying to use ExtrudeShape for creating a building shape and am having trouble with the cap. I understand that the cap is not tessellated (triangulated) so it would be faster. But when I have concave angles in the shape, it doesn't look good.
I also tried using Ribbon for the roof polygon somehow, but the tessellation doesn't happen here either of course.
Here is my code:
http://www.babylonjs-playground.com/#1KQZAF#0
I tried using PolygonMeshBuilder but the mesh is rotated the way I don't want it to and some walls keep dissapearing depending on the angle of view:
http://www.babylonjs-playground.com/#SJLOW#1
I don't need the mesh to be updated so the speed of tessellation doesn't bother me much.
What am I doing wrong? What can I do to have a tessellated building?
Thanks :-)