Optimize displayPixel by doing zBuffer elimination at earliest stage in the rasterizeScanLine method and by eliminating out of bounds pixels also at this stage. This avoids calculating lighting and texture for pixels that would be eliminated later.
Optimize displayPixel by doing zBuffer elimination at earliest stage in
the rasterizeScanLine method and by eliminating out of bounds pixels
also at this stage.
This avoids calculating lighting and texture for pixels that would be
eliminated later.
obarry/Aventura