Skip to content

leddoo/raster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raster

Disclaimer (archived exploration): This project is not meant to be used in any serious way. Feel free to get inspired, but keep in mind that I would probably do things differently now.

Vector graphics have always fascinated me. It was this paper that made them click for me. That's what I have implemented here. Though I did have to read the code to fill in some details that the paper didn't do a good job at explaining.

cpu-scanline

Implementation of single-sample rasterization. The code is neither efficient, nor well written 🤷🏻‍♀️. Even so, writing it was quite the struggle, as I had lots of issues with floating point precision. The debug ui I made using nanovg and microui was extremely helpful!

screenshot screenshot

Note: If you actually want to run this, you'll need to copy lib/glfw/lib-vc2019/glfw3.dll into the executable's directory.

msaa

A rewrite that implements multi-sampled rasterization. It uses the same algorithm, iirc.

msaa

common and lpp are c++ "base" libraries of mine. That's a whole nother story.

License: MIT. Any libraries used may of course have different licenses.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages