
I’ve already discussed the benefits of this approach in other articles roughly put, procedural generation is about defining a set of rules and a machine that uses those rules to automatically create valid instances. Today, we’ll focus on generating objects thanks to this API, so we’ll be doing some procedural generation. bpy.ops: that’s the real meat of the API – it’s what allows you to perform actions and call operators on your objects or your views it’s basically how you can simulate user actions via scripting (like selecting an object, entering edit mode, applying subdivisions, changing to “flat” shading, maximising a window…).bpy.data: it gives you access to the resources in your scene (the objects, the materials, the meshes…) so you can load, add or delete them.the panel in your window) that is currently being accessed


BLENDER ANIMATION CODE
Today, I want to show how this programmatic approach to Blender allows you to instantly create a basic solar system like this one:Īre you ready? Then let’s dive in! 🙂 If you want to get the code directly,i t's available as a Github gist 🚀 But Blender, just like its competitors, also has another side for developers: a way to program your 3D scenes.
BLENDER ANIMATION SOFTWARE
So, yes – at first, CGI software is primarily aimed at artists. This has introduced a profound change of mindframe in the world of 3D because it showed people that anyone could try and have a go at this form of art and that it could achieve pretty incredible results.


BLENDER ANIMATION FREE
… while it is completely free and open-source! Did you know that you could program in Blender to automatically create 3D objects and animations?īlender is a well-known piece of software for 3D modeling, sculpting, texturing, animation and more! As the versions kept on coming out, this tool has slowly earned its place in the CGI industry, so much so that there are now a few long-feature films that are made entirely using Blender and that there are Youtube channels like Blender Guru entirely dedicated to learning the ins and outs of this soft…
