<div dir="ltr">Im trying to display some extruded buildings as X3D but noticed that the output with concave buildings (U shaped) creates a convex faceset on the top and bottom of the building. This doesn't seem right.<div><br></div><div>When I tesselate first, and therefore go fom polyhedralsurfacez to TIN the output is allright.</div><div>You can try with and without tesselate yourself:</div><div><br></div><div>SELECT ST_AsX3D(ST_Tesselate(ST_Extrude(ST_GeometryFromText('Polygon((0 0, 0 10, 30 10, 30 0, 20 0, 20 5, 10 5, 10 0, 0 0))'),0,0,10)))<br></div><div><br></div><div>For completeness:</div><div><div><X3D></div><div><Scene></div><div>        <Viewpoint orientation='0.2 0 0 0.8' position='-10 -10 100'/> </div><div>        <Background skyColor='1 1 1'/> </div><div>        <Shape></div></div><div><!--PUT YOUR OUTPUT HERE, TESSELATED VERSION ALREADY INCLUDES SHAPE --></div><div><div></Shape></div><div>    </Scene></div><div></X3D></div></div><div><br></div><div>Best, Tom</div></div>