Unity中的大型场景,远大于一个Terrain? [英] Large scene scene in Unity, far bigger than one Terrain?

查看:480
本文介绍了Unity中的大型场景,远大于一个Terrain?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

想象一下Unity中的大型免费漫游游戏,

Imagine a large free-roam game in Unity,

黄色的尺寸表示您可以在Unity中制作典型地形的最大尺寸.

The yellow size indicates about the largest you can make a typical Terrain in Unity.

艺术部.将完全按米完整构建整个场景.

Art dept. will completely build, meter by meter, the entire scene.

请注意,这与重复的风景(如跑步者)或程序性的风景(如某些比赛)没有任何关系.

真的,在Unity中执行此操作的正确和好方法是什么?

Really, what is the correct and good way to do this in Unity?

  • 使用50个左右的地形,每个大概100m x 100m?
  • 您甚至可以拥有或使用那么多地形吗?

还是什么?

对于任何在这里搜索的人.

For anyone googling here.

正确的解决方案确实是

  • 就是这样.

实际上,您必须使用一种可用的工具(例如TerrainFormer)进行操作,否则您的团队将从头开始编写地形缝合器.

In practice you must use one of the tools available to do this (eg, TerrainFormer) or, your team will write from scratch a terrain stitcher.

是的,您只需使用许多地形"即可.

Yes, you just use "many terrains".

推荐答案

解决确切问题的最佳方法,

The best approach to the exact problem posed,

实际上只是:

在Unity中拥有许多(几十个)地形单位,基本上是彼此相邻"似乎是完全可行的.

It seems to be perfectly viable in Unity to have many (dozens) of Terrain units, basically "sitting next to each other".

实际上,您需要 TerrainFormer

https://assetstore.unity.com/packages/tools/terrain/terrain-former-20052

类似工具之一.

(或者,我想从头开始编写自己的工具来缝合地形,并允许您一次操纵所有地形,完美地合并边缘高度等)

(Or, I suppose, from scratch write your own tool to stitch terrains, and allow you manipulate them all at once, join the edge-heights perfectly, etc etc.)

将多个地形完美地(手动)放置在一起,匹配所有边缘等在现实中是不可能的.因此,您将需要一个缝合器".用于将许多Terrain正方形放在一起的包装.

It's not realistically possible to just perfectly sit many Terrains together (by hand), matching all the edges, etc etc. So you're going to need a "stitcher" package for putting many Terrain squares together.

所以,这个很大的区域..

So, this huge area ..

大约有12个地形.

这就是答案,您确实可以拥有许多很多"的在Unity项目中,地形实际上确实是在彼此挨着坐".实际上,除非您使用TerrainFormer之类的编辑器工具之一,否则这是无法实现的.

So that's the answer, you can indeed have "many, many" Terrain in a Unity project, you do indeed essentially just "sit them next to each other". In practice it's not achievable unless you use one of the editor tools such as TerrainFormer.

这篇关于Unity中的大型场景,远大于一个Terrain?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