There have been a number of posts asking for some 3D modeling in Krita for the sake of manikins, etc (e.g. [1]), but I have a better idea I think would work. Rather than trying to integrate 3D with Krita, I believe it would be feasible to use dbus to communicate with Blender. This could have the following uses:
- Allowing Krita to send image data to Blender to allow for texture painting (something that Blender lacks)
- Allowing Blender to send 3D render data (even quick render) to Krita to allow for a “live” manikin edited in Blender.
To implement this, the Python dbus library can be used for both Blender and Krita. You can quickly look up using Python dbus on ChatGPT, so I won’t expand on it here.
The benefits of using this system would be great because then we could take advantage of all each program has to offer. The programs would exchange images, not complex data, data we can stick in a FIFO. If one program changed its data, e.g. moving the camera in Blender, it would notify the other and update the FIFO. Note too that most people would only want the simple object-view or camera view from Blender and not the fancy render (at least not at first).
Using dbus, of course, is limited to *nix distros, but if it’s all Python, then we don’t need to worry about a messy binary on Windows.
Finally, the API development requires knowledge of Blender Python as well. For a more permanent solution, communication with the Blender team would be good, although Blender allows running Python scripts within it, so we could always test things there.
Thoughts? Comments?