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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
42 views

how do you fix the blender 4.1 open gl problem

i understand this issue but i do not know how to resolve this issue. can someone tell me how to do this? this happens during startup and then closes when i click OK.
Bludus's user avatar
  • 70
0 votes
0 answers
11 views

3d viewport display rendering problem [duplicate]

I have this strange issue this morning... all objects seem to be half xrayish... last night all was good... as i pan or rotate is all flickers
Tony Sands's user avatar
1 vote
0 answers
13 views

Blender and Active Stereo Display (3D Vision or similar)

I am new to Blender. I am drawn to it because of 1) its drawing capability and 2) its supposed support of stereoscopic display. I have an "Nvidia 3D Vision" system that works under either ...
oldnewbie's user avatar
1 vote
1 answer
28 views

Unable to read depth from buffer when offscreen rendering

I'm trying to read the depth buffer from a frame buffer during offscreen rendering using the gpu.types.GPUFrameBuffer.read_depth() function from the gpu module. No ...
Sandroid's user avatar
0 votes
1 answer
95 views

Using Blender on an Azure VM

I really need to do some editing on a 3D model with some animations, but my PC would never run it, so I opted to use an Azure VM to try to run blender and maybe render the animation on the machine ...
Vanortton's user avatar
2 votes
1 answer
73 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: ...
Ommadawn's user avatar
  • 658
0 votes
0 answers
42 views

Blender not open in my laptop

Blender ver 3.6.2 After downloading and installing the software, it does not started because it show the popup window. In this window it show the "the entry point not found ". Dll file like ...
Yuvi's user avatar
  • 1
4 votes
3 answers
355 views

How to draw a specific color with gpu shader

This is a bulid-in shader of gpu module to display a 2D rectangle in viewport, if you check the color of the rectangle via photoshop/MSpaint or use ...
X Y's user avatar
  • 5,358
0 votes
0 answers
28 views

Custom render pass

I'm looking to develop a post-render diagnostics overlay and am not quite sure how to go about it. I can add an opengl overlay to the viewport fine with the SpaceView3D draw_handler_add, but this of ...
Mr MinimalEffort's user avatar
1 vote
1 answer
972 views

Headless Blender on Cloud not using blend settings

