Hacker News
Rayshader 1.0: Exit the Matrix
phpp
|next
[-]
I've been building something similar with https://worldkit.build. It's a pipeline that turns OpenStreetMap, USGS elevation and lidar data from the U.S. Geological Survey into an open world game in Godot (starting with San Francisco). I then use LLMs to model individual buildings, which was pretty successful in a previous project https://grandtreasureisland.vercel.app.
Your detailed write-up is very helpful. I encountered similar problems with interchanges, ramps and water level, and I may end up borrowing some of your solutions. ;-)
One question: have you tried using USGS 3DEP lidar point clouds for roads as well? I use them to set the height of elevated freeways in downtown San Francisco. I still haven't got the ramps to join up nicely, which is where your solver comes in.
allthetime
|root
|parent
[-]
The loading process was… not good though, on an iPhone. You need to add some progress bars. I have a fast connection but it just hangs around compiling shaders for a long time not giving you an idea of how long that will take and then I got hit with “gl context lost please refresh page” error prompt and then I did and it loaded much faster but then force reset the page near the end of loading and then did it all over again. Finally, I was dropped into the game (which looks and feels good)
vintagedave
|next
|previous
[-]
There's a line there about beauty being table stakes and I think it shows.
tylermw
|root
|parent
[-]
jcheng
|next
|previous
[-]
augment_me
|next
|previous
[-]
KeplerBoy
|root
|parent
|next
[-]
Shoulders of giants and all that.
striking
|root
|parent
|previous
[-]
Seems a false dilemma to me when you could point the LLM at a library and get your desired output in minutes rather than hours (and potentially improve the library for folks if it doesn't produce your intended result exactly).
augment_me
|root
|parent
[-]
tylermw
|root
|parent
[-]
You could probably one-shot a convincing terrain demo. forge3d (https://github.com/milos-agathon/forge3d) is already an attempt to vibe-code a Python recreation of rayshader. Getting to parity means recreating or integrating the whole spatial data stack, from projections and raster alignment to vector overlays, meshing, and 3D rendering. That gets complicated fast once you start throwing real data at it. The repo’s commit history gives you a sense of what “vibe-coding rayshader” actually entails.
Separately, the roads in rayshader generally look good out of the box. They don’t have to be perfect to be useful.