标题: [Unity 组件参考手册]桌面:地形引擎指南之草 [打印本页] 作者: . 时间: 2013-2-16 21:27 标题: [Unity 组件参考手册]桌面:地形引擎指南之草 The Paint Foliage button allows you to paint grass, rocks, or other decorations around the Terrain. To paint grass, choose Edit Details button->Add Grass Texture. You don't need to create a mesh for grass, just a texture.这个按钮可以让你画草、石头或其他地面上的装饰物。可以选择Edit Details button->Add Grass Texture去画草。你不用创建1个草的模型,只是1张贴图。
The Add Grass Texture dialog 添加草贴图对话框At this dialog, you can fine-tune the appearance of the grass with the following options:在这个窗口,你可以用以下选项调整草的属性: Detail Texture 细节贴图
The texture to be used for the grass.
草的贴图
Min Width 最小宽度
Minimum width of each grass section in meters.
草的最小宽度值(米)
Max Width 最大宽度
Maximum width of each grass section in meters.
草的最大宽度值(米)
Min Height 最小高度
Minimum height of each grass section in meters.
草的最小高度(米)
Max Height 最大高度
Maximum height of each grass section in meters.
草的最大高度(米)
Noise Spread 噪波范围
The size of noise-generated clusters of grass. Lower numbers mean less noise.
草的噪波产生簇大小。越低的值意味着噪波越低。
Healthy Color 健康颜色
Color of healthy grass, prominent in the center of Noise Spread clusters.
健康颜色的草,在噪波中心非常显著
Dry Color 干燥颜色
Color of dry grass, prominent on the outer edges of Noise Spread clusters.
干燥的草的颜色,在噪波边缘非常显著
Grayscale Lighting 灰度光照
If enabled, grass textures will not be tinted by any colored light shining on the Terrain.
如果开启,草贴图将不会被灯光着色
Lightmap Factor 光照贴图系数
How much the grass will be influenced by the Lightmap.
草被光照贴图影响的程度
Billboard 广告牌
If checked, this grass will always rotate to face the main Camera.
如果选中,草将随着摄像机一起转动,面朝主摄像机 After you've clicked the Add button, you'll see the grass appear selectable in the Inspector.在你点击添加按钮之后,你将看到草可选的出现在检视面板上。
The added grass appears in the Inspector
点击添加按钮,草出现在检视面板上
【Painting Grass 画草】Painting grass works the same as painting textures or trees. Select the grass you want to paint, and paint right onto the Terrain in the Scene View画草跟画贴图和画树是一样的。选择你想要的草去画,那么画的将反应在场景视图上面。
Painting grass is easy as pie 画草是易如反掌Note:When you have a ***sh selected, move your mouse over the Terrain in the Scene View and press F. This will center the Scene View over the mouse pointer position and automatically zoom in to the ***sh Size distance. This is the quickest & easiest way to navigate around your Terrain while creating it.注意:当你选一个刷子后,在地形上移动你的鼠标,按F。它将使场景视图定位在鼠标指针中心位置,随距离自动缩放刷子大小。这是一种最快最简洁的导航方法。
【Editing Grass 编辑草】To change any import parameters for a particular Grass Texture, select it choose Edit Details button->Edit. You can also double-click it. You will then see the Edit Grass dialog appear, and be able to adjust the parameters described above.要想更改特定草贴图的导入属性,选择Edit Details button->Edit,你也可以双击它,然后在上面调节参数。You'll find that changing a few parameters can make a world of difference. Even changing the Max/Min Width and Height parameters can vastly change the way the grass looks, even with the same number of grass objects painted on the Terrain.你将找到一些参数去改变它。改变最大最小宽度和高度参数可以改变草的样子,即使草的数量一样。
Grass created with the default parameters 默认参数生成的草
The same number of painted grass objects, now wider and taller
同样数量的草,现在更宽更高
【来源:互联网】
更多精彩教程,尽在web3D纳金网http://www.narkii.com/college/