All Questions
4
questions
0
votes
0
answers
13
views
Save an image of an area by it's index [duplicate]
General Question: Is there a way to capture a raw image, so no overlay or gizmo, of an area within Blender only by its index?
I would need a script that writes the pixels of the area to an image ...
0
votes
0
answers
29
views
Copy framebuffer of 3D View into image
General Question: How can I copy the frame buffer of the currently active viewport to an image within Blender?
The following link already addressed the question, however it utilizes a modal operator ...
3
votes
3
answers
1k
views
How to make rounded corners for 2d rectangle with a custom shader?
Does anyone know how to make rounded corners for a 2d rectangle with a custom shader?
...
4
votes
1
answer
357
views
2D 'POST_VIEW' drawing with gpu.types.GPUShader(vertex_shader, fragment_shader)
I can use gpu.shader.from_builtin("2D_UNIFORM_COLOR") to draw a square to a view (the nodeview), and give it a single color, but I want to use a custom shader. Does ...