<div>Hi all,</div><div><br></div><div>I'm generating the Digital Terrain Model in X3D.</div><div>I also have some buildings that have to be placed just above of the DTM.</div><div><br></div><div>However, I get a different result (see attached picture)</div>
<div><br></div><div>I think the error is inside the DTM.</div><div>I'm using the ElevationGrid to get this.</div><div><br></div><div><?xml version="1.0" encoding="UTF-8" standalone="no"?><X3D xmlns="<a href="http://www.web3d.org/specifications/x3d-namespace">http://www.web3d.org/specifications/x3d-namespace</a>" height="400px" id="the-x3d-element" showLog="true" showProgress="bar" showStat="true" width="400px" x="0px" y="0px"></div>
<div><Scene id="root"></div><div><Transform translation="-2171.0 3193.0 0"></div><div><Shape><Appearance><Material/><ImageTexture url="mdt.jpg"/></Appearance></div>
<div><ElevationGrid height="-0.26098633 0.5960083 1.7449951 ........" solid="false" xDimension="174" xSpacing="25.0" zDimension="334" zSpacing="25.0"/></div>
<div></Shape></Transform></Scene></X3D></div><div><br></div><div>Buildings are generated in following way:</div><div><?xml version="1.0" encoding="UTF-8" standalone="no"?><X3D xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" profile="Immersive" version="3.3" xsd:noNamespaceSchemaLocation="<a href="http://www.web3d.org/specifications/x3d-3.3.xsd">http://www.web3d.org/specifications/x3d-3.3.xsd</a>"><Scene><Shape><Appearance><Material diffuseColor="1 1 1"/></Appearance><IndexedFaceSet convex="false" coordIndex="0 1 2 3 4 -1 5 6 7 8 9 -1 10 11 12 13 14 -1 15 16 17 18 19 -1 20 21 22 23 24 -1 "><Coordinate point="-171.59 -9.0 1.6 -171.59 -9.0 8.04 -172.34 -6.0 8.04 -172.34 -6.0 1.6 -171.59 -9.0 1.6 -171.59 -9.0 2.42 -171.59 -9.0 8.04 -171.59 -9.0 8.04 -171.59 -9.0 2.42 -171.59 -9.0 2.42 -160.12 -6.5 -0.61 -160.12 -6.5 8.04 -171.59 -9.0 8.04 -171.59 -9.0 -0.61 -160.12 -6.5 -0.61 -161.16 -3.5 -0.63 -161.16 -3.5 8.04 -160.12 -6.5 8.04 -160.12 -6.5 -0.63 -161.16 -3.5 -0.63 -172.34 -6.0 1.6 -172.34 -6.0 8.04 -161.16 -3.5 8.04 -161.16 -3.5 1.6 -172.34 -6.0 1.6 "/></IndexedFaceSet></Shape></Scene></X3D></div>
<div><br></div><div><br></div><div><br></div><div>It seems like axes were changed.</div><div><br></div><div>Some idea?</div><div><br></div><div>Thanks in advance</div><div><br></div><div>Best regards</div><div><br></div>-- <br>
<div>Iņaki Prieto Furundarena</div><br>