送你一朵小红花
a little red flower
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.
python3 example1.py # example2/3/.../7/8.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.