全网最细:基于卫星数据创建真实Unity地形


变更记录

  • 2024-9-10 文章发布;

前言

使用Unity+Real World Terrain插件根据真实卫星数据快速创建高质量的地形、网格、Gaia 图章和 RAW 文件,适用于大场景、大背景的制作。

一、高程、影像数据与Unity地形的关系

高程数据DEM全称数字高程模型,是通过有限的地形高程数据实现对地面地形的数字化模拟(即地形表面形态的数字化表达),实际上,它是一种数字阵列信息模型(x,y,z),描述地理空间中的地形高低起伏,通过表示模型和渲染后,成为人们看到的地形图,也可以简单理解为高度图,即Elevation
高程图示意
影像数据全称卫星遥感图像,也叫卫星图或影像图,是借助卫星向用户反馈真实的地球地表面貌图像,影像图不带高度信息

在这里插入图片描述
高程图提供Unity地形的起伏数据,影像图提供Unity地形的贴图数据,两者的叠加融合形成完成的Unity地形文件

在这里插入图片描述

二、Real World Terrain简介

Real World Terrain是一款Unity地形插件,可根据真实地球高程数据生成地形、网格、Gaia 图章和 RAW 文件,并根据 Open Street Map 中的数据生成建筑物、道路、河流、草地、树木。

  • 兼容Unity 2017.4 LTS 及更高版本;
  • 渲染管线:Built-InURPHDRP
  • 高度贴图精度:ArcGIS 分辨率每像素最高 10 米;Bing Maps 分辨率每像素最高 10 米;Mapbox精度未知;SRTM v4.1 分辨率每像素最高 90 米;SRTM30 分辨率每像素最高 30 米。
  • 卫星影像供应商:ArcGIS、DigitalGlobe、Map Quest、Mapbox、Mapy.CZ、Nokia Maps (here.com)、Virtual Earth (Bing Maps)、Open Street Map、Sentinel-2
  • 支持自定义 url下载卫星影像瓦片数据;
  • 卫星图像分辨率为每像素最大 0.25 米;
  • 支持创建:Unity Terrains、网格、Gaia 图章、RAW 文件;
  • 支持为每种地形生成常规纹理和 Huge Texture(最高 26624x26624px);
  • 支持基于 Mapbox 矢量生成地形图层。
  • 支持基于 Open Street Map 创建建筑、道路、河流、树木等对象;
  • 支持直接从 Google Maps 上选择区域的工具。

官方说明文档地址:

WorldComposer includes a shadow removal tool, that makes it unique compared to other software. There are always shadows on satellite images and if used in a game or simulation it forces a fixed sun position to match with the shadows. Also shadows in satellite images are almost completely black which doesn’t make them look good. WorldComposer solves this by removing shadows with it’s shadow removal algorithm, which will not only make the satellite images look way better, but also allows you to have fully day and night cycles. WorldComposer is designed like google maps with a scrolling and zooming functionality from real World satellite imagery directly into Unity. You can create multiple areas that display the real size in kilometers, and they can be exported with a few clicks of a button. Then for each exported area you can create the terrains with a click of one button directly in your Unity Scene. Satellite images can be exported to zoom level 19 which is 0.3 meter per pixel resolution. Elevation data can be exported up to zoom level 14, which is 10 meter per pixel resolution. WorldComposer only exports elevation heightmaps and satellite images, with itself you can create awesome looking real World terrain. But in combination with TerrainComposer you can mix the or alter the heightmaps or add perlin noise to enhance the detail, mix the satellite images with splat textures, add cloud shadows, etc. Also you can place trees,grass and objects and do the unlimited tweak and editing TerrainComposer offers to push the quality to unseen limits!
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值