Extending the Solar System Generator: Custom Planet Shapes with Closures (Patreon)
Downloads
Content
This one picks up right where the last solar system generator build left off. I'm taking the same planet and asteroid belt bundles and adding closures into the mix so you're no longer stuck generating round planets, you can define any shape you want, right from the bundle itself. I walk through swapping the hardcoded icosphere for an Evaluate Closure node, passing the whole planet bundle in so you can pull any data point you need, setting up a fallback so planets without a custom closure just default to a sphere, and then building an actual square planet as a working example. It's a good look at how closures let you push the "how do I build this" logic out of your core nodes and into your data , so your generator stays clean no matter how weird your planets get.
The updated .blend file for this build is attached below for you to download and dig through. Let me know what shapes you end up throwing into your own solar systems.