I did some visualizations for a presentation on the topic of forest disturbances and ALS data. Combining two of my favourite R packages, *lidR* and *rayrender*.
#rstats #lidar #forests #lidr #rayrender
Proof of concept of a new rayshader feature progress coming along nicely! Implemented my own algorithm to turn straight skeletons into 3D models, allowing for automatic roof generation from polygons!
#rstats #rayshader #rayrender #dataviz
1/3 ‼️ New joint #rayshader #rayrender updates! {rayrender} was updated with `raymesh` support via the new `raymesh_model()` object, the mesh class used by {rayvertex}. {rayshader} was updated with `convert_rgl_to_raymesh()`, a function that converts the rgl scene to a `raymesh`. Which now means rayshader can `render_highquality()` and software render without touching the filesystem (meaning much faster renders) with a large intermediate OBJ file. How much faster are we talking?
Well... #RStats
What's hard about creating 3D bevels for 2D polygons? The topology can change as the bevel distance increases: for small distances the bevel is approximately the polygon shrunk inwards in the direction of the bisector of each angle, but as the distance increases, the "proper" bevel polygon can split into multiple polygons and the naive algorithm no longer works nicely.
However...
(animation created with #rayrender + #RStats #rayverse)
Beautifully beveled 3D polygons, coming to a rayverse package near you 😀
And something new is almost done cooking!
#rstats #rayverse #rayrender #rayshader
Look what arrived at my door! Well, more specifically, look what arrived several weeks ago and I’ve finally had the chance to start reading. Really excited to start applying some of the ideas and techniques in this book to #rayrender. With an average completion rate of about a page a night (thanks to my wonderfully demanding and incredibly active toddler) I should be ready to start updating rayrender with what I’ve learned in about… three years!😀
‼️Quick rayshader update (v0.35.1)! Added the ability to specify a color palette for 3D contour lines with either a function or a vector of colors.
#rstats #rayshader #rayrender #dataviz
Who said contour lines can't be the main attraction in a map? 😎
‼️New version of #rayshader released (v0.25.0)! 3D contours! Add floating 3D contours to your scene, which provides nicer-looking contours for terrain with steep hills. It also allows you to make funky glowing contours using #rayrender, if that appeals to you :)
#rayshader #rayrender #rstats #dataviz
Contours get a glow up (literally)
And people think the clouds are in the sky 🤣
---
RT @tylermorganwall
New #dataviz! The Earth's submarine fiber optic cable network, visualized in #RStats with #rayrender.
Code:
https://gist.github.com/tylermorganwall/b222fcebcac3de56a6e144d73d166322
Rayrender Github:
https://github.com/tylermorganwall/rayrender
https://twitter.com/tylermorganwall/status/1440669533157556227
Ride the ridgewave...