Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Software Rasterizer Demo

Description

Simple software rasterizer developed in C using Raylib It is based on the triangle rasterizer found here.

It implements:

  • top left rasterization rule
  • barycentric coordinates for interpolating colors
  • edge function per-pixel optimization
  • subpixel coordinates

Build and run

Install raylib and run:

# build
make
# run
./rasterizer <scale>

Controls

SPACE   - toggle rotation
1, 2, 3 - toggle the triangles

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages