Re:Show HN: 3D Raycasting Engine in JavaScript
by tomxor on Tuesday March 31, 2020 @07:19PM
(#22743846)
Very neat. Shameless plug: Things can get extremely minimal if you make the view frustum orthogonal and also use raymarching instead, then the geometry (SDF) is very concise to define... a lot of the math disappears and the code gets super short... like 140 chars short:
Not very practical for much of an engine of course, and also much slower than casting, but it makes it dead easy to understand by removing matrix transforms et al.
[ Parent
| on HN ]
There are no comments on this comment yet.