纳金网

标题: Custom Tree Importer 2.01 - 外部树木导入与转换的专用插件 [打印本页]

作者: 烟雨    时间: 2015-11-26 14:39
标题: Custom Tree Importer 2.01 - 外部树木导入与转换的专用插件

Snap18.jpg

eb502d8a-7d5d-4575-86d2-3676aae44b75_scaled.jpg

e4a4df19-d775-4a8d-9e9d-dead6b298925_scaled.jpg

a22a9b0d-99ac-4bf2-8137-240b25b12785_scaled.jpg

9e69bf99-c955-471f-9fcf-efee128c3c96_scaled.jpg

Requires Unity 4.5.2 or higher.

简单来说就是将3D软件制作的树木模型转换为Unity内建的Tree Creator格式,好处是什么? 试过就知道啦!

Benefits
Import manually modeled trees from Maya, 3ds Max, Modo or Blender and let them get adjusted to be compatible with unity's advanced tree creator shaders and directional and radial wind zones on the fly.
Benefit from the features of the tree creator shaders such as bark and leafs casting and receiving real time shadows, translucency or specular lighting and add your trees using the terrain engine or place them as independent game objects.
The latest version of the custom tree importer brings advanced leaf tumbling (Unity 5 only) and ships with custom tree shaders giving you much nicer bending compared to the built in ones (shaders need Shader Model 3.0).

Requirements
Please do not expect the custom tree importer to simply make any tree just work: You will have to spend some time tweaking your model.
First and foremost the custom tree importer needs trees to be imported as nested, hierarchical objects.
You also should be quite familiar with your 3d app and do have a basic understanding of the tree creator and things like "main wind", "main turbulence" and "edge turbulence".

The custom tree importer script works as asset postprocessor. It combines all submeshes into one and adds the needed vertex colors and uv2.
Bending is fully controllable on each level of the tree.

Hierarchical setup of the tree
In order to be able to calculate main wind and main turbulence for the trunk, the branches and leaf planes the importer script has to know about the different parts of the tree and their origins.
For this reason you will have to provide trees as nested, hierarchical objects like shown on the screen shots below.

Adjust bending
Adjust bending on each level of your tree using control tags which let you specify its reaction to main wind, main and edge turbulence to create convincing and lively bending trees.

Advanced rendering
Trees imported using the custom tree importer are fully compatible with the built in tree creator shaders and also any tree shader based on those like the AFS tree and billboard shaders, Skyshop or Lux.





作者: 温顺小绵羊    时间: 2016-9-5 17:30
感谢分享
作者: 342391201    时间: 2020-6-16 21:00
感谢分享~~~~




欢迎光临 纳金网 (http://www.narkii.com/club/) Powered by Discuz! X2.5