werner.poetzelberger Posted June 11, 2013 Share Posted June 11, 2013 Hello. I am creating 4 terrains out of a 32K texture, which I split into 4 16K textures. The Terrain is 16K, 0.25 step size. The issue here is, that they are not matching. Please see image. I am saving the height maps in a .PSD format (Multichannel, 16 bit) which give generally good results. It does not seem, that there is a problem with the height-maps (seams) as they come from a single texture, without compression in the image. The difference is not that much (less than 1 step). But in fact this phenomenon I have at all the 4 seams. I already tried double precision, but this didnt help either. Do you have any ideas? Thank you very much. Best. werner Link to comment
ulf.schroeter Posted June 11, 2013 Share Posted June 11, 2013 The height map textures must have a 1 unit overlap with exact same height values. By just splitting 32K texture into 2x 16K textures there is NO overlap and so the heigt values of adjacent ObjectTerrain height maps are not the same. Link to comment
werner.poetzelberger Posted June 11, 2013 Author Share Posted June 11, 2013 Ulf .... thank you! This saved a lot of experimenting time! Cheers Werner Link to comment
werner.poetzelberger Posted June 11, 2013 Author Share Posted June 11, 2013 Is there a similar rule for the DT as well? I am getting seems there as well. best.w. Link to comment
ulf.schroeter Posted June 11, 2013 Share Posted June 11, 2013 yes, there also should be exactly the same color information on adjacent object edges. Link to comment
werner.poetzelberger Posted June 11, 2013 Author Share Posted June 11, 2013 So Ulf, how do I do that? Do I take a power of two texture size and overlap it the way I do it with the height map? I cant (in theory) not make a po2+1 diffuse texture. Or do I (as I would, if mapping normal objects lying side by side) just cut a texture exactly in the middle? Link to comment
ulf.schroeter Posted June 11, 2013 Share Posted June 11, 2013 Copy a pow2+1 pixel texture part and then scale it down to pow2 dimensions https://developer.unigine.com/forum/topic/1077-solved-terrain-streaming/?p=5506 Link to comment
werner.poetzelberger Posted June 12, 2013 Author Share Posted June 12, 2013 Hmm interesting. I am fighting with the DT seams. I will see. None of the tried techniques gave a pleasing result. It seems, that they don't match that well together. Its always interesting which things come up. b.w. Link to comment
pascal.winistoerfer Posted August 26, 2013 Share Posted August 26, 2013 werner, did you get any results yet? would be interesting how you solved it. i'm using worldmachine. cheers pascal Link to comment
Recommended Posts