Tuesday, April 16, 2024
HomeSample Page

Sample Page Title


I’m producing terrain round a route. The route already exists. I’m utilizing the Perlin Noise operate applied in Unity to generate terrain tiles that merge seamlessly.
I generate the terrain tiles within the origin layer. From every terrain grid level I shoot a raycast to scan the road. I set the peak values in order that they’re beneath the highway (see image 1 field with out quantity). The terrain due to this fact adapts to the highway

enter image description here

The downside, nonetheless, are roads with an elevation profile. For these, I save the very best highway level inside a terrain tile and add it to the peak worth of the respective tile. This permits me to rearrange the tiles alongside the elevation profile of the highway (picture 2).
Unfortunately, this top offset once more breaks the seamlessly transitioning Perlin Noise. Is there a option to make the tiles merge seamlessly once more after including the offset.

enter image description here

So clearly the tiles surrounding the highway sections with elevation profile will not be imagined to be within the origin airplane, however just like the highway elevation. I hope I’ve defined it moderately effectively.

I’d be very grateful if somebody might give me a touch on the right way to implement my intention. I’ll attempt to illustrate my downside with an image beneath.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments