All Questions
6
questions
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 ...
10
votes
2
answers
2k
views
Copy framebuffer of 3D View into custom frame buffer
General question: Is there a reliable way to directly access the OpenGL framebuffer of a View3D for copying?
(Please see the end of the post for more detailed questions)
I need a very fast way to copy ...
3
votes
0
answers
140
views
How do I use Bgl?
So my question is:
I understand nothing about openGl api, that's super confuse to me, Where do I start?
I did get that I need to append a callback to a draw handler and remove it to enable/disable my ...
3
votes
0
answers
175
views
Could not Render Loaded Texture in 3D View by bgl module
I wrote below scripts to render texture already loaded by blender.
However, no images are rendered on 3D View.
This code works correctly when I run this script on blender 2.70.
But, this script ...
4
votes
1
answer
181
views
Why do (bgl) exceptions in modal crash blender
No matter what I type into the console, or execute from the text buffer, blender shows an error but continues on as usual. However, I recently noticed that many exceptions (involving bgl callbacks) ...
2
votes
1
answer
1k
views
Add new parametric curve object/type using Python
I'm thinking of implementing an add-on (using Python) for Lagrange curves. In short (after an instance has been added), in Object Mode there should just be a curve (...