x


How do I export a tree or detail object from my 3d App for use with the terrain engine?

I have tree and object(rock or flower) model in a MAYA file.

How can I export for unity terrain?

some one have video tutorial please give to me

thankyou

more ▼

asked Mar 10 '10 at 11:59 AM

psy gravatar image

psy
101 14 16 16

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

1 answer: sort newest

You'll need to export your tree as an FBX file, but there are further important requirements that you need to stick to in order to have the terrain engine accept and use your tree correctly.

See this manual page, which gives a lot of detail about using trees with Unity's Terrain engine:

http://unity3d.com/support/documentation/Components/terrain-Trees.html

Specifically (near the bottom) it says:

Every tree should consist of a single mesh with two Materials. One for the trunk and one for the leaves. For performance reasons, triangle count should be kept below 2000 for an average tree. The fewer triangles the better. The pivot point of the tree mesh must be exactly at the root of the tree, that is at the point where the tree should meet the surface it is placed on. This makes it the easiest to import into Unity and other modelling applications.

Trees must use the Nature/Soft Occlusion Leaves and Nature/Soft Occlusion Bark shader. In order to use those shaders you also have to place the tree in a special folder that contains the name "Ambient-Occlusion". When you place a model in that folder and reimport it, Unity will calculate soft ambient occlusion specialized for trees. The "Nature/Soft Occlusion" shaders need this information. If you don't follow the naming conventions the tree will look weird with completely black parts.

Hope this helps!

more ▼

answered Mar 10 '10 at 12:13 PM

duck gravatar image

duck ♦♦
41k 92 148 415

(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:

x1478
x351
x229
x57
x27

asked: Mar 10 '10 at 11:59 AM

Seen: 1922 times

Last Updated: Mar 10 '10 at 12:16 PM