tyFlow Forum
terrain EXPORT height map error - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: Bugs and Issues (https://forum.tyflow.com/forum-3.html)
+--- Thread: terrain EXPORT height map error (/thread-3551.html)



terrain EXPORT height map error - dr_ron69 - 03-06-2023

Hi 

I'm setting up a terrain using UDIMs, the colour map seems to work correctly, but the heightmap appears to have a seam between the tiles.

iv attached some images for you to look at

cheers

harv

ps the normal map is fine too

   
   


RE: terrain EXPORT height map error - tyFlow - 03-06-2023

Can you post the file?


RE: terrain EXPORT height map error - dr_ron69 - 03-06-2023

(03-06-2023, 09:28 PM)tyFlow Wrote: Can you post the file?

I'll have to post tomorrow now Tyson 

Thanks

Ps, do you want all the maps too?


RE: terrain EXPORT height map error - tyFlow - 03-07-2023

Sure Smile


RE: terrain EXPORT height map error - dr_ron69 - 03-07-2023

Hey Tyson


i can't upload any "7z" or "exr's"  , is that normal?
i tried a ZIP file too, but then it said it was too large lol

iv attached Max file for now  Smile
the flow is disabled currently too

cheers


RE: terrain EXPORT height map error - tyFlow - 03-07-2023

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.


RE: terrain EXPORT height map error - tyFlow - 03-07-2023

Ok, next build will have the fix with the new combined normalization option. Here you can see the before/after:


RE: terrain EXPORT height map error - dr_ron69 - 03-07-2023

great stuff Tyson , is this the same issue as the "banding" from my other post?


RE: terrain EXPORT height map error - tyFlow - 03-07-2023

No, the banding is a separate issue. But it's also fixed in the next build.


RE: terrain EXPORT height map error - dr_ron69 - 03-07-2023

thanks Tyson , much appreciated