Krita View3D Plugin
The View3D plugin for Krita provides a "docker"
for rendering a JTF
mesh using the currently active document as a texture. In
addition it provides some very basic backprojection from
the rendered view to the texture which can be used to assist with
painting on 3D models.
The functionality provided by the current version is:
- View the current document as a texture on a JTF mesh
- Use the mouse buttons to rotate (left), pan (middle) and
zoom (right) the view
- Toggle filtering and shading for the model
- Use alt+left button on the model to draw "blobs"
on the active layer
- Use "To Image" button to make a new image with
the current viewport render (with the model rendered in its own
layer with alpha channel)
- Use "From Image" button to backproject the "Paint
Here" layer from the last created image with "To Image"
to a new layer in the current document
- No undo/redo for image modifications (this is a Krita limitation)
- Due to the way backprojection is done, there is little precision
and "gaps" can be created when the projected pixels
are too zoomed out
- To avoid this, zoom in to the area you want to edit on the
model as much as possible
- As this is written in Python and it needs to process a lot
of pixels in loops, backprojection can be slow
- The OpenGL code needs support for GL_EXT_gpu_shader4 in compatibility
- This should not be a problem with modern AMD and Nvidia cards
but some Intel cards may not provide this
- Windows users: you must switch from
Direct3D 11 / ANGLE renderer to OpenGL renderer
in Krita's settings (Settings -> Configure Krita
-> Display -> Preferred Renderer) otherwise
the plugin will show an error while starting up Krita!
You can watch a
YouTube video that shows some basic use.
To install put the view3d directory inside the pykrita
directory in your Krita resources (e.g. ~/.local/share/krita/pykrita).
If you are not sure where that is, open the Settings menu,
select Manage Resources and then click the Open Resource
Folder button in the bottom right corner of the window that