Skip to content

Real-time graphics engine for polygonal objects. Handle OBJ files. Run under liblapin 1.7 and more.

Notifications You must be signed in to change notification settings

TetraSomia/Rasterizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rasterizer

Real-time graphics engine for polygonal objects. Handle OBJ files. Run under liblapin 1.7 and more.

Without textures, the OBJ file will be computed like :

Imgur

With them :

Imgur

(we are actively working to find his shoe)

Build

First build the liblapin library using make lapin.

You can now build the rasterizer:

  • Use make for basic version
  • Use make CC="gcc -D FDF" for linking vertices to each other
  • Use make CC="gcc -D ZBUFF" for vertices colored by the Z-buffer

Usage

./rasterizer demo/dragon.ini

  • Move the object : W/A/S/D
  • Rotate the object : Arrows and PG-UP/PG-DOWN
  • Zoom in/out : +/-

About

Real-time graphics engine for polygonal objects. Handle OBJ files. Run under liblapin 1.7 and more.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published