Questions tagged [opengl]
Questions about OpenGL (Open Graphics Library) OpenGL is an API used to render real-time 2D and 3D graphics. Blender uses OpenGL for drawing the user interface, 3D view, and the game engine.
103
questions with no upvoted or accepted answers
1
vote
0
answers
228
views
bgl Hello Triangle Blank Screen
This code should draw the "Hello Triangle" (1) that everyone starts off with but it's not showing up. Since it's in Blender, I used (3) as a reference for when to draw. That's why the code itself ...
1
vote
0
answers
2k
views
Big problem when exporte normal map from Substance Painter to Blender
I need help.
I have this problem when I export a normal map from Substance Painter to
use in Blender.
As you can see in the images it show some dark spots in the object, and
it looks worse at ...
1
vote
1
answer
4k
views
Running Blender under Virtualbox
I setup a VirtualBox machine under Windows for dev related stuff (python, visual studio etc), everything works except that I cant run Blender :( it crashes with
...
1
vote
0
answers
241
views
Is there a way to make Blender 2.8 STOP checking my OpenGL version?
My OpenGL version is just fine, but when Blender checks, it gets a bad result because I'm running via Remote Desktop. This wasn't too bad in previous versions because Blender only checked once on ...
1
vote
0
answers
84
views
How to handle drawing with multiple views
I want to draw in the screen space of each ImageEditor. The drawing itself works pretty good, each space has its own draw handle registerd with the correct "view_to_region" functions passed ...
1
vote
1
answer
558
views
Python Opengl Render doesn't show texture
when I click opengl render button in the GUI of the 3D view, the rendered image contains texture. However, when I use python script to render the same thing, I only get solid image without texture.
<...
1
vote
0
answers
273
views
Apply 2D filters to camera output in the Game Engine
is it possible to apply custom GLSL shader like the shaders you can set in the logic bricks called "Filter2D" to a camera that is not the main camera?
I am rendering the output of a camera in the ...
1
vote
0
answers
139
views
Mouse event program freezes my Blender
recently I am trying this code for handling some clicks, mixed by bpy and bgl. However when I "Run script", then select it from ...
1
vote
0
answers
180
views
Modal operator and opengl drawing update issue
For this question, I've coded a little script that draws mesh's elements indices with opengl.
All is working well, except when in edit mode, some grab, scale, rotate is done. In these cases the ...
1
vote
0
answers
234
views
Convert materials from cycles to bge as visible in viewport material shading mode
In 2.78 the material viewport shading mode of cycles is greatly improved. In fact it is even better than BI in some aspects - for example it now correctly displays cube projection textures, something ...
1
vote
0
answers
277
views
Python BGL Draw text in the node editor
I have an operator (MyOperatorTest). How can I make it so that when this operator is run, text is printed on the screen to the top left corner of the node editor? (The operator is in the node editor)
1
vote
0
answers
176
views
Get error when python script in use bgl is running
My script got error when it ran python script in use blender opengl(bgl).
Below python script.
...
1
vote
0
answers
3k
views
How to run blender 2.77 on a virtual network render machine with no Opengl support on windows?
I have a server that runs multiple instances of virtual machines and is running windows 10... there is a cinema 4d farm clients running there...and I need to run blender 2.77 slave mode ...but the ...
1
vote
0
answers
900
views
Bones and armature render
How can I make a simple animation render of an armature (to show all bones movements)?
This is an OpenGL render, but if i try the OpenGL animation render, the bones disappear.
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 ...