Skip to content

Hanbusy/software-renderer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

software-renderer

A simple 3D renderer written using Python and Pygame.

Pass the .obj file as an argument to renderer.py, e.g.
python renderer.py models/teapot.obj

F toggles wireframe or solid mesh
R toggles rotation
B resets the camera to the original position

Use the mouse wheel to zoom in and out.
Left-click and drag vertically or horizontally to control pitch and yaw.
Right-click and drag horizontally to control roll.

The framerate is displayed in the top left corner.

About

A simple 3D renderer in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%