查看: 1489|回复: 0
打印 上一主题 下一主题

中英文对照Unity3D脚本参考手册:树木生成器结构

[复制链接]
.    

3797

主题

11

听众

5万

积分

首席设计师

Rank: 8Rank: 8

纳金币
32328
精华
41

活跃会员 优秀版主 荣誉管理 论坛元老

跳转到指定楼层
楼主
发表于 2012-10-8 15:28:03 |只看该作者 |倒序浏览
树木生成器结构 Tree Creator S***cture

The Tree Creator's inspector is split into three different panes: Hierarchy, Editing Tools and Properties.

树的创建者的检查视图被分成三个不同的窗格:层次,编辑工具和属性。

Hierarchy 层级视图

The hierarchy view is where you start building your tree. It shows a schematic representation of the tree, where each box is a group of nodes. By selecting one of the groups in the hierarchy you can modify its properties. You may also add or remove groups by clicking one of the buttons in the toolbar below the hierarchy.

就是你开始建立你的树的层次结构视图。它显示了一个示意图的树,其中每个方块是一组节点。选择在层次结构中的组之一,你可以修改其属性。通过点击其中一个按钮在工具栏下方的层次结构,您还可以添加或删除组。




This hierarchy represents a tree with one ***nk, 25 child branches. Child branches have in total 70 fronds attached, 280 leaves and 25 fronds with branches. Node representing the last group is selected. Also the ***nk has 25 leaves of one type and 15 of another type, the last group is hidden.

这种层次结构树的一个分支,25的子分支。共70叶状附,280叶和25个叶片,用树枝子分支。最后一组的节点被选中。另外树干25一种类型的叶片和15的另一种类型的,最后一组已被隐藏。





Nodes in the tree hierarchy represent groups of elements in the tree itself, i.e. branches, leaves or fronds. There are 5 types of nodes:

树的层次结构中的节点代表一组树中的元素,即枝,叶或叶片。有5种类型的节点:

Root Node: 根节点





This is the starting point of a tree. It determines the global parameters for a tree, such as: quality, seed to diversify the trees, ambient occlusion and some material properties.

这是树的起点。它确定的全局参数的一棵树,如:质量,种子的多样化树木,周围的遮挡和一些材料属性。



Branch Nodes 分支节点





First branch group node attached to the root node creates ***nk(s). The following branch nodes will create child branches. Various shape, growth and breaking parameters can be set on this type of node.

首先分支组节点连接到根节点创建主干。下面的分支节点创建的子分支。各种形态,生长和断裂参数可以设置这种类型的节点。

Leaf Node 树叶节点





Leaves can be attached to a root node (e.g. for small bushes) or to branch nodes. Leaves are final nodes, meaning no other nodes can be attached to them. Various geometry and distribution parameters can be set on this type of a node.

叶片可以附加到根节点(如小灌木)或分支节点。叶最终节点,这意味着没有其他节点可以连接到他们。各种几何形状和分布参数可以设置这种类型的一个节点上。

Frond Node 叶节点





It has a similar behavior as the branch node, with some of the shape properties disabled and frond specific ones added.

它有一个类似的行为作为分支节点,与一些的形状属性禁用并叶状体的特定加入。

Branch + Frond Node 分支+叶节点





This kind of node is a mixture of a branch and a frond, with properties of both types being accessible.

这种节点是分支和藻体的混合物,被访问的两种类型的属性。

Node Parameters 节点参数

Number at the top right of each node represents the number of elements this node created in the tree. The value is related to the frequency parameter from the Distribution tab.
在右上方的每个节点的编号表示的元素在树中创建此节点的数目。该值是由分布"选项卡有关的频率参数。
A node can be visible () or invisible ().
节点是可见的()或无形的()。
If a node was edited manually (branch splines or leaves were manipulated in the Scene View) a warning sign will appear over the node (). In such a case some procedural properties will be disabled.
如果一个节点手动编辑(支花键或树叶被操纵在场景视图中)的警告标志将出现在节点上()。在这样的情况下的一些程序的属性将被禁用。

Editing Tools 编辑工具





While the Tree Creator works with procedural elements, you can decide at any time to modify them by hand to achieve the exact positioning and shape of elements you want.

而树创造者与程序元素的作品,你可以决定在任何时候修改它们用手来实现精确的定位和塑造你想要的元素。

Once you have edited a group by hand, certain procedural properties will no longer be available. You can, however, always revert it to a procedural group by clicking the button displayed in the Branch/Leaf Group Properties.

一旦你用手已经编辑了一组,某些程序的性能将不再可用。 但是,您可以随时恢复到一个程序组,通过点击按钮显示在分支/叶组的属性。





Global Tree Properties 全局树的属性
Every tree has a root node which contains the global properties. This is the least complex group type, but it contains some important properties that control the rendering and generation of the entire tree.

每棵树有一个根节点,其中包含的全局属性。这是最复杂的组类型,但它包含了一些重要的属性,控制整个树的渲染和生殖。

Distribution 分布

Allows for diversifying trees by changing the Tree Seed and making groups of trees by adjusting the Area Spread when the frequency on the branch node connected to the root node is higher than 1.

允许多样化树木通过改变"树种子,使得当连接到根节点上的分支节点的频率是高于1时,通过调节区域传播的树木组的。







Geometry 几何

Allows to set the overall quality of the tree geometry and to control ambient occlusion.

允许设置树的几何形状的总体质量和控制周围的遮挡。







Material 材质

Controls the global material properties of the tree.

控制的全局材质性能的树。



Translucency is one of the effects you can control in the Material properties. That property has an effect on leaves, which are translucent meaning that they permit the light to pass through them, but they diffuse it on the way.

你可以控制材质属性达到半透明的效果。这个属性在树叶有一个半透明的树叶效果,这意味着它们允许光透过,但它们是漫反射的方式。





Branches 分支
This section focuses on explaining the specific Branch Group Properties.

本节重点讲解具体的分支组属性。

Leaves 树叶
This section focuses on explaining the specific Leaf Group Properties.

本节重点讲解具体的叶组属性。

【资料来源网络】
分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏0 支持支持0 反对反对0
回复

使用道具 举报

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

关闭

站长推荐上一条 /1 下一条

手机版|纳金网 ( 闽ICP备08008928号

GMT+8, 2024-4-30 16:54 , Processed in 0.095658 second(s), 33 queries .

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

© 2008-2019 Narkii Inc.

回顶部