Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tylermw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
151.
▲
Show HN: An open source R package to add depth of field to images
(tylermw.com)
4 points
by
tylermw
8y ago
|
3 comments
152.
▲
by
tylermw
8y ago
Author here: this is the fourth entry in a series of posts where I describe the development the R package `rayshader`. Previous posts: Part 3 https://news.ycombinator.com/item?id=17697046 Part 2 https://news.ycom
153.
▲
Show HN: A raytracer to shade, plot, and 3D print topographic maps in R, part 4
(tylermw.com)
4 points
by
tylermw
8y ago
|
1 comments
154.
▲
by
tylermw
8y ago
Go for it!
155.
▲
by
tylermw
8y ago
Great to hear! Would love to see what you end up using it for!
156.
▲
by
tylermw
8y ago
Author here: This is the third post is a series on what was originally just a ray tracer to shade topographic maps, but has now evolved into a tool to more generally visualize elevation and bathymetric data.
157.
▲
Show HN: A raytracer to shade and visualize topographic maps in R, part 3
(tylermw.com)
42 points
by
tylermw
8y ago
|
5 comments
158.
▲
by
tylermw
8y ago
I'll be sure to put it on my list! The American west's landscape is just incomparable to anywhere else in the country. I'm an east coaster myself, but nothing out here compares to the beauty and grandeur of the canyons, mount
159.
▲
by
tylermw
8y ago
It really was fantastic! If it wasn't for the massive crowds constantly pushing you towards the Sistine Chapel, it would be a great place to spend an hour or two just admiring the small details in each map.
160.
▲
by
tylermw
8y ago
I have indeed! HN user "CyberDildonics" commented with a link to it in the original post. Would be useful if I ever move from bilinear interpolation to determine surface intersection to tessellation.
161.
▲
by
tylermw
8y ago
You can certainly throw something into actual 3D rendering software and get something similar--if you know how to use it! That's the point. This is a way to go straight from DEM to beautiful map, without having to teach yourself Blende
162.
▲
by
tylermw
8y ago
GDAL does has hillshading routines (gdaldem hillshade), but it does not have the raytracing, spherical UV shading, or ambient occlusion layers included in rayshader. It's hillshading routine is basically the rayshader's lamb_shade
163.
▲
by
tylermw
8y ago
Author here--This is a follow-up to my last post, here: 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. Than
164.
▲
Show HN: A raytracer to shade topographic maps in R, Part 2
(tylermw.com)
76 points
by
tylermw
8y ago
|
13 comments
165.
▲
by
tylermw
8y ago
Just write articles that you would find interesting to read--don't worry about the subject. I like reading technical articles that have lots of illustrative figures and modest amounts of interactivity, so that's how I write.
166.
▲
by
tylermw
8y ago
I do address all of your concerns in the article. 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
167.
▲
by
tylermw
8y ago
First time I've heard of QGIS, so nope! But it looks like they support C++ plug-ins, so it wouldn't be hard to port it over. Don't know anything about their approval process, though.
168.
▲
by
tylermw
8y ago
Check out the last few posts on my blog! I use this method a few times to help demonstrate points: http://www.tylermw.com/visualizing-a-reddit-hug-of-death-and... http://www.tylermw.com/soma-water-filters-ar
169.
▲
by
tylermw
8y ago
Thanks! I drew the frames in Inkscape and animated them together using the Scrollmagic JavaScript library.
170.
▲
by
tylermw
8y ago
I'll look into that, thanks for the note. My Imagemagick knowledge is by far my weakest link.
171.
▲
by
tylermw
8y ago
One thing I didn't mention in the article are a few optimizations I made that make it significantly less than O(row * col * light_count * dist). First, if the ray exits the map region (either by going higher than the highest point on t
172.
▲
by
tylermw
8y ago
If you missed it, the github repo for the R package is located here: https://github.com/tylermorganwall/rayshader
173.
▲
by
tylermw
8y ago
Thanks for the comment! It's pretty incredible what you can do with raytracing nowadays, using only open source software.
174.
▲
Show HN: A raytracer to shade topographic maps in R
(tylermw.com)
198 points
by
tylermw
8y ago
|
47 comments
175.
▲
Build better experiments with skpr
(github.com)
1 points
by
tylermw
9y ago
|
0 comments