Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Latest commit

 

History

History
22 lines (19 loc) · 1.24 KB

README.md

File metadata and controls

22 lines (19 loc) · 1.24 KB

Marching Cubes Terraforming

Implementation of a infinte-world terraforming game mechanic mechanism based on my multi-threaded implementation of the marching cubes algorithm (https://github.com/akoreman/Marching-Cubes-Unity-Job-System). Inspired by the gameplay of Astroneer.

Currently Implemented

  • Spawning and de-spawning chunks to generate infinitely large marching cubes worlds.
  • View frustum culling by calculating the camera draw volume and de-spawning chunks not in camera view.
  • Change the geomtry during runtime by changing the underlying scalar field.
  • Building a mesh collider for the chunks at runtime.
  • First person controls to walk through the world.
  • Uses Unity raycasts to get the points where to terraform.
  • Uses Perlin noise to initialiaze a hilly environment.

Screenshots