Blog Link: https://zhuanlan.zhihu.com/p/516318773 (If you got 404, visit me later!)
Visit https://github.com/taichi-dev/voxel-challenge for more information.
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.
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.