Skip to content

Rasterisation theory demonstrations in Lua with LÖVE.

Notifications You must be signed in to change notification settings

CoffeeCamel/Triangles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Triangles

Rasterisation theory demonstrations in Lua and LÖVE(11.3).

  • Barycentric Coordinates
  • Interpolation of Data within a Triangle
  • Z-Buffer
  • Depth Map Shader
  • Basic Shading by Depth
  • Perspective Projection
  • Camera Movement
  • Affine Texture-Mapping
  • Less Primitive Shading
  • Model Format Import (Obj, Custom)
  • Potentially rewrite to either C/SDL2 or Julia/SDL2, depending on how well Lua/LÖVE performance holds up.
  • Write tutorials for each of the above aspects of rasterisation.

Header Image
100% Pure Canadian Lua

Many thanks to the following for creating clear and well-explained resources to learn from:

Also, check out Sebastian's Coding Adventures series. He's got some great ideas and explains them well.

The Cardo font is licensed under the SIL Open Font License.
All other parts of this repository are under personal copyright.