terrain EXPORT height map error
#6
Ah, I think I may know the reason.

Disable 'normalize' in the height map export settings.

What that's doing is taking all the height values and finding their minimum/maximum and then converting the results into values ranging from 0-1. However, in a tiled setup this can mean that each tile will have a different normalization...one tile's min/max may be 0/50, another tile's min/max may be 2/47...if those mismatched min/max ranges are all converted to 0-1 values, the resulting extrusions/texmaps won't line up exactly.

If you disable that the resulting EXR values will be in real-world scale, but the tiles will line up.

In the future I may add a secondary option to 'normalize across all tiles' or something, so that normalization can be re-enabled but all tiles will be normalized together, preventing inter-tile differences.
  Reply


Messages In This Thread
terrain EXPORT height map error - by dr_ron69 - 03-06-2023, 08:28 PM
RE: terrain EXPORT height map error - by tyFlow - 03-06-2023, 09:28 PM
RE: terrain EXPORT height map error - by dr_ron69 - 03-06-2023, 10:22 PM
RE: terrain EXPORT height map error - by tyFlow - 03-07-2023, 01:00 AM
RE: terrain EXPORT height map error - by dr_ron69 - 03-07-2023, 10:05 AM
RE: terrain EXPORT height map error - by tyFlow - 03-07-2023, 02:13 PM
RE: terrain EXPORT height map error - by tyFlow - 03-07-2023, 03:03 PM
RE: terrain EXPORT height map error - by dr_ron69 - 03-07-2023, 07:23 PM
RE: terrain EXPORT height map error - by tyFlow - 03-07-2023, 07:27 PM
RE: terrain EXPORT height map error - by dr_ron69 - 03-07-2023, 07:42 PM

Forum Jump: