Skip to content

Terrain generation tool, using real-earth data and deep learning techniques

Notifications You must be signed in to change notification settings

kenjinp/terrain-synth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2db5471 · Apr 22, 2024

History

26 Commits
Dec 21, 2023
Apr 22, 2024
Dec 10, 2023
Dec 21, 2023
Dec 22, 2023
Dec 10, 2023
Dec 10, 2023
Nov 16, 2023
Dec 10, 2023
Dec 21, 2023
Nov 16, 2023
Nov 16, 2023
Nov 16, 2023
Dec 10, 2023
Dec 21, 2023
Dec 23, 2023
Dec 23, 2023
Nov 16, 2023
Dec 19, 2023
Dec 23, 2023
Nov 16, 2023

Repository files navigation

Terrain Synth

Example-based Terrain Generation powered by real-earth datasets.

image of the terrain renderer

This is a platform for me to hack around on various machine-learning content generation / manipulation techniques. It uses the Hello Worlds library to render the terrain.

The current model is very naïve, expect the output to look crap.

Example Input

Terrain elevation data input
real earth terrain heightmap example used as input in GAN model

Example Output

(Silly) generated terrain from the pytorch GAN model
generated terrain heightmap from the GAN model]

Technologies

  • pytorch for ML learning
  • onnex runtime (https://onnxruntime.ai/) for model inference
  • react / typescript / vite for the app
  • Hello Worlds library for terrain rendering
  • react-three/fiber / threejs for 3D rendering
  • pulumi / aws for deployment

Datasets

Earth Terrain - From Kaggle user THOMAS PAPPAS