2 ms·
That is really impressive. I wish the guy would release some notes about how he did it, or what his code means... Edit: I started looking into it. He does some
by johnfn 16y ago
That is really impressive. I wish the guy would release some notes about how he did it, or what his code means...
Edit: I started looking into it. He does some really bizarre things, like having all of his assignments and statements in the parens of a for loop, assigning Math.cos to $, and some tricky bit ops. Unfortunately, I don't think I understand the math well enough to totally understand it.
- jcl 16y agoThere was some analysis posted when the article originally appeared on HN: http://news.ycombinator.com/item?id=1227936 http://news.ycombinator.com/item?id=1227936 As I understand it, the trig calls are just to establish the camera position and direction. The rest of the calculation (the two inner loops) is marching along a ray to find a depth value.