如何为 Unity 游戏引擎安装汤姆地形工具?

发布于 2024-10-03 06:07:53 字数 201 浏览 1 评论 0原文

我刚刚购买并下载了 Tom's Terrain Tool,但找不到如何安装它的说明。我查看了下载的文件 - 这是一个编译文件。我查看了他的网站,只找到了安装后该怎么做的说明。我用谷歌搜索了相关说明,但在任何地方都找不到它们。事实上,我下载后得到的唯一文件是一个 gzip 文件,它可以解压到 TTT.file 中。这是该工具唯一应该附带的东西吗?为什么没有自述文件?有人可以帮我吗?谢谢。

I just bought and downloaded Tom's Terrain Tool but I can't find instructions for how to install it. I've looked in the downloaded file - it's a compiled file. I've looked on his website and only find instructions for what to do after it's installed. I've googled around for instructions and can't find them anywhere. In fact, the only file I got with the download is a gzip that extracts into TTT.file. Is that the only thing that was supposed to come with the tool? Why isn't there a readme file with it? Can anyone help me out here? Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

我家小可爱 2024-10-10 06:07:53

从安装说明此处

  • 创建了一个新地形
    1)导入高度图

    2)计算光照图

    3) 将您希望使用的所有 splatmaps、treemaps 等作为 RGB 24 位纹理导入到 Unity 中。

    4) 如果使用 Unity 2.6,您打算使用的所有纹理/贴图必须在导入设置中设置为“可读”。

    5) 如果使用 Unity 3,所有纹理/贴图必须将其纹理类型设置为“高级”,然后选中“读/写”
    启用”选项。

安装地形工具后,您将在地形中找到它们
=> Unity 编辑器中 Tom 的地形工具。

From the installation instructions here:

  • Created a new terrain
    1) Imported a heightmap

    2) Calculated the light map

    3) Imported all the splatmaps, treemaps, etc. you wish to use into Unity as RGB 24bit textures.

    4) If using Unity 2.6, all the textures/maps you intend to use must be set to "readable" in the import settings.

    5) If using Unity 3, all the textures/maps must have their Texture Type set to "Advanced" and then checked the "Read/Write
    enabled" option.

Once you're installed the Terrain Tools, you will find them in Terrain
=> Tom's Terrain Tools in the Unity editor.

伴随着你 2024-10-10 06:07:53

RoyS 在他的帖子此处中描述了此过程:

以下是我将地形导入 Unity 的步骤。

1 - 如果您不熟悉,请通过向导生成 L3DT 地图
它。然后... 文件-->导出地图-->(选择)高度场文件格式-
(下拉)选择“RAW”
- 输入文件名
-选中“调整导出大小”
-1025 大小(默认) 操作-->Alpha Map-->Alpha Express (png)

raw 是你的高度图,png 是你的 splatmap。将它们移至
您的资产文件夹。

2 - 确保按照汤姆的指示安装了“Tom's Terrain Tools”。

3 - 在 Unity Terrain 中 --> 创建地形 在 Unity 中添加 4 个纹理:
正常(你可以从
http://cgtextures.com ) 地形 --> 导入高度图 RAW
--位16
--Windows

现在您应该会看到您选择的第一种颜色的高度图。如果
山太高了,那就去Terrain-->设置分辨率并改变
600 值。只需更改这些数字,直到获得所需的值
你的山脉和山谷的高度。

现在处理地形的其余颜色。

在 Unity 中,在项目文件夹和中选择您的 png 纹理
Inspector 将其更改为 ARGB 32 位并单击“应用”按钮。现在轮到你
不会像您刚刚那样收到将其更改为 32 位 RBGA 的错误消息
做到了。现在添加 splatmap...

地形-->汤姆的地形工具-->Splatmap

如果你的沙子在山区,你的草在海底,
然后只需更改纹理的顺序直到正确为止(即
地形画笔纹理就像您从头开始绘制一样 -
与您上面加载的相同)。

RoyS describes this process in his post here:

Here's the steps I use to get my terrain into Unity.

1 - Generate your L3DT map via the Wizard if you're unfamiliar with
it. Then... File-->Export map-->(select) Heightfield File format -
(pulldown) select "RAW"
-type in a File Name
-check "resize for export"
-1025 size (default) Operations-->Alpha Map-->Alpha Express (png)

The raw is your heightmap and the png is your splatmap. Move those to
your Assets folder.

2 - Make sure "Tom's Terrain Tools" is installed per his instructions.

3 - In Unity Terrain-->Create Terrain Add your 4 textures in Unity as
normal (you can get some nice terrain textures from
http://cgtextures.com ) Terrain-->Import Heightmap RAW
--Bit16
--Windows

Now you should see your heightmap in your first colour chosen. If the
mountains are too high, then go Terrain-->Set Resolution and change
the 600 value. Just change those numbers until you get the desired
height of your mountains and valleys.

Now for the rest of the colour of your terrain.

In Unity, select your png texture in the Project folder and in
Inspector change it to ARGB 32 bit and hit the Apply button. Now you
won't get an error message to change it to 32 bit RBGA as you've just
done it. Now to add the splatmap...

Terrain-->Tom's Terrain Tools-->Splatmap

If you're sand is in your mountain area and your grass under the sea,
then just change the order of your textures until it's right (ie, the
terrain paintbrush textures as if you were painting one from scratch -
the same ones you loaded above).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文