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
2 answers
29 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 ...
user avatar
0 votes
0 answers
30 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: ...
user avatar
1 vote
0 answers
18 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: ...
user avatar
  • 111
0 votes
1 answer
58 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 &...
user avatar
0 votes
0 answers
32 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 ...
user avatar
  • 203
0 votes
0 answers
43 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?...
user avatar
0 votes
0 answers
94 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
user avatar
  • 1
0 votes
1 answer
128 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) ...
user avatar
0 votes
0 answers
10 views

Using graphics card on 2018 MacBook Pro for blender 3.0 [duplicate]

I bought a 2018 MacBook Pro for my uni and sadly didn’t think about blender. Is there any way to use Open CL or Hip on a Mac for AMD gpu (blender 3.0)? I can use Radeon pro render but would be cool if ...
user avatar
0 votes
0 answers
23 views

Overlay flashes when viewport is refreshed

I have a problem with the user interface, when it is updated (object transformations, navigation, resize the workspace, play animations, etc.) the whole overlay flickers, they appear and disappear ...
user avatar
  • 1
0 votes
0 answers
11 views

Where is the option to use OpenGL for Radeon Vega 10 in Blender 3.0? [duplicate]

Do anybody knows why in the new version of Blender (3.0) there is no support for AMD Radeon Vega 3? With Blender 2.x I was able to use it with the OpenGL option, but now I cannot find it anywhere.
user avatar
0 votes
0 answers
257 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,...
user avatar
0 votes
0 answers
188 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. ...
user avatar
0 votes
0 answers
13 views

.blend file suddenly won't open [duplicate]

I was working in the same .blend file yesterday and today. I switched over to a different project momentarily, then tried to switch back. Blender asked me if I wanted to save the current file before ...
user avatar
  • 1
2 votes
1 answer
971 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 ...
user avatar
  • 41
1 vote
1 answer
105 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 ...
user avatar
0 votes
1 answer
387 views

How to make rounded corners for 2d rectangle?

Does anyone know how to make rounded corners for a 2d rectangle? ...
user avatar
  • 456
0 votes
1 answer
90 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 ...
user avatar
1 vote
0 answers
143 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. ...
user avatar
  • 45
0 votes
0 answers
54 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 ...
user avatar
4 votes
2 answers
597 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: ...
user avatar
0 votes
0 answers
43 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 ...
user avatar
0 votes
1 answer
807 views

Blender Crashes on Startup in Windows 10, returns EXCEPTION_ACCESS_VIOLATION

Blender crashes upon launching the application in Windows 10, but not in Ubuntu Studio. It might have something to do with the graphics card, but AFAIK I've got the latest drivers. To note: Blender in ...
user avatar
7 votes
2 answers
369 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. ...
user avatar
  • 2,201
0 votes
1 answer
71 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: ...
user avatar
1 vote
1 answer
350 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 ...
user avatar
0 votes
0 answers
190 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 ...
user avatar
0 votes
1 answer
39 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 ...
user avatar
  • 143
0 votes
0 answers
290 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 ...
user avatar
0 votes
1 answer
190 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 ...
user avatar
  • 1
0 votes
1 answer
896 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 ...
user avatar
0 votes
0 answers
29 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?...
user avatar
  • 1
0 votes
0 answers
20 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
48 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 ...
user avatar
1 vote
0 answers
263 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: <...
user avatar
  • 11
1 vote
0 answers
57 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 ...
user avatar
0 votes
0 answers
160 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 ...
user avatar
8 votes
2 answers
971 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 ...
user avatar
  • 458
4 votes
0 answers
631 views

Blender won't start - GPUShader: compile error - AWS Elastic Graphics [closed]

I am looking to run a Blender workload in Amazon Web Services (AWS). I am testing on a Windows Server image on a non-GPU compute resource. Instead of GPU I am attaching AWS Elastic Graphics to the ...
user avatar
  • 41
1 vote
0 answers
291 views

Blender doesn't start up

Good evening, I've been having an issue where the program itself won't start up after the initial command prompt window has disappeared. The program fully closes, it doesn't show that it's not ...
user avatar
1 vote
2 answers
996 views

Set the graphic card, before the first blender start. (Virtual Linux System)

The problem: Blender does not start and prints the following error message: ...
user avatar
3 votes
0 answers
172 views

Custom shader script in compositor (de-linearize depth buffer)

Some months ago I wrote a minimal opengl 2.5d game engine with pre-rendered backgrounds (such old Resident evil, Alone in the dark and Final fantasy games). Depth is managed through a grayscale image ...
user avatar
0 votes
1 answer
468 views

How to run Blender on the discontinued Intel 4 Series Express Chipset Family?

is there any way to run Blender on the discontinued Intel 4 Series Express Chipset Family or will I have to fin
user avatar
1 vote
0 answers
26 views

quick preview animation with animated material?

I am looking for a poor man's render of an animation in order to evaluate blocking, timing, camera movements etc. without the "cost" of a full render. I found Is there a way to make a quick ...
user avatar
1 vote
1 answer
54 views

OpenGL freezes and turns off blender

I've encountered this behavior several times that blender put random black and white points on the blender window then a message box appears and says "Too many errors occurred. Application must close ...
user avatar
1 vote
1 answer
412 views

Fast streaming camera view to video for linux (v4l) system device

What i'm trying to achieve is to stream an arbitrary camera view in blender to a v4l device. What i've done so far After reading the community post about streaming the Eevee view on Windows and linux, ...
user avatar
  • 63
4 votes
1 answer
380 views

Is there a way to render depth buffer into a texture with GPU/bgl python modules?

I need to render depth buffer of Blender's scene into a texture to further use it my shaders. I tried using the common OpenGL recipes for doing that, but none of them worked as it seems there is ...
user avatar
  • 609
2 votes
0 answers
145 views

Rendering depth buffer to texture using BGL fails on FBO drawing

I am writing a custom render engine for a level editor addon with GPU / bgl modules. I need to render a depth buffer to texture to later use in my shaders. I tried the way it is usually done with ...
user avatar
  • 609
1 vote
0 answers
104 views

I need a handler for render_complete but with OpenGL render

Is there a handler to execute a function after an OpenGL render (after the whole animation is rendered). Because this script ...
user avatar
  • 1,199
0 votes
1 answer
594 views

Blender 2.8.2 Crashes on Startup (Windows10) - Not enough video memory?

Update: Also tried 2.78 - It seemingly gets little bit further but still hungs up before accessing the program. I just installed Blender 2.82a off the Windows64 installer on my brand new PC and it ...
user avatar
  • 11

1
2 3 4 5 6