Skip to content

Godot 3.5 project with procedurally generated 3D terrain using GDNative and C++

License

Notifications You must be signed in to change notification settings

matmas/terrain3d

Repository files navigation

terrain3d

A Godot 3.5 project with procedurally generated 3D terrain partly using GDNative and C++.

It is unfinished and no longer maintained. Initial version was inspired by a tutorial Infinite procedural terrain generation from codat.

terrain3d.jpg

Neighboring terrain tiles have their LOD meshes stitched together as illustrated by this wireframe image:

stitching.png

Quickstart

  1. Clone this repo, make sure you have scons installed and then run inside the cloned directory:
git submodule update --init --recursive
cd gdnative/vendor/godot-cpp/
scons platform=linux generate_bindings=yes
cd ../..
scons

(replace "linux" with your actual platform of choice)

  1. Open in Godot 3.5 and run the project

Use WASD for movement and Escape to toggle mouse capture.

Known bugs

Occasionally a parent terrain tile remains to be visible even after being split into child tiles.

Alternatives

License

MIT, see LICENSE.txt

About

Godot 3.5 project with procedurally generated 3D terrain using GDNative and C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published