A Blender Python script that automaticly generates images to showcase 3D Model.
This is how to use it.
-
Open up the python script called "Generate_360.py" in Blender and go the scripting tab.
-
Call the setup(object_name) function with the name of the 3D Object that is the highest on the z axis. In my case its "hair", so call I call setup("hair")
Make sure to call this function first and wait for it execute before calling or doing anything else.
-
We either run the function go_into_camera_view() to go into camera view or just press 0 on numpad. Make sure, you no longer call the "setup()" function. Comment it out with #
-
Then we can run the preview_360(shading_type) function with the shading type: "MATERIAL", "WIREFRAME" or "RENDERED"
And once we do that, we will create 3 folders and in those you will see the images.
So in short: 1' Run setup("hair"), wait for it execute then comment it out with #. 2' press 0 on numpad. 3' run preview_360("WIREFRAME")
You can check out the Youtube video how I made it and how to use it