Hacker GitHub

← All repos

s-macke/VoxelSpace

View on GitHub ↗ ★ 6,828 C

Terrain rendering algorithm in less than 20 lines of code

22 mentions on Hacker News by 18 people: 10 stories, 12 comments · first 2017-09-26 · latest 2025-01-03

Mentions per year 22 mentions · busiest year 2021 (5)
20082026
  1. ▲ 339
    VoxelSpace: Terrain rendering algorithm in less than 20 lines of code (2020)
    story by lnyan · 2025-01-03 · 89 comments
  2. …2D height map that is sampled. (They called it "VoxelSpace" ... so some confusion is warranted) [1] https://github.com/s-macke/VoxelSpace
  3. ▲ 3
    VoxelSpace – Terrain rendering algorithm in less than 20 lines of code
    story by peter_d_sherman · 2023-10-28 · 2 comments
  4. ▲ 1
    Terrain rendering algorithm in less than 20 lines of code
    story by Audiophilip · 2022-12-01 · 0 comments
  5. …video game [0]. I find it remarkably ingenious, and it certainly felt incredible at the time. [0] https://github.com/s-macke/VoxelSpace
  6. There is a very simple voxel terrian renderer: https://github.com/s-macke/VoxelSpace
  7. Check this https://github.com/s-macke/VoxelSpace
  8. Yup. A.k.a. depth testing†. TFA illustrates it under ‘More performance’: https://github.com/s-macke/VoxelSpace#more-performance Edit : Originally, I had said: “Though in a highly constrained scenario such as this, with the right approach…
  9. …lines from that height. That "max height" is a zbuffer of sorts for each ray. Discussed here < https://github.com/s-macke/VoxelSpace#more-performance >
  10. ▲ 366
    Voxel Space: Comanche's terrain rendering in less than 20 lines of code (2020)
    story by danbolt · 2021-03-30 · 71 comments
  11. Not quite the same but reminds me a lot of the Commanche JS demake called VoxelSpace: https://github.com/s-macke/VoxelSpace
    comment by codezero · 2021-02-25 · in 2D IsometricRenderer
  12. …is an open PR that hooks window events instead (I made similar edits locally that make it work). https://github.com/s-macke/VoxelSpace/pull/13 . The distance rendering works once you move and force a redraw.
  13. ▲ 720
    Terrain rendering algorithm in less than 20 lines of code
    story by netgusto · 2020-01-03 · 116 comments
  14. ▲ 2
    Commanche's Voxel-Space terrain rendering (1992)
    story by netgusto · 2020-01-02 · 0 comments
  15. …3D game worlds. Test Drive 3 [1] and Comanche [2] [1] https://simulationcorner.net/td3/td3.html [2] https://github.com/s-macke/VoxelSpace
  16. ▲ 1
    Voxel space
    story by myth_drannon · 2018-10-11 · 0 comments
  17. …can‘t look up and down more than 20 degrees and you can‘t even render houses, cars or trees. [0] https://github.com/s-macke/VoxelSpace
  18. …impressive, but hopefully you find it interesting. Thanks! 1. https://github.com/fogleman/Craft 2. https://github.com/s-macke/VoxelSpace 3. http://lebo.io/2018/04/03/a-webgl-renderer.html source: https://github.com/aaron-lebo/comanche
  19. Very similar technique (raycasting), but for different type of data. https://github.com/s-macke/VoxelSpace The text in the README describes the technique very well. The JavaScript code is a little bit more complicated to read because most…
    comment by s-macke · 2018-03-07 · in A Tiny Wolfenstein-Like Software Engine
  20. ▲ 793
    Terrain rendering in fewer than 20 lines of code
    story by blaze33 · 2017-11-24 · 93 comments
  21. ▲ 3
    Terrain rendering in less than 20 lines of code
    story by davidbarker · 2017-11-19 · 0 comments
  22. ▲ 6
    Show HN: Voxel Space – terrain rendering in less than 20 lines of code
    story by s-macke · 2017-09-26 · 2 comments