Terrain rendering in fewer than 20 lines of code
I stumbled upon this very good explanation (and demo) of the Comanche Voxel 2.5D engine reimplemented in JS and thought it might interest some HNers. I did not had the pleasure to play Comanche though I have fond memories of playing Apache in 1996.<p>I've been investigating the terrain generation / rendering quite a bit for the past ten days and have started to play with <a href="https://threejs.org/" rel="nofollow">https://threejs.org/</a>, webgl and shaders, the current result (<a href="https://twitter.com/maxmre/status/933860624773283842" rel="nofollow">https://twitter.com/maxmre/status/933860624773283842</a>) is quite humbling when I see how nicely the Comanche engine works :)