terrain EXPORT height map error
#1
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

   
   
  Reply
#2
Can you post the file?
  Reply
#3
(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?
  Reply
#4
Sure Smile
  Reply
#5
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


Attached Files
.max   for-tyson-udims.max (Size: 1.02 MB / Downloads: 43)
  Reply
#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
#7
Ok, next build will have the fix with the new combined normalization option. Here you can see the before/after:


Attached Files Thumbnail(s)
       
  Reply
#8
great stuff Tyson , is this the same issue as the "banding" from my other post?
  Reply
#9
No, the banding is a separate issue. But it's also fixed in the next build.
  Reply
#10
thanks Tyson , much appreciated
  Reply


Forum Jump: