Questions tagged [gpu-module]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
32 views

How long should the Blender BMW demo file take to render? [closed]

This is a different question. But I didn’t know where else I should have asked. I tried rendering the Blender BMW demo file (in cycles, with GPU) and the render took 37 minutes and 48 seconds. The i ...
0
votes
0answers
30 views

why bgl meshes flip when nothing is selected?

As described in API the following script will create a mesh from active object using bgl module: ...
1
vote
0answers
26 views

How to remove drawing with gpu module in blender?

I have drawn some points with the GPU module of Blender and I need to draw other things in an empty window without closing Blender. But I don't know how to remove all these points with codes. It seems ...
1
vote
1answer
70 views

Display series of 2D squares using GPU Shader Module

My addon makes measurements on objects and assign a color to the objects according to the measured value. Now I would like to display a series of stacked coloured squares in the viewport to serve as a ...
0
votes
0answers
11 views

add a model generated by GPU python module to Scene Collection

I tried to run a few of the examples provided for the python API GPU Shader Module (https://docs.blender.org/api/current/gpu.html). I noticed that the objects are added to the Viewport but i do not ...
0
votes
0answers
85 views

Select OptiX using Python api

When i select CUDA in the preference using Python api, blender can be run in my server with rtx 8000, but when i select OptiX using Python api, blender only run in CPU. Can anyone help me please? I ...
5
votes
1answer
529 views

How do you use the GPU offscreen render API in 2.8?

For a while now in blender there has been this GPU Off-screen renderer; however, I think it has changed a bit in 2.8, and plus, I never even knew how to use it before. Basically I want to be able to ...
0
votes
0answers
99 views

Joint GPU Shader Module and Viewport Rendering

Running one of the examples provided in the GPU Shader Module documentation works as expected. For example: ...
1
vote
1answer
192 views

How to draw RGBA 2D image in 3d_view with gpu module (or without)?

I just copied and pasted from https://docs.blender.org/api/current/gpu.html#d-image: ...
2
votes
0answers
128 views

Removing space draw callbacks after losing the handle?

A small edit of test code from GPU Shader Module (gpu) "Mesh with Random Vertex Colors" to save the handle to the driver namespace ... ...
5
votes
1answer
306 views

Transparency in Blender 2.8 GPU Python Module

I've been messing around with the new GPU python module in Blender 2.8. But I cannot find a way to make my lines and triangles transparent. The alpha channel is completely ignored. I even tried it ...