All Questions
4
questions
2
votes
1
answer
95
views
Drawing a circle that faces towards the view with GPU/BGL?
Im trying to draw a circle using the GPU/BGL module that appears on a given certain 3D position (in my example, the cursor's location) and, when drawing, it points towards the current view.
I'm using:
...
1
vote
0
answers
218
views
Custom render engine - creating material previews with OpenGL?
I'm working on a custom render engine through a Python addon that uses the bgl module for most of its rendering. bl_use_preview ...
4
votes
2
answers
2k
views
Fastest way copying from bgl.Buffer() to numpy array
I have some rendered or processed pixel data in a bgl.Buffer() object and need it in a numpy array but that proccess seems to take very long. Here is what I have tried so far:
...
0
votes
1
answer
87
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:
...