x


Is there a way to export a terrain texture.

Hi,

I wonder if there is a way to export a terrain (final) texture. No splatmap. Just the final texture. I created a terrain with unity terrain toolkit, exported the terrains as an obj and Id like to export the final (combined) texture. That way I could bring this "terrain" to unity iphone.

Is there a way?

TIA

more ▼

asked Apr 21 '10 at 11:34 PM

Immersiva gravatar image

Immersiva
12 3 3 5

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

1 answer: sort voted first

You could try taking a screenshot with a camera set to orthographic from overhead, looking straight down on the terrain. There is no direct way, since the "final" texture is generated on the fly based on the splatmap data, and can change every frame depending on the camera position, since the detail textures are replaced by the basemap texture at a given distance from the camera.

more ▼

answered Apr 22 '10 at 12:21 AM

Eric5h5 gravatar image

Eric5h5
80.1k 41 132 519

Hi Eric,

Thanks for your reply.

I was trying to use the undocumented terrain api. I dont use details or trees on the terrain, so I thought it was possible to export just the combined ground texture. That would be enough to have a decent workflow to create terrains for the iphone. The API has information about the splatmap layers, but it seems the terrain engine combine them only at runtime.

Im also googling for how to blend the textures using the splatmap and photoshop.

If you know something about it please let me know.

TIA, R.Silva

Apr 22 '10 at 05:13 AM Immersiva

@Immersiva: Right, there is no combined ground texture...as I mentioned, it's created on the fly from the splatmap. You can't use textures higher than 1024x1024 on the iPhone anyway, so taking a screenshot from an orthographic camera is going to be the easiest way by far.

Apr 22 '10 at 06:46 AM Eric5h5

isn't this basemap then the combined texture ?

May 06 '11 at 01:45 PM Steven 1

@Steven: Sort of. The combined texture would be something like 100000x100000 pixels, depending on the size of the terrain and the tiled size of the terrain textures. The basemap is a really low-res representation of this.

May 06 '11 at 02:38 PM Eric5h5
(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:

x2188
x1999
x1466

asked: Apr 21 '10 at 11:34 PM

Seen: 2712 times

Last Updated: Apr 21 '10 at 11:34 PM