News for hackers. Stuff that matters.
Re:Dissecting the 128-byte raycaster (2014) by s-macke on Wednesday March 07, 2018 @01:37PM (#16538635)
To calculate a simple xor (color=x ^ y) to produce a texture for walls was a common hack in the early days of computer graphics. I used it frequently under DOS. It is still useful for these kind of hacks :-)
Re:Dissecting the 128-byte raycaster (2014) by hoosieree on Wednesday March 07, 2018 @01:43PM (#16538687)
It's visually distinctive as well. As soon as I saw the screen capture I thought "that's an XOR".
Re:Dissecting the 128-byte raycaster (2014) by msarnoff on Wednesday March 07, 2018 @03:54PM (#16539798)
It's known as "munching squares": https://en.wikipedia.org/wiki/Munching_square