Learn to Make 3D Maps with Light Bubbles using rayshader in R
ฝัง
- เผยแพร่เมื่อ 6 ก.ย. 2024
- In this video, we will explore how to add light materials to the Global Power Plant database and render amazing scenes with R: using rayshader and rayrender packages, transforming the data, adjusting the lighting parameters, and creating realistic 3D graphics with simple code.
Check the full code in my GitHub repo:
github.com/mil...
Follow my work on Instagram:
/ milos_makes_maps
Let's connect on X:
/ milos_agathon
If you like my work, consider buying me a coffee:
www.buymeacoff...
Comtrade website:
comtradeplus.u...
Music credits:
---------------------------------------------------------------------------------------------------
Music By: [non copyright music] massobeats - warmth (lofi aesthetic music)
Original upload HERE - • massobeats - warmth (r...
Thank you, this is very exciting work. One comment/request: you're walking us through the code here, but the code is easy to understand. What's difficult is the process of choosing what you want the image to look like - the drafting, brainstorming, color choosing, etc. That's especially true with rayshader, because it takes so long to render the high quality version. It would be nice to see a tutorial that included more of the decision-making process.
Love your 3D tutorials Milos, great job!
Happy you love it, Aleks!
Fantastic. I saw one guy who does the Lighthouse of ship control tours on Twitter, it is good to see how to apply it in R. Thanks alot.
I'm really happy that my tutorial helps you uncover exciting data visualizations out there on social media
Absolutely stunning! Thank you for sharing!
Great. I was wondering how to make this type of map and now I know. Thank you very much. Does the same code apply to other geometries such as linestring? Which represent roads or railways.
Thank you, Luis! That's a great question! Frankly, I haven't tried it on the lines yet. If it doesn't work, I'll prepare a new tutorial
Thank you Milos.
Thanks for the great tutorials!
One issue I'm having is that the window is rendering in XQuartz and renders well... but as soon as it finishes rendering the window disappears. The other, lower res one (light with the orange dots) remains but not the dark one with the lights.
Do you know the solution?
If it creates an image in the process, then it is expected that the rendering window will close
@@milos-makes-maps Hi there, thank you!
I had a bit of an issue with rendering at higher resolutions. It seems to crash R at anything under factor 5. Do you know a good way around this happening?