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.
266
questions
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
1
answer
489
views
How to apply two different materials in Blender Internal on front faces and back faces, *while involving transparency*
Basically, I want to see through the transparent front faces to the opaque back faces. This isn't the same as flipping all normals and executing backface culling because I want the front faces to be ...
3
votes
1
answer
94
views
Is possible to keyframe a mask textures as a factor for two other textures in realtime?
Is possible to keyframe a mask textures as a factor for two other textures in realtime? I have set up a blender internal materials node setup, basically two distinct materials mixed with a Mix RGB ...
3
votes
0
answers
3k
views
How to correctly export from blender to opengl with a texture?
I am learning opengl from here and we are given an obj file for blender of crysis nanosuit.
When I load this with opengl, it just loads fine. But then I imported the file to blender and added some ...
3
votes
1
answer
2k
views
Can I use Blender on Intel HD 530 dedicating an Nvidia GPU to Cycles?
I'm trying to specify the build for a new PC, my current one is 5 years old and starting to show its age. It's going to be a multi-use machine for Gaming, Virtualisation, Coding, Blender and possibly ...
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 ...
3
votes
0
answers
405
views
.blend file size much larger after OpenGL Render
I am working on a detailed dialogue scene that is 600 mb. It is a very complex scene, with each part in single layers. I know that is a very big file size, but what my machine can handle it. What ...
3
votes
1
answer
341
views
Add 3D content to an image using blender [duplicate]
I have an image of a scene and I extracted the projection matrix from that, so I have the camera calibration. Now, I want to add some 3D objects to this scene. I have already coded something with ...
2
votes
2
answers
42k
views
Blender 2.8 Beta: OpenGL 3.3 Error?
Before I start, YES, I have done my own research - I know how annoying a repeat question is. Yet each answer is so specific to others...
When I tried the beta 2.8 64 bit, it says "Blender requires a ...
2
votes
2
answers
6k
views
Exporting cycles rendered models to be used in opengl
The cube in top left corner is the default cube with change in view port color. I added checker texture to it using nodes and got it rendered using cycles render. When I exported them to be used via ...
2
votes
1
answer
1k
views
Is render time, openGL, or memory affected whether a modifier is applied or not?
If I have an object looking exactly like I want it to using modifiers, is there any reason why I should "apply" the modifiers before rendering, or any other considerations? More specifically, is ...
2
votes
1
answer
707
views
What is the substitute for gpu.export_shader in Blender 2.80?
I am trying to export GLSL from Blender materials in a scene. This call appears to have been removed from module "gpu" in Blender's Python API as of 2.80. Is there any substitute? How should I proceed?...
2
votes
1
answer
2k
views
Blender 2.80 not working on AMD Radeon HD 6470M GPU
I'm not able to open Blender 2.80, it tells me that it requires OpenGL 3.3 Core
So i wanted to make sure that the problem is from my GPU and not from blender itself,
so i wrote a simple OpenGL ...
2
votes
1
answer
16k
views
How to set which graphics card is used by OpenGL render active viewport?
I whan to use 3D View OpenGL render with Blender Render.
I have a laptop with two graphics card.
Of course the NVIDIA card is the superior. I used the Blender Help / Save System Info to check the ...
2
votes
1
answer
545
views
Drawing to multiple render targets using the GPU module
Is there a way to draw to multiple render targets at once using the Blender's GPU module? I am looking for something similar to glDrawBuffers in OpenGL.
Say, for example, my fragment shader looks like ...