Why does Blender headless not use blend settings? It works fine with X11 forwarding but just slow. When using VM.Standard.E2.1.Micro (Oracle Cloud AMD64/...
wjwrpoyob's user avatar
  • 123
1 vote
0 answers
195 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 ...
hayden0729's user avatar
1 vote
0 answers
604 views

Blender 3.4 won't run citing unsupported graphics card but 3.3 works

I have 3 computers I primarily run Blender on, 2 of which are giving me this error: ...
kodiakcreativity's user avatar
0 votes
1 answer
288 views

How to force draw_handler_add?

I have a draw function inspired from this answer: ...
cak3_lover's user avatar
0 votes
0 answers
70 views

How to directly store Blender File Images Externally?

I'm using this answer to generate images from view port but is there a way to directly externally store/generate this image? and by that I mean NOT having to manually save them through Image Editor
cak3_lover's user avatar
2 votes
1 answer
485 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 ...
QuantumCoderQC's user avatar
0 votes
1 answer
194 views

How to get started with the code for drawing Blender’s user interface?

I’m interested in working with the drawing code responsible for the user interface in the Dope Sheet & Graph Editors (not the Python code for menus/panels, but rather the actual timeline, ...
Dr. Pontchartrain's user avatar
2 votes
0 answers
537 views

Dashed Lines GLSL Even Sizing

I'm working on a dashed line shader in a Blender add-on and my aim is to get all lines, regardless of length, to have the same sized dashes and dash spacing. GPU shaders are relatively new to me so I ...
Dan's user avatar
  • 83
0 votes
1 answer
685 views

How to get a list of faces with corresponding indices?

I am trying to get a list of faces that has each index of the 3 vertices that go with it. I thought about just doing it from scratch but they are kinda in random order. I am looking for a list that's ...
CloudlessStudio's user avatar
0 votes
2 answers
261 views

Changing lighting & color_type for OpenGL Render

When I render with bpy.ops.render.opengl, the shading appears to always be SOLID shading. If this is the case, how do I change the solid render's ...
Dr. Pontchartrain's user avatar
0 votes
0 answers
564 views

Blender 3.1 in a virtual machine with Ubuntu 20.04 doesn't start

When I try to run Blender it gives me this error: ...
manuersuper's user avatar
1 vote
0 answers
159 views

How can I make objects created with the GPU Module visible in the final render?

I used the code example for creating a triangle with custom shader from the official docs: ...
Squis's user avatar
  • 111
1 vote
1 answer
553 views

Is it possible to render in user perspective?

I notice that the user perspective and the camera perspective look different. (I have made sure that the camera view and the user view are from the same position and angle. Also, the camera is set to &...
LearnerAL's user avatar
0 votes
0 answers
107 views

Is there a way to render a scene to a video, much faster, using OpenGL instead of EEVEE, without blender unloading geometry?

It seems blender rendering is pretty slow because it doesn't try to do "real time" rendering, it aims at high CGI quality. Is there a way to configure the renderer to sacrifice quality as ...
jokoon's user avatar
  • 203
0 votes
0 answers
282 views

Blender not opening on old pc with Window 10 (64)

When I try to open the blender, it gives this warning: However, in the scan I see that there is the latest version of open GL installed: Will there be any way to fix the issue and get blender working?...
Stackchampu's user avatar
0 votes
0 answers
620 views

I'm having trouble with gizmo lines getting glicht: rotating, moving or scaling

System: Windows 10 64 bit CPU I5-3470 GPU GT 630 Processor and Graphics do not matter because the same thing happens on different Graphics and Processor I found a fix but on ubunto I have windows
KALER's user avatar
  • 1
0 votes
1 answer
2k views

Experiencing Lag With Blender

Issue I've experienced lag when viewing in the viewport window, selecting objects', and moving selected objects'. Attempted Solutions: Adding more computer RAM (previously 8gb, now 64gb) ...
rin black's user avatar
1 vote
0 answers
4k views

Blender Won't Open because it says I need OpenGL 3.3

I've recently wanted to get back into using blender for some fun art projects, but anytime I try and install the program and run it, I run into issues. The last time I used it was in December of 2020,...
Tyler Berkeley's user avatar
0 votes
0 answers
351 views

Rendering opengl image and then saving to a filepath

Need help solving how to render an image and then save to a filepath while in a loop. The following takes a photo and exports; however it isn't rendered. ...
Fano Fano's user avatar
2 votes
1 answer
4k views

RTX 3090: Unsupported Graphics Card or Driver - OpenGL 3.3 or higher recquired

I have 2x RTX 3090 and the drivers up to date, running on windows 10, I also have the latest version of blender. I get the following error when I try a render or try opening some menus in the ...
Hugo Bp's user avatar
  • 41
1 vote
1 answer
385 views

In Blender, how do I programmatically display a viewport rendering in a window just like if you pressed F12?

I know I can call bpy.ops.render.opengl() and that will create the render, but what I want to do is to create and then view the render, just like what happens when ...
chippwalters's user avatar
3 votes
2 answers
1k views

How to make rounded corners for 2d rectangle with a custom shader?

Does anyone know how to make rounded corners for a 2d rectangle with a custom shader? ...
Karan's user avatar
  • 1,984
0 votes
1 answer
230 views

OpenGL 3D ViewPort frame capture with transparency (no checkered pattern)

I attempt to use Blender 2.82 (currently I cannot change version), to render a robot hand holding an object, so that the hand creates an occlusion on the object, but the hand itself should not be ...
GuiHome's user avatar
1 vote
0 answers
534 views

Drawing a rectangle using opengl in blender

I'm learning opengl in blender and successfully drew a triangle in 3d viewport. Now I'm trying to draw a rectangle using Element Object. Here is what I've tried. But it draws nothing. ...
Me BMan's user avatar
  • 75
0 votes
0 answers
534 views

Can shaders created in Blender Shader Editor be exported as OpenGL shaders in versions of Blender 2.9x?

I have created a shader in the Blender Shader Editor, since I find it very powerful and easy to use. I would like to export this shader so I can use it outside Blender. Is this possible for versions ...
CPRBlender's user avatar
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: ...
Gottfried Hofmann's user avatar
0 votes
0 answers
117 views

How can i use OpenGL/Viewport render in rendered mode on cycles?

Whenever I do it on Eevee, it works. and I find it to be a great way to render faster, but whenever I do it on Cycles, I just get nothing besides a grey screen, Help? My render settings are on the ...
Ansansnasabbbaababa's user avatar
9 votes
1 answer
754 views

Anti-Aliasing in GPU shader Module(OpenGL)

How to smooth the bound of the shape? If you run the following script in blender, you can see the Jagged Edge in that shape. ...
X Y's user avatar
  • 5,358
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: ...
MohammadHossein Jamshidi's user avatar
1 vote
1 answer
673 views

Blender 2.9 Python GPU Module, drawing lines in the wrong position

I have problems with the GPU Module and rendering custom geometry in Blender. When I run the example code from the Blender docs, it works as expected. Running the first line drawing example produces ...
Hyperkub's user avatar
0 votes
0 answers
394 views

capture data from different cameras

I need this for my video game that I want to start on in Blender Game Engine. I have not figured out how to use multiple cameras and make them give data out without them being active cams or without ...
user104998's user avatar
0 votes
1 answer
73 views

Getting wires displayed in OpenGL MeasureIt render

I'm trying to get a "CAD-like" 2D render of a model in Blender (2.79, sorry old OSX version so can't upgrade) using MeasureIt for dimensions. Some dimensions are to edges within faces. I've ...
racitup's user avatar
  • 143
0 votes
0 answers
637 views

Using Blender's GUI application from WSL2 (repost from stackoverflow)

This is a repost from StackOverflow, I was recommend to post this here by a friend Recently a fellow intern finished his internship. For this internship, he wrote some automated fluid simulations in ...
Casper S's user avatar
0 votes
1 answer
755 views

Face values in obj file is more than vertex count

When I exported the cone.obj from Blender. I got 33 vertices. But the face values specified in the .Obj files seem to included vertex till 65. How can i device what will be the vertex coordinates for ...
ram's user avatar
  • 1
0 votes
1 answer
997 views

Radeon RX 570 not rendering correctly using Eevee [Linux (Ubuntu), AMD]

Recently got my GPU setup, and after a bit of trial and error, I was able to get it to work with everything, until I decided just a bit ago to use EEVEE in blender instead of cycles; I was presented ...
SmoothiesForFree's user avatar
0 votes
0 answers
32 views

Blender 2.8x do not work

I've searched for an answer to my problem and didn't find any. So, I'm gonna ask. My hardware requirement configuration is at it's minimum; at some aspects, over. So why I can't make Blender 2.8x work?...
Andre's user avatar
  • 1
0 votes
0 answers
21 views

Blender did not run and shows some error [duplicate]

When I tried to run the blender it shows this I don't know how to solve this as I am new to coding. Anybody help me with that??
user avatar
1 vote
0 answers
138 views

Why do rendered images using a GPU have vertical lines in versions after 2.81?

While using GPU rendering I get vertical lines over the rendered object. Until version 2.81 I don't get this anomaly, I thought it would be some bug in version 2.83, but in version 2.90 presents this ...
Vanderlei Alves's user avatar
1 vote
0 answers
475 views

Converting bones transformation matrix from OpenGL to Blender

So, I'm trying to convert some transformation matrices from OpenGL to Blender but bone poses are wrong. I assume it's transformation matrix, I'm no expert in OpenGl but it's used in this function: <...
Kuro's user avatar
  • 11
1 vote
0 answers
116 views

My blander worked normal on my pc today when i went to open it, was asking for opengl 3.3

my blander worked normal on my pc today when i went to open it, was asking for opengl 3.3 try reinstalling but it didn't work, i never needed to put anything for it to open, could this be some kind of ...
Tony Serra's user avatar
0 votes
0 answers
281 views

blender opengl 3

Today i tried to download the latest version of blender but it gives me a problem on opengl, telling me that i need at least opengl 3.3, even though i should have opengl 4. So I found a modification ...
moneyghost's user avatar

1
2 3 4 5 6