查看: 4062|回复: 2
打印 上一主题 下一主题

[模型插件] Custom Tree Importer 2.01 - 外部树木导入与转换的专用插件

[复制链接]

9903

主题

126

听众

7万

积分

首席设计师

Rank: 8Rank: 8

纳金币
53488
精华
316

最佳新人 热心会员 灌水之王 活跃会员 突出贡献 荣誉管理 论坛元老

跳转到指定楼层
楼主
发表于 2015-11-26 14:39:16 |只看该作者 |倒序浏览

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.



游客,本帖隐藏的内容需要积分高于 30 才可浏览,您当前积分为 0

分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏0 支持支持0 反对反对0
回复

使用道具 举报

0

主题

0

听众

1802

积分

助理设计师

Rank: 4

纳金币
14
精华
0
沙发
发表于 2016-9-5 17:30:43 |只看该作者
感谢分享
回复

使用道具 举报

1

主题

8

听众

1419

积分

助理设计师

Rank: 4

纳金币
33
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

板凳
发表于 2020-6-16 21:00:24 |只看该作者
感谢分享~~~~
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

手机版|纳金网 ( 闽ICP备2021016425号-2/3

GMT+8, 2024-11-26 17:43 , Processed in 0.105877 second(s), 30 queries .

Powered by Discuz!-创意设计 X2.5

© 2008-2019 Narkii Inc.

回顶部