klepto2 Posted August 15 Share Posted August 15 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. 1 Quote Windows 10 Pro 64-Bit-Version NVIDIA Geforce 1080 TI Link to comment Share on other sites More sharing options...
Josh Posted October 29 Share Posted October 29 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. Quote 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 More sharing options...
klepto2 Posted October 30 Author Share Posted October 30 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. Maybe these values should be set to a default range of min= 0 and max = 100. Quote Windows 10 Pro 64-Bit-Version NVIDIA Geforce 1080 TI Link to comment Share on other sites More sharing options...
Josh Posted October 30 Share Posted October 30 Is there a semi standard text file that gets exported with heightmaps? Quote 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 More sharing options...
klepto2 Posted October 30 Author Share Posted October 30 not that i am aware of. I mainly see the info included in the description or depending on the editor in the project files of the used editor. Quote Windows 10 Pro 64-Bit-Version NVIDIA Geforce 1080 TI Link to comment Share on other sites More sharing options...
Recommended Posts
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.