Hacker Newsnew | past | comments | ask | show | jobs | submit | gopla's commentslogin

An additional resource on rasterisation, using the scan conversion technique:

https://kristoffer-dyrkorn.github.io/scanline-rasterizer/


Great writeup! Here is the result of my take on the same process - but translating to JavaScript instead so the simulator runs in the browser.

I later added the high fidelity flight dynamics model by translating C code.

https://github.com/kristoffer-dyrkorn/flightsimulator


Here is an article that goes through triangle rasterizing in detail, with explainations of subpixel precision - along with animations that show the quality improvement.

https://kristoffer-dyrkorn.github.io/triangle-rasterizer/


Thanks, I had no idea what was meant by sub-pixel, starting from section 6 of your link will explain this and show the smoothed animation.

(By sub-pixel they mean more finely determining the endpoints of the lines on an arbitrary grid finer than the output pixels — NOT physical display sub-pixels.)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: