The MASM Forum

Projects => Game Development => Topic started by: HSE on July 10, 2021, 04:55:11 AM

Title: ScanLine Polygon Filling algorithms
Post by: HSE on July 10, 2021, 04:55:11 AM
Hi All!

In this test there is a simple polygon filling algorithm translated from cpp that only work with convex polygons (in red and blue).

Also a very complex algorithm from Al-Rawi paper. Perhaps not so complex, but paper have a lot of edition problems. To follow that is a challenge  :biggrin:  (in green and salmon). This algorithm can fill convexs, concaves and complex polygons.

Additionally source code have a basic dual implementation in Masm32 SDK and ObjAsm SDK to use VKDebug system or DebugCenter system, the later is a lot more advanced. 

Regards, HSE.