Jump to content

Terrain creation inconsistant


klepto2
 Share

Recommended Posts

If you create a Terrain in the Editor and load a heightmap, the heightfield is generated much to small. It seems, that the imported map is scaled between 0 and 1. Like in Leadwerks i would expect, that if a terrain scale of 100 is set, the imported heightfield should be in the range of 0 to 100. 

Currently this means, that if you import a heightmap you need to set the scale to 6000 or higher to actually view the heights. When you save those maps and reopen them, the height is correct but the scale is back at 100 again.

  • Thanks 1
  • Windows 10 Pro 64-Bit-Version
  • NVIDIA Geforce 1080 TI
Link to comment
Share on other sites

  • 2 months later...

I am not sure what the right solution here is. In Ultra I used 16-bit half floats for the terrain heightmap pixel format. Raw image files are usually stored in 16-bit unsigned integers, 32-bit unsigned integers, or 32-bit floats. For the unsigned integer formats, I have to know the desired vertical scale of the loaded terrain, and that information is not included in the raw heightmap.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Maybe for import of heightmaps, ask for the minimum and maximum height in meters. This info comes with most terrain generators and also allows the calculation of "below sea level" (< 0) positions. 

  • Windows 10 Pro 64-Bit-Version
  • NVIDIA Geforce 1080 TI
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...