Skip to content
Pure-python 3D wireframe renderer
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images
README.md
cube.obj
renderer.py
teapot.obj

README.md

pyWireframeRenderer

Renders .obj files in 3D.
It doesn't use any OpenGL and is self-contained in 200LOC.
Its only dependencies are Numpy for matrix multiplications and Pygame to render to the screen.

Screenshots

Teapot

teapot rendered with pyWireframeRenderer

Cube

Cube rendered with pyWireframeRenderer

Install

git clone https://github.com/belzebalex/pyWireframeRenderer/
cd pyWireframeRenderer
pip3 install pygame numpy

Usage

python3 renderer.py cube.obj

Use zqsdae to translate and uiojkl to rotate.

You can’t perform that action at this time.