[{"data":1,"prerenderedAt":188},["ShallowReactive",2],{"project-17424061":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":29,"sentiment":30,"stance_mix":31,"scored_comments":34,"aspects":35,"strip":38,"post_text":30,"what":41,"said":62,"maker_in_thread":108,"shape":120,"grid":123,"attempts":152,"same_week":153,"maker_shows":39,"maker_hidden":181,"reader_version":182,"card":183},"17424061","rayshader","A raytracer to shade topographic maps in R, Part 2","title","Show HN: A raytracer to shade topographic maps in R, Part 2","http:\u002F\u002Fwww.tylermw.com\u002Fmaking-beautiful-maps\u002F","tylermw.com","tylermw",1530274992,2018,76,13,570,2155,27,"notable","creative","map rendering","library",[24,25,26,27,28],"r package","topographic maps","hillshade","raytracing","dem","quiet",null,{"positive":32,"neutral":33,"mixed":32,"critical":33},0,2,4,{"performance":36,"idea":37},{"positive":32,"critical":32},{"positive":32,"critical":33},[32,32,32,39,32,39,32,40,32,40,32,32,32],3,1,{"problem":42,"audience":30,"pricing":30,"motivation":52,"time_to_build":30,"stack":56,"openness":61,"stage":61,"team_size":61},{"value":43,"source":44,"evidence":45},"Producing good-looking hillshaded topographic maps from elevation data without leaving R or using 3D software","maker",[46,49],{"id":47,"by":11,"text":48},"17433933","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…",{"id":50,"by":11,"text":51},"17433906","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…",{"value":53,"source":44,"evidence":54},"Maker wants map aesthetics controllable programmatically; existing tools were functional rather than beautiful",[55],{"id":50,"by":11,"text":51},[57],{"value":58,"source":44,"evidence":59},"R",[60],{"id":47,"by":11,"text":48},"unknown",{"praise":63,"objections":69,"requests":84,"questions":85,"alternatives":93},[64],{"value":65,"source":66,"evidence":67},"Rendering-quality maps directly from DEM data in R","commenter",[68],{"id":50,"by":11,"text":51},[70,77],{"value":71,"source":66,"evidence":72},"Existing GIS tools like GDAL and GRASS could do similar work",[73],{"id":74,"by":75,"text":76},"17430515","growlist","Without wanting to be deliberately picky, I'm not sure I see anything here that could not be done with a few clicks\u002Fcommands in a dedicated remote sensing\u002Fraster analysis…",{"value":78,"source":66,"evidence":79},"Blender can produce path-traced results",[80],{"id":81,"by":82,"text":83},"17429885","bufferoverflow","Why not throw it into Blender and get an actual pathtraced result. Here's a quick render I made: https:\u002F\u002Fi.imgur.com\u002FGBTjJUm.jpg Notice the correct soft self reflections on the…",[],[86],{"value":87,"source":66,"evidence":88},"Whether relaxed cone mapping or shader techniques could speed up the approach",[89],{"id":90,"by":91,"text":92},"17431372","AboutTheWhisles","Are you aware of the work that has been done with shaders to trace through depth maps in real time?…",[94,99,104],{"value":95,"source":66,"evidence":96},"GDAL (gdaldem hillshade)",[97,98],{"id":74,"by":75,"text":76},{"id":50,"by":11,"text":51},{"value":100,"source":66,"evidence":101},"GRASS raytracing",[102,103],{"id":74,"by":75,"text":76},{"id":50,"by":11,"text":51},{"value":105,"source":66,"evidence":106},"Blender",[107],{"id":81,"by":82,"text":83},{"comments":109,"answered":40,"key":110},6,[111,114,117],{"id":112,"text":113},"17424073","Author here--This is a follow-up to my last post, here: https:\u002F\u002Fnews.ycombinator.com\u002Fitem?id=17065264 The feedback in that thread was great, and I ended up implementing several…",{"id":115,"text":116},"17433989","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…",{"id":118,"text":119},"17434001","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…",{"commenters":121,"max_depth":39,"maker_replies":109,"first_comment_mins":39,"lifespan_hours":122},7,40,[124,126,130,131,135,136,138,140,142,144,145,149,151],[112,32,32,125,11,40],"project\u002Fneutral\u002Fnone",[127,32,32,128,129,32],"17429298","other\u002Fneutral\u002Fnone","danielvf",[115,32,32,128,11,40],[132,32,39,133,134,32],"17429992","maker\u002Fneutral\u002Fnone","Theodores",[118,32,32,128,11,40],[90,32,39,137,91,32],"project\u002Fneutral\u002Fperformance",[139,32,32,137,11,40],"17433970",[74,40,40,141,75,32],"project\u002Fcritical\u002Fidea",[50,40,32,143,11,40],"project\u002Fpositive\u002Fidea",[81,33,40,141,82,32],[146,33,32,147,148,32],"17430469","commenter\u002Fneutral\u002Fnone","tniemi",[150,33,32,147,91,32],"17431380",[47,33,32,143,11,40],[],[154,159,164,168,172,177],{"id":155,"name":156,"points":157,"category":158},"17449810","Termtosvg",767,"dev_tools",{"id":160,"name":161,"points":162,"category":163},"17430397","GCSF",374,"infrastructure",{"id":165,"name":166,"points":167,"category":20},"17425278","The Program",162,{"id":169,"name":170,"points":171,"category":20},"17414961","Shotsnapp",146,{"id":173,"name":174,"points":175,"category":176},"17450974","GraphCMS",115,"web_saas",{"id":178,"name":179,"points":180,"category":158},"17456720","Snibox",84,false,"v2",{"id":184,"name":5,"line":6,"ai":181,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":30,"top":18,"kw":185,"maker":11,"domain":10,"tier":19,"attempts":32,"strip":186,"url":9,"mix":187,"praise":65,"objection":71,"sub":21},17424061,[24,25,26,27,28],"0003030101000",[32,33,32,33],1793990976138]