Make sure your pip
is the latest one:
pip3 install pip --upgrade
Assume you have a Python 3 environment properly, you can simply run:
pip3 install -r requirements.txt
to install the dependendies of the voxel renderer.
Please fill in your code in main.py
and include your result in this README.md file.
python3 example1.py # example2/3/4.py
Mouse and keyboard interface:
- Drag with your left mouse button to rotate camera.
- Press
W/A/S/D/Q/E
to move camera. - Press
P
to save screenshot.
Please put your artwork below (replace demo.jpg
)