All Questions
7
questions
0
votes
1
answer
43
views
Is there a way to change the active texture in texture paint mode using Python?
Is there a way to access the variable that is responsible for the active texture of a certain material for texture painting and change it?
It is better to use the image variable itself and not an ...
2
votes
0
answers
231
views
Stencil Texture : How to align it exaclty to the camera region by code?
I'm doing texture mapping with tracked stencil video texture.
The probleme is that I cannot place the stencil exatly at the size of the camera vieport/region when looking from the camera.
I have tried ...
0
votes
1
answer
445
views
Fill a UDIM tile with python API
I'm working on an addon that requires me to generate and fill UDIM tiles in a texture with the python API, however I am stuck at the point of filling the tile.
The following code creates a new tiled ...
0
votes
1
answer
54
views
How can a cube/ a group of cubes be painted?
Setup : Blender 2.82
I want to achieve something similar to what was represented below but through a python script.
If each cube here represents a pixel, what is the fastest way to change its color ...
0
votes
0
answers
327
views
Python 2.8 custom texture painting active tool
I'm working on a addon that has a custom active tool in the viewport. This tool is supposed to allow you to do basic texture painting, while at the same time doing some other stuff.
My problem is, ...
1
vote
0
answers
290
views
C++ plugin to edit image
I'm trying to make a c++ and python plugin (something like texture paint tools), but it's too slow because I have to rewrite pixel data (bpy.data.images[0].pixels) completely after every edit. How can ...
3
votes
0
answers
161
views
Exporting current frame from the Movie Clip Editor
I'm making some Camera Projection mapping in Blender.
The issue I have is that when I Paint my projections using the clone method (with multiple UV maps from view). It's working great except that I ...