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
25 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.
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
0 votes
1 answer
677 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 ...
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 ...
1 vote
1 answer
27 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 ...
0 votes
1 answer
750 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 ...
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 ...
1 vote
1 answer
552 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. <...
0 votes
1 answer
91 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 ...
0 votes
3 answers
2k views

Blender 2.81 with Nvidia Quadro 2000m

I recently installed Blender - the latest update. Never before used this software. I have a relative old PC, HP 8560w with a quadro 2000m graphic card. My first problem was an error with "no open GL" ...
3 votes
1 answer
449 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 ...
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) ...
1 vote
2 answers
1k views

Preview in viewport using OpenGL shader

I am trying to apply a custom shader (OpenGL, but if that's not possible I can learn OSL) to a STL. I will not use any lights, cameras, I'm not going to render it eventually. I would like to have the ...
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 ...
2 votes
1 answer
71 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: ...
1 vote
2 answers
235 views

How do I make objects not renderable in OpenGL Render / overlays disabled on Blender 2.8?

I have some mesh that i do not want to be visible when disabling the overlays button but they still do so, in Blender 2.79 checking the Render only box was enough but here it doesnt work like that. ...
5 votes
4 answers
26k views

A graphics card and driver with support for OpenGL 3.3 or higher is required error

I can't execute newest Blender 2.80, it says that I need a graphics card that supports OpenGL 3.3 or higher ...
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 ...
4 votes
3 answers
353 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 ...
1 vote
1 answer
669 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 ...
0 votes
0 answers
27 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 ...
1 vote
1 answer
958 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/...
0 votes
1 answer
196 views

Banding artifact on open GL Render

I'm currently working on an animation openGL project, and i have this "banding" artifacts on gradient induced by spotlights (see picture below) I'm aware it seems to be because of 8bits precision ...
3 votes
2 answers
3k views

How to draw shapes in the node editor with python bgl

I want to draw a diagram using shapes such as triangles and squares in the node editor. How can I do this?
1 vote
1 answer
706 views

blender 2.8 beta doesn't find opengl

Blender 2.8 doesn't load on my windows 7 notebook. It only says several times: "Warning! Ignoring untested OpenGL context profile mask bits. Warning! OpenGL core profile not available." I already ...
1 vote
0 answers
194 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 ...
5 votes
3 answers
12k views

Blender 2.8 EEVEE render out viewport like old openGL render

In the older versions of blender 2.8 it used to be possible (I did it once and I saw videos of people doing it) to render out the viewport (I think it was with an OpenGL render option), in rendered ...
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 ...
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: ...
1 vote
2 answers
812 views

How to align modal draw to the middle of the 3d viewport?

I have a question about the opengl modal draw : How to align text from a modal draw to the middle of the viewport and and keep it automatic between Tool Shelf and Property Shelf, when i changing them?...
10 votes
1 answer
2k views

Does a model exporter embedding materials as GLSL scripts exist?

as described in Blender Shader in OpenGL/GLSL, it is possible to export the (unoptimized) GLSL code generated by Blender for a given material. Since the viewport can use such GLSL for real-time ...
8 votes
2 answers
3k views

How to get screen color under mouse cursor?

I'm trying to figure out how to get the color of the screen pixel under the mouse with python like in this video: Python-scripted color picker I tried importing bgl and adding bgl.glReadPixels in to ...
0 votes
1 answer
286 views

How to force draw_handler_add?

I have a draw function inspired from this answer: ...
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 ...
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
1 vote
2 answers
1k 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: ...
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? ...
2 votes
1 answer
483 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 ...
0 votes
1 answer
193 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, ...
2 votes
0 answers
532 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 ...
3 votes
1 answer
1k views

How can I add a new object on mouse click?

I am looking for a code, that adds an uv sphere on a mesh when a mouse click happens. I saw the topic: Adding new object on mouse click? but there are no answers ...
0 votes
2 answers
258 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 ...
0 votes
0 answers
560 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: ...
1 vote
0 answers
157 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: ...
2 votes
2 answers
888 views

Can I create an OpenGL 1.1 game on Blender 2.78 32-bit Game Engine?

Not Just OpenGl ES 1.1, is there a way to limit which OpenGL ES Blender will use, a warning of what the game is going to require or disable certain features so if a game Required OpenGL 2.0, with in-...
1 vote
1 answer
550 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 &...
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 ...
8 votes
1 answer
2k views

Render specific frames with opengl via python

When I run the following script, current_frame is set AFTER the render.opengl(): ...
0 votes
0 answers
277 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?...
0 votes
0 answers
617 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

1
2 3 4 5 6