x


Endless stiched terrain

Hi,
I'm trying to create an endless terrain in Unity. As I walk closer to the edge of the screen I want another mesh to appear, and the player must be able to interact with it. I can place two different meshes for the terrains and enable/disable visibility but I'm not sure how to weld the edges so they look seamless.

Thanks
Sahil

more ▼

asked Jun 11 '11 at 07:36 PM

Sahil Ramani gravatar image

Sahil Ramani
16 8 9 11

(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

You can check out Stitchscape a very nifty tool over at http://www.starscenesoftware.com/Utilities.html#Stitchscape

or have a look here if you want to do all the dirty work yourself

http://forum.unity3d.com/threads/27402-How-to-stitch-terrain

more ▼

answered Jun 11 '11 at 09:14 PM

alexfeature gravatar image

alexfeature
196 3

(comments are locked)
10|3000 characters needed characters left

Anyone have any ideas on this?

Meanwhile, I tried using prefabs to instantiate new terrains, but the prefab seems to be sharing the TerrainData object across all instances. So everytime I instantiate a new terrain object from the prefab, it seems to have all the features of the terrain already in the system.

more ▼

answered Jun 26 '11 at 07:59 PM

Sahil Ramani gravatar image

Sahil Ramani
16 8 9 11

(comments are locked)
10|3000 characters needed characters left

I need to modify the terrain on the fly. I'm assuming the second technique (which looks pretty good in itself) must be the way to go...

Anyone have any other ideas? Also, is there a way of unloading and reloading terrain meshes? However, I also do need to save the state of the terrain so when I come back it's got the new modified terrains.
- Sahil

more ▼

answered Jun 12 '11 at 06:47 AM

Sahil Ramani gravatar image

Sahil Ramani
16 8 9 11

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1469
x11

asked: Jun 11 '11 at 07:36 PM

Seen: 1811 times

Last Updated: Jun 26 '11 at 07:59 PM