3D ggplots with rayshader
summary
A pipeline converts a ggplot into a 3D surface by extracting a grayscale height matrix and feeding it to rayshader’s plot_3d so a single call like plot_gg produces a textured mesh; color or fill aesthetics both work and layered ggplots can supply separate texture and height. Rendering uses rgl rasterization for fast previews and rayrender path tracing via render_high_quality for photorealism (expect ~6–8 hours for a 12s path-traced movie and heavy CPU load). Camera motion, depth‑of‑field and 3D model overlays are supported.
AI-written summary · about
chapters (24)
- 0:00Introduction
- 1:15What is Ray Shader
- 1:47Ray Tracing
- 2:40hobart
- 3:47mapping
- 3:58types of 3D plots
- 4:42avoiding 3D plots
- 5:34survey
- 6:00Blender
- 6:28Issues with Blender
- 7:04Learning Blender
- 7:53Surface Plotting API
- 8:27What is ggplot
- 9:19Plot 3D
- 11:04Render Camera
- 11:35Render Snapshot
- 11:56Titles
- 12:27Redundancy
- 13:36Complex Visualizations
- 14:24Path Tracing
- 15:07Render
- 15:53Light
- 17:25Example
- 18:07Summary
related talks
34mVisualising Multi Dimensional Data
12mImportance of Texture on Graphs
13mState of the a-R-t - Advances in mapping in R
18mFrom idea to code to image: Creative data visualizations in R
21mGetting more out of Matplotlib with GR
30mFrom plotting to chart porn - Creating slick charts with Matplotlib
19mCracking open ggplot internals with {ggtrace}
05mVisualizing distributions and uncertainty using ggdist
