Blender 2.8 Tutorial : GPU Python Addon API

preview_player
Показать описание
This is a new Blender 2.8 Python tutorial in which I show how I use the Python API and the Gpu module to draw into the 3D view.

As an example implementation I use a panel that can be dragged with the mouse.

The addon is free and you can get it from my github:

This is a first prototype, please add your ideas for new features and suggestions for improvements to the comments below, I really would like to extend it with new widgets for example.

See my social profiles here

#blender28
#python
#blender
#addons
Рекомендации по теме
Комментарии
Автор

Very interesting to see what you can do with 2.8 and new python api, and all that with the api not complete yet. well done !

LlucD
Автор

You are the Brian of blenders life XD
Your python explanations are amazing
Tanks for sharing

jleao
Автор

I've thought for a while it should be possible to use these APIs to get some sane UI programming in Blender. Unfortunately the Blender core developers don't want Addons to create new UI or new functionality, and instead only allow us to extend functionality. I respect their thinking, but I do not like it. Blender is on the brink of becoming an application development framework, and by now the core developers have to actively resist to stop it from happening.

Andreas-ghis
Автор

This is such a very interesting Blender tutorial I love it.

Numocron
Автор

Pretty nice and useful tutorial. Thanks for sharing!

TheJobCompany
Автор

@Jayanam I was thinking... is this drawing of 2d objects limited only to the 3d viewport?
I want to add some visual element to other sections of the UI...like timeline for example.Is it possible or this is just limited to the 3d view?

NikolaNevenov
Автор

Could this bar be used as a progression for baking/rendering while the rest of the UI freezes?
Thanks.

AF-bcvr
Автор

hello how can i add contextmenuitems to existing context menus ? specifically the add keyframes menu ?

and i need to add a simple dropdown list to the timeline buttons bar so i dont have to change keyframe type in the preferences but directly on the timeline

gokuyoutub
Автор

Hi, As I align the rectangle from the upper left corner, because when I change the size of the blender window the text is aligned in this way, but the rectangle is always aligns from the lower left corner

mychaeldouglas
Автор

Would be cool if some kivy framework could be integrated.

martinezfg
Автор

Thank you, it's great. But it is too advanced. There are so many custom classes in scripts making it difficult to understand for me.😭

KisukeUrahara-fm