Skip to content

An easy to learn, GUI app to create procedural terrains written in Rust.

Notifications You must be signed in to change notification settings

gre-v-el/Fractal-Terrain-Constructor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fractal Terrain Generator

A procedural generation tool written in Rust.

Microdocumentation is available here.

UI screenshot



The workflow consists of defining operations that are executed in sequence. An example of a mesh operations sequence:

  1. Add Triangle
  2. Subdivide
  3. Displace Random
  4. Subdivide
  5. Smooth

Proces - part 1 Proces - part 2 Proces - part 3

After defining the sequence, a lot of meshes can be generated using different seeds. Afterwards, the mesh can be exported to .obj.



wireframe flat smooth


Features

  • Readable mesh thanks to fast Phong rendering.
  • Different rendering modes - wireframe, flat, smooth
  • Editable ground material
  • Operation-based procedural mesh generation system
  • Info about the time taken per operation
  • Orbit camera
  • Easily editable parameters thanks to egui's widgets
  • Editable seeds
  • Exporting to .obj

Technology

Written in Rust using eframe as the framework, egui as the UI library and wgpu as the rendering library. Shading is written in wgsl.

About

An easy to learn, GUI app to create procedural terrains written in Rust.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages