MTerrain:Godot引擎的优化地形系统和编辑器
MTerrain: Optimized terrain system and editor for Godot

原始链接: https://github.com/mohsenph69/Godot-MTerrain-plugin

MTerrain是一个强大的Godot引擎插件,可以创建最大16公里x 16公里的广阔地形,并通过八叉树LOD系统进行优化。它具有通用的地形着色器,支持纹理混合(splatmapping)、位图映射和索引映射。可以无缝集成导航系统,使用提供碰撞检测的草地系统填充您的世界,并使用基于贝塞尔曲线的路径系统设计道路或河流。 该插件提供了一系列编辑器工具,用于地形雕刻、草地绘制、导航网格创建和路径编辑。它还支持高度图和纹理混合图的导入/导出。需要注意的是,MTerrain并非即插即用;理解其概念至关重要。我们提供了教程,包括关于高度笔刷雕刻和纹理绘制的视频教程。 安装需要克隆仓库并使用`git submodule update --init --recursive`初始化`godot-cpp`子模块,然后使用scons构建GDExtension。

一篇Hacker News帖子讨论了MTerrain,一个针对Godot游戏引擎的优化地形系统和编辑器。一个用户询问了它与另一个地形工具Terrain3D的比较,另一个用户回应说Terrain3D有一些限制。其他用户表达了对更多地形编辑选项的兴奋,有人分享了用于较小地图的TerraBrush的链接。一位评论者询问开发者是否考虑使用Monster Curves来创建八叉树地形生成器。该帖子还引发了关于Hacker News“糟糕”网站设计的讨论,其特点是广告过多,导致了关于其美学以及它是否类似于SEO垃圾邮件的争论。甚至有人建议某个回复是由大型语言模型生成的。

原文

MTerrain is an optimized terrain system/editor for Godot Engine.

Screenshot_20230707_104154

  • Terrain that uses an octree based LOD system for terrain sizes as big as 16km x 16km
  • Terrain shader with support for splatmapping, bitwise, and index mapping
  • Navigation integration with Godot's navigation system
  • Grass system with collision for things like trees, grass, rocks, etc
  • Path system based on bezier curves with mesh deformation for roads, rivers, etc.
  • Octree system for optimized control of LOD allowing for large number of objects in the world
  • Editor tools for Terrain sculpting, Grass painting, Navigation painting, Path editing, and importing/exporting heightmaps and splatmaps

Screenshot_20230719_144752

To use this plugin you will need to learn some concepts - this terrain plugin will not work out of the box. Please read the wiki

Or watch this video will be helpful: https://www.youtube.com/watch?v=PcAkWClET4U

This video shows how to use use height brushes to sculpt the terrain: https://www.youtube.com/watch?v=e7nplXnemGo

This video shows how to use Texture painting: https://www.youtube.com/watch?v=0zEYzKEMWR8

You can support me with patreon Click here

Screenshot_20230719_144757

First clone this repo on your local machine, so you need godot-cpp to exist in GDExtension folder so you can build that, godot-cpp is added as a submodule in this project so to put that inside GDExtension folder only thing you need to do after cloning this repo is runing this code

git submodule update --init --recursive

This will automaticly pull godot-cpp into GDextension folder, After that go inside GDExtension folder and use scons to build this project

联系我们 contact @ memedata.com