查看: 5336|回复: 1
打印 上一主题 下一主题

[Unity 组件参考手册]桌面:地形引擎指南之纹理

[复制链接]
.    

3797

主题

11

听众

5万

积分

首席设计师

Rank: 8Rank: 8

纳金币
32328
精华
41

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

跳转到指定楼层
楼主
发表于 2013-2-16 20:21:44 |只看该作者 |倒序浏览
DesktopDecorate the landscape of your terrain by tiling Terrain Textures across the entire terrain. You can blend and combine Terrain Textures to make smooth transitions from one map to another, or to keep the surroundings varied.使用在整个地形上铺设地形纹理的方式来装饰你的地图风景,你可以混合或合并地形纹理来平滑的过渡一个地图到另一个地图,或使地图的环境多样化。Terrain Textures are also called splat maps. What this means is you can define several repeating high resolution textures and blend between them arbitrarily, using alpha maps which you paint directly onto the Terrain. Because the textures are not large compared to the size of the terrain, the distribution size of the Textures is very small.地形纹理也叫溅斑贴图,它的意思是你可以定义几个循环的的高分辨率纹理然后任意的混合它们,使用带有透明度的贴图你可以直接将它绘制到地形上,因为纹理的尺寸小于地形的尺寸,所以纹理所分配的(内存)大小会很小。Note: Using an amount of textures in a multiple of four provides the greatest benefit for performance and storage of the Terrain alpha maps.注意:使用纹理数量为4的倍数的透明度贴图会得到最大的性能和存储益处。To being working with textures, click on the Paint Textures button in the Inspector.想要使用纹理,在监视窗中点击Paint Textures按钮。
Adding a Terrain Texture 添加一个地形纹理Before you can begin painting Terrain Textures, you will add at least one to the Terrain from your Project folder. Click the Options Button->Add Texture....在你可以开始绘制地形纹理之前,你需要添加至少一个来自你项目文件夹的纹理到你的地形,点击Options Button->Add Texture....This will bring up the Add Terrain Texture dialog. 这将会弹出添加地形纹理对话框。
The Add Terrain Texture dialog 添加地形纹理对话框From here, select a tileable texture in the Splat property. You can either drag a texture to the property from the Project View, or choose one from the drop-down.在这里,选择一个可平铺的纹理到Splat属性中,你可以从项目视图中拖拽纹理到属性上或通过下列列表选择。Now, set the Tile Size X and Tile Size Y properties. The larger the number, the larger each "tile" of the texture will be scaled. Textures with large Tile Sizes will be repeated fewer times across the entire Terrain. Smaller numbers will repeat the texture more often with smaller tiles.现在,设置Tile Size X 和Tile Size Y 属性,值越大每个纹理图块就越大,大的纹理图块会在地形上重复更少的次数,值越小纹理将会在地形上使用更小的图块重复更多的次数。Click the Add Button and you'll see your first Terrain Texture tile across the entire Terrain.点击Add按钮你会看到你的第一个地形纹理平铺在你的地形上。Repeat this process for as many Terrain Textures as you like.重复这个过程你可以添加多个地形纹理。
【Painting Terrain Textures 绘制地形纹理】Once you've added at least two Terrain Textures, you can blend them together in various ways. This part gets really fun, so let's jump right to the good stuff.当你添加了至少两个地形纹理以后,可以将它们以不同的方式混合起来,这部分很有趣,所以让我们直接跳到这个好东西。Select the Terrain Texture you want to use. The currently selected Terrain Texture will be highlighted in blue.选择你想使用的地形纹理,当前选中的地形纹理会标记为蓝色高亮。Select the ***sh you want to use. The currently selected ***sh will be highlighted in blue.选择你想使用的笔刷,当前选中的笔刷会标记为蓝色高亮Select the ***sh Size, Opacity, and Target Strength.选择笔刷的尺寸,不透明度和目标强度。Click and drag on the terrain to draw the Terrain Texture.在地形上点击并拖拽来绘制地形纹理。Use a variety of Textures, ***shes, Sizes, and Opacities to create a great variety of blended styles.使用若干纹理,笔刷,尺寸和不透明度来创建各种各样的混合样式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键将会以你的鼠标位置为准居中场景并且会自动缩放到笔刷尺寸的距离。这是创建地形过程中在地形上导航最快且最容易的方法。
iOSThis feature is currently not available for iOS targets.此功能目前不支持iOS。
AndroidThis feature is currently not available for Android targets.此功能目前不支持Android。
【来源:互联网】
更多精彩教程,尽在web3D纳金网http://www.narkii.com/college/
分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏0 支持支持0 反对反对0
回复

使用道具 举报

nts    

3

主题

1

听众

743

积分

初级设计师

Rank: 3Rank: 3

纳金币
7
精华
0

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

沙发
发表于 2013-10-20 12:56:30 |只看该作者
在场景视图中把鼠标移动到地形上然后按F键将会以你的鼠标位置为准居中场景并且会自动缩放到笔刷尺寸的距离。这是创建地形过程中在地形上导航最快且最容易的方法。
回复

使用道具 举报

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

关闭

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

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

GMT+8, 2024-4-20 05:22 , Processed in 0.142440 second(s), 32 queries .

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

© 2008-2019 Narkii Inc.

回顶部