Skip to content

This is a toy project for learning the theory of 3D render. Single File!

Notifications You must be signed in to change notification settings

coldfog/simpleRender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

Simple Render

996.ICU

Introduction

This is a toy project for learning the theory of 3D render. I'm tring to add every necessary step into only one file. For simplifying and performance, all math operation are implemented by numpy and the window management are implemented by pyglet.

Features

  1. World, view, projection transform
  2. Simple texture mapping
  3. Backface culling
  4. Z-buffer
  5. Diffuse direction lighting

Screen shoot

demo.png

Dependencies

  • numpy for fast math computation
  • pyglet for window management

Note

Because I have chosen Python as the main programming language. so there is a huge performance issue.

About

This is a toy project for learning the theory of 3D render. Single File!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages