Creating Blender Python Scripts with ChatGPT AI [Quick overview of workflow]

preview_player
Показать описание
I've started playing around with using ChatGPT prompts to create Python scripts for use in Blender 3D. This is just a simple proof of concept, but imagine the possibilities! Creating fairly complex Blender scenes from a few paragraphs of plain text typed into ChatGPT.

In this video, with just a couple of sentences i was able to:
- create 50 UV Spheres
- distribute them randomly around a point, up to a specified radius.
- create a new texture named "water"
- apply the texture to all Spheres.

As you can see in the video, it only took the AI a few seconds to generate not just the code, but instructions in it's use. And when the code returned an error, it only took seconds for ChatGPT to find the error and patch it for me.

Very exciting possibilities! Rather than AI taking over the creative part, it's possible to use it to help you achieve your artistic vision much more efficiently. Less time typing, more time realizing your artistic vision.

Here's the prompt i used to create the code, feel free to try it yourself, and then start experimenting with your own!

"Please write a Blender 3D script that will create 50 UV Spheres, will distribute them randomly around the world origin in a maximum radius of 40 units and finally edit their materials as follows: Principled BSDF, Transmission: 1, Roughness: .1, IOR: 1.333. Please also name this new material "Water"."
Рекомендации по теме