Rayshader – An open-source R package for producing 2D and 3D hillshaded maps
rayshader.com
rayshader.com
http://tylermw.com/throwing-shade/ HN comments: https://news.ycombinator.com/item?id=17065264
http://www.tylermw.com/making-beautiful-maps/ HN comments: https://news.ycombinator.com/item?id=17424061
http://www.tylermw.com/3d-maps-with-rayshader/ HN comments: https://news.ycombinator.com/item?id=17697046
http://www.tylermw.com/3d-printing-rayshader/ HN comments: https://news.ycombinator.com/item?id=17851229
http://www.tylermw.com/portrait-mode-data/ HN comments: https://news.ycombinator.com/item?id=18282640
Fwiw, you can optimize your height map / grid traversal [1] quite a bit. There don’t need to be any ceil/floor calls within the inner loop if you do a “3D DDA” iteration (like Bresenham’s for lines but in 3D).
We used to have good slides on this from Steve Parker’s CS 6620 at Utah, but modern versions of the class seem to use OptiX instead. Some folks put their code up online, so if you search for CS 6620 and height map or terrain you might find it. Useful for volume rendering too!
[1] https://github.com/tylermorganwall/rayshader/blob/master/src...
These beautiful 3D shaded relief maps have been going past in my social feeds recently - https://scottreinhard.com/Mapping-and-Visualization - seems like your tool could be used to make something similar without requiring familiarity with 3D modelling packages (Blender I think).
One of the main motivations behind developing rayshader was to democratize mapping--forcing people to become proficient in not one but two highly specialized software suites (any GIS software + blender) really made beautiful mapping unattainable for most. Plus, I just dislike GUIs in general, and wanted a code-based solution for map making :)
It would be cool to combine this with some kind of classifier for surface types and simulate water, glass, reflections, sub-surface scattering (basically other types of materials).
Have you played with any of the new hardware raytracing API’s from Nvidia RTX stuff?
[1] https://viewer.nationalmap.gov/basic/ [2] https://dwtkns.com/srtm30m/
While at Mapzen (RIP), I helped generate these from a wide selection of open elevation data sources.
https://hub.packtpub.com/mapzen-an-open-source-mapping-platf...