Jump to content

[SOLVED] Weird Terrain Jumps


photo

Recommended Posts

Posted

Hello,

 

Following situation:

 

I have created 5 terrains like seen in the image.

 

I disabled the overlapping Surfaces in the 4 outer Terrains, so in the center Terrain 5 is visible on the instead of the surfaces of 1-4.

 

This all worked well so far.

 

Now I created a new Terrain 5 as I want to test different heightmaps.

 

When doing this I get very strange behaviors on the T5 and on the surrounding terrains as well.

 

- The outer Terrain is Jumping in Height while moving the Camera.

 

Please note, that the horizontal gap between T1,T2 and T5 is intended. T1 is jumping DOWN.

 

- The T5 and the outer are doing wild stuff with its LODs when changing the 'Progression' value.

 

Turning back on the previous T5 works well.

 

 

Working on .... I discoverd that this happens, when the 'Height' parameter differs. The original five Terrains I created with the same Height Parameter, the last and new T5 I created with a different one.

 

This is very strange, Is there an explanation for that?

Do I need to take care explicitly on the Height Parameter to be the same?

 

Thx.

Werner

post-767-0-61903600-1372066330_thumb.jpg

post-767-0-62162300-1372066331_thumb.jpg

post-767-0-80671000-1372066332_thumb.jpg

post-767-0-20093700-1372066334_thumb.jpg

Posted

All height values will be stored internally as 15-bit integers and scaled to 'real' float height values by multiplication with maximum height parameter. Therefore texture height map integer value range and terrain height parameter of all objectterrain instances should match.

Posted

By Instances, do you mean all the Terrain objects in one world should have the same Height Value?

 

I understand an Instance as a copy with dependencies to origin objects.

Posted

Does this apply for the stepsize as well or just for the Height Parameter.

 

I am testing with 2 Terrains, one 0.25 the other 0.5 Step. Seems to work fine so far.

 

Best. w.

Posted

Werner,

If terrains are joining then yes, they should have the same Height Value.

And the same applies to the stepsize. If you want to avoid holes at the joints you need to use identical step.

×
×
  • Create New...