Skip to content

eard3n1/procedural_terrain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

procedural_terrain

Minimal procedural terrain generation with 3D mesh export, render & visualization.

Features

  • Procedural heightmap generation using fractal noise
  • Convert heightmaps to 3D mesh (OBJ format)
  • Render the 3D mesh using Ursina Engine
  • Static visualization in Jupyter Notebook
  • Configurable via config.yaml

Dependencies

  • Numpy
  • Matplotlib
  • Noise
  • Pyyaml
  • Ursina

Usage

  1. Visualize in Jupyter Notebook:

    • Open visualization.ipynb. The notebook generates an illustration of the terrain in a simple 3D graph:

  2. Generate & export mesh:

    •   python generate.py
    • This will produce an OBJ file in meshes/ that can eventually be rendered in Blender or Meshlab
  3. Render using generated mesh:

    •   python render.py
    • This will render the mesh in a 3D environment that is possible to view in first person.

License

MIT License

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published