Earlier quoted context omitted.
The .js file is over 10,000 lines of code. How did it get so bloated from your 450 lines of code?
Node
Show HN: A simple infinite world in WebGL
11–20 of 61 posts
Re: Show HN: A simple infinite world in WebGL
#12Re: Show HN: A simple infinite world in WebGL
#13Re: Show HN: A simple infinite world in WebGL
#14Are these caused by some z-buffer issues caused by increasingly large coordinates?
Re: Show HN: A simple infinite world in WebGL
#15There seems to be some missing triangles after a while (10-20 sec.) on Chrome on OSX Are these caused by some z-buffer issues caused by increasingly large coordinates?
Re: Show HN: A simple infinite world in WebGL
#16In this demo, I implemented an infinitely continuing, vaporwave-like world in WebGL. If you can't run it for some reason, a recorded gif of the demo can be found here: https://github.com/Erkaman/wireframe-world . As for the implementation, it is not very difficult stuff; I divide up the world into chunks(just like in Minecraft), and as the camera traverses the world, the chunks that become out of range are thrown awa…
It is really nice. Thanks for sharing. Is there any particular reason you did this?
Re: Show HN: A simple infinite world in WebGL
#17In this demo, I implemented an infinitely continuing, vaporwave-like world in WebGL. If you can't run it for some reason, a recorded gif of the demo can be found here: https://github.com/Erkaman/wireframe-world . As for the implementation, it is not very difficult stuff; I divide up the world into chunks(just like in Minecraft), and as the camera traverses the world, the chunks that become out of range are thrown awa…
>var f = 0.0015974 Where did this number come from? Is it arbitrary?
Re: Show HN: A simple infinite world in WebGL
#18In this demo, I implemented an infinitely continuing, vaporwave-like world in WebGL. If you can't run it for some reason, a recorded gif of the demo can be found here: https://github.com/Erkaman/wireframe-world . As for the implementation, it is not very difficult stuff; I divide up the world into chunks(just like in Minecraft), and as the camera traverses the world, the chunks that become out of range are thrown awa…
The .js file is over 10,000 lines of code. How did it get so bloated from your 450 lines of code?
Re: Show HN: A simple infinite world in WebGL
#19Re: Show HN: A simple infinite world in WebGL
#20In this demo, I implemented an infinitely continuing, vaporwave-like world in WebGL. If you can't run it for some reason, a recorded gif of the demo can be found here: https://github.com/Erkaman/wireframe-world . As for the implementation, it is not very difficult stuff; I divide up the world into chunks(just like in Minecraft), and as the camera traverses the world, the chunks that become out of range are thrown awa…
It starts visually glitching out after 10 seconds or so, for me. Doesn't really ruin the experience, but as it appears to get more pronounced with time, I don't think we'll reach infinity. :)