Skip to content

Commit 13153e9

Browse files
committed
first commit
1 parent 90a4b4c commit 13153e9

File tree

9 files changed

+7891
-1
lines changed

9 files changed

+7891
-1
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,7 @@ nosetests.xml
3434
.mr.developer.cfg
3535
.project
3636
.pydevproject
37+
38+
#Pycharm
39+
.idea
40+

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
software-renderer
22
=================
33

4-
A simple 3D renderer in Python
4+
A simple 3D renderer written using Python and Pygame.
5+
6+
Pass the .obj file as an argument to renderer.py, e.g.
7+
python renderer.py models/teapot.obj
8+
9+
F toggles wireframe or solid mesh
10+
R toggles rotation
11+
B resets the camera to the original position
12+
13+
Use the mouse wheel to zoom in and out.
14+
Left-click and drag vertically or horizontally to control pitch and yaw.
15+
Right-click and drag horizontally to control roll.
16+
17+
The framerate is displayed in the top left corner.

0 commit comments

Comments
 (0)