bismarckkk / voxel-challenge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Taichi Voxel Challenge

demo

Figure: result with manual_seed, biome, snow = 2, 'island', True

Random generate terrain, river and trees like MineCraft

Installation

Make sure your pip is up-to-date:

pip3 install pip --upgrade

Assume you have a Python 3 environment, simply run:

pip3 install -r requirements.txt

to install the dependencies of the voxel renderer.

Quickstart

python3 main.py

Mouse and keyboard interface:

  • Drag with your left mouse button to rotate the camera.
  • Press W/A/S/D/Q/E to move the camera.
  • Press P to save a screenshot.
  • modify manual_seed(positive integer) to change what generated.
  • modify biome(forest, grass, island, desert) to change biome.
  • modify snow to change snow generated while biome is not desert.

More picture

About


Languages

Language:Python 100.0%