andreasala98 / NM4PIG

Numerical Methods for Photorealistic Image Generation
MIT License
2 stars 1 forks source link

Implement antialiasing #8

Closed andreasala98 closed 3 years ago

andreasala98 commented 3 years ago

I correctly implemented antialiasing. Now there is one more parameter in Demo mode, which is the number of samples extracted per pixel (-spp <INT>). It should be a perfect-square, but if another number is passed, it is rounded to the first perfect-square encountered going left. I hope we won't see any Moiré fringes anymore 😆