x


How are trees and detail meshes placed on the terrain?

If I need a splatmap(RGBA) for terrain texture painting, how can I access terrain tree's splatmap(if exist) or how can I place them procedurally based on a cliff/flow map? There's no documentation at all... Please could someone of the UT answer me?

more ▼

asked Jul 24 '12 at 05:51 PM

cod gravatar image

cod
7 1 4 11

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

1 answer: sort voted first

In the documentation, check out the TerrainData functions. There are functions to get and set the tree, texture, and detail data. Unfortunately, the documentation is extremely limited. Good luck :)

more ▼

answered Jul 24 '12 at 07:01 PM

jc_lvngstn gravatar image

jc_lvngstn
451 24 29 40

Unity is really a shit in terms of terrain documentation and the funny thing is that terrain is the base for creating every game -.-

Jul 24 '12 at 08:27 PM cod

I've got some code at home that does all this, let me see what I can scratch up.

Jul 25 '12 at 01:08 PM jc_lvngstn
(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:

x1477
x57
x28
x22

asked: Jul 24 '12 at 05:51 PM

Seen: 269 times

Last Updated: Jul 25 '12 at 01:08 PM