Heightmap sharp descent issue

asked 2021-10-04 02:10:19 -0500

oguzhanaknc gravatar image

updated 2021-10-05 00:35:53 -0500

Hi, am getting an error as in the screenshots while creating the heightmap. I've been dealing with this problem for days but couldn't solve it. My tif file and codes are available below

https://i.hizliresim.com/s6ctkpq.png

There is a sharp descent in part of the elevation map, and that area is flat.

My tif file is as below

https://i.hizliresim.com/tuhlwq3.png

My World file :

<sdf version="1.5"> <world name="default"> <include>

  <uri>model://sun</uri>
</include>
<model name="heightmap">
  <static>true</static>
  <link name="link">
    <collision name="collision">
      <geometry>
        <heightmap>
          <uri>model://media/dem/kmz_to_shp_ge.tif</uri>
          <size>7000 7000 1065</size>
          <pos>0 0 0</pos>
        </heightmap>
      </geometry>
    </collision>
    <visual name="visual_heightmap">      
      <geometry>
        <heightmap>
          <texture>
            <diffuse>model://media/dem/rendered.jpeg</diffuse>
            <normal>model://media/dem/rendered.jpeg</normal>
            <size>7000 7000 1065</size>
          </texture>      
          <uri>model://media/dem/kmz_to_shp_ge.tif</uri>
          <size>7000 7000 1065</size>
          <pos>0 0 0 </pos>
        </heightmap>
      </geometry>
    </visual>
  </link>
</model>

</world> </sdf>

edit retag flag offensive close merge delete