News for hackers. Stuff that matters.
Re:Show HN: 3D Renderer Built using 2D HTML Canvas by mrspeaker on Saturday July 15, 2017 @04:46PM (#14778837)
I wish there was some details around this! Recently I've been getting into writing a software 3D renderer thanks to this fantastic set of tutorials: https://github.com/ssloy/tinyrenderer/wiki.

Here's my creepy 3D rendering: http://mrspeaker.net/dev/head2/ It's not using a real z-buffer (just canvas's path rendering for triangles, and sorted back-to-front) but it's still pretty cool!

Re:Show HN: 3D Renderer Built using 2D HTML Canvas by pjmlp on Sunday July 16, 2017 @03:21AM (#14780962)
A very good book for graphics programming, covering all kinds of algorithms is

"Computer Graphics: Principles and Practice" from Foley and van Dam.

The 1st edition used Pascal, the 2dn C and now the third one uses C++ and C# on their examples.