1,012 karma · joined January 8, 2018
https://hub.packtpub.com/mapzen-an-open-source-mapping-platf...
[1] https://viewer.nationalmap.gov/basic/ [2] https://dwtkns.com/srtm30m/
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 :)
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
"It's not just that scientists don't want to move their butts, although that's undoubtedly part of it. It's also that they can't. In today's university funding system, you need grants (well, maybe you don't truly need them once you have tenure, but they're very nice to have).
So who decides which people get the grants? It's their peers, who are all working on exactly the same things that everybody is working on. And if you submit a proposal that says "I'm going to go off and work on this crazy idea, and maybe there's a one in a thousand chance that I'll discover some of the secrets of the universe, and a 99.9% chance that I'll come up with bubkes," you get turned down.
But if a thousand really smart people did this, maybe we'd actually have a chance of making some progress. (Assuming they really did have promising crazy ideas, and weren't abusing the system. Of course, what would actually happen is that the new system would be abused and we wouldn't be any better off than we are now.)
So the only advice I have is that more physicists need to not worry about grants, and go hide in their attics and work on new and crazy theories, the way Andrew Wiles worked on Fermat's Last Theorem."
(new comment right below)
"Let me make an addendum to my previous comment, that I was too modest to put into it. This is roughly how I discovered the quantum factoring algorithm. I didn't tell anybody I was working on it until I had figured it out. And although it didn't take years of solitary toil in my attic (the way that Fermat's Last Theorem did), I thought about it on and off for maybe a year, and worked on it moderately hard for a month or two when I saw that it actually might work.
So, people, go hide in your attics!"
Show HN: A raytracer to shade, plot, and 3D print topographic maps in R, part 4 http://www.tylermw.com/3d-printing-rayshader/
Show HN: A raytracer to shade and visualize topographic maps in R, part 3 http://www.tylermw.com/3d-maps-with-rayshader/
Show HN: A raytracer to shade topographic maps in R, Part 2 http://www.tylermw.com/making-beautiful-maps/
Show HN: A raytracer to shade topographic maps in R http://tylermw.com/throwing-shade/
Previous posts:
Part 3
https://news.ycombinator.com/item?id=17697046
Part 2
https://news.ycombinator.com/item?id=17424061
Part 1
Everything here is produced and adjustable programmatically: need to change the highlight color in the texture? Just use the create_texture function with the colors. Want to tone down raytraced shadows? Decrease the max_darken value in add_shadow. Rotate the sun direction or the color of the water? It's all straightforward. This library is designed to be as seamless and flexible as possible, so you never have to leave R to produce a nice looking map.
GRASS does have a raytracing option, but if you look up the images produced by it--they aren't pretty. Much more of a functional API to see where actual shadows are falling, and not at all something to produce nice looking maps.
The real killer feature in rayshader is the seamless API for combining all of these layers. Being able to adjust the intensity of each layer individual, add water, change color and texture programmatically--no other software focuses nearly as much on the aesthetics of a great looking map.
I haven't found anything other than actual 3D modeling software that can produce similar-style hillshades--combining texturing, raytracing, local shadows, and ambient occlusion. What's great (in my highly biased opinion!) about this package is the ability to go programmatically straight from the DEM to a hillshade, without having to save the data and load it into Blender or something similar.
https://news.ycombinator.com/item?id=17065264
The feedback in that thread was great, and I ended up implementing several of the suggestions given in the comments. Thanks for all the help!
For the angle-to-brightness curve, one of my footnotes says:
"I believe his code only lacks a step that implements a minimum threshold on the slope before it gets colored--a step that would remove the problems seen in Figure 1 in flat areas."
With regards to misinterpretations:
"There's a tradeoff between realism and actual topographic information--real shadows can tell you about the relative height of two objects, but nothing about the slope of the land in the shadow itself."
(I also mention how you can adapt the rayshading technique for a local model that doesn't have that problem)
And later on in that paragraph, about subjectivity:
"Thirdly, cartography has an artistic and practical component, and it’s true what reliefshading.com said in the non-computational shade it threw at global models–sometimes, you need to tweak the direction of the light hitting a particular mountain or valley because it looks better."
http://www.tylermw.com/visualizing-a-reddit-hug-of-death-and...
http://www.tylermw.com/soma-water-filters-are-worthless-how-...