Programming Blender Addons with Python that rock
Вставка
- Опубліковано 13 лип 2024
- In this Python programming tutorial I show how to code Blender addons that rock. I register 2d and 3d drawing callbacks that you can use to draw into the viewport and then use bmesh to create meshes on the fly.
Join this channel to get access to perks:
/ @jayanam
See my social profiles here:
Instagram: / jayanamgames
Twitter: / jayanamgames
Facebook: / jayanamgames
Patreon: / jayanam
Merch Store: teespring.com/de/stores/jayan...
Production Music courtesy of Epidemic Sound: www.epidemicsound.com
This was amazing. Thank you!
Thx m8!
🔥💕👍
Thats nice! The retopo addon is much more advanced, why create something similar?
... also, Retopo addon is actually going to be rewritten as a core Blender functionality!
Awesome. Is the code available?
Dude, how did you setup vscode for blender, Everytime I use it I always get error squigles
I use the Blender extension from Jacques Lucke.
thanks, mate
How are ayou able to use raycast without dephsgraph? I was updating an old addon which use raycast to see what kind of mesh was hit, in bl 2.79 this seemed much easier, now we need to use depsgraph for each mesh instance in order to get it. Im just wondering how you are to get past that. Its kinda interesting i can get the same sort of result without it. Im trying to update RigUI addon. i got most of it working only the material picker not, its kinda of a weird setup how thats done.
Ow i commented to soon, i see you also use it. Seeing this, i think i added it badly. I added it per mesh object which is being duplicated on the fly, once it hits then the rest gets deleted. Its kinda of a weird way how the original dev implemented a material picker. I made a simple operator for linking materials.
I doubt i could use this approach. Because he duplicates all meshes it need dephsgraph on each single duplicated mesh i believe. He used the old to_mesh function but that has issues now with 2.93 and up
PS when are you calling get_vertices? i see the function being declared, but i dont see it being called? i only see self.__vertices? Same goes for that appened function, i dont see it being called neither?
Sorry, again i commented to soon. You use that function in a different file. I was looking in that same file.
How are you assigning the function get_vertices to self.points, i didnt see where that was done?
Found it, i was pausing skipping and then forgot you assigned that custom object VertexContainer to self.points thats how points had that function get_vertices() @3:21
I guess I will add the code and functionality to JSculpt, will see.