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
3
votes
2answers
1k 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?
7
votes
4answers
12k views

How to run Blender through RDP on Windows Server 2008 R2 - opengl error

I want to render my blender project in rdp. But some error has appeared. What is the best solution for this problem? I've spent many hours trying to troubleshoot this problem.
2
votes
2answers
5k 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 ...
6
votes
1answer
2k views

Draw geometry on screen using BGL module

I am trying to use the bgl module to draw triangles on top of the Blender interface. My understanding is that glBegin/glEnd are deprecated, and vertex array or display list or VBO should be used ...
4
votes
2answers
1k views

How to make a VSE scene strip render with the openGL render?

Is it possible to have a scene strip in the VSE render using the OpenGL renderer? I know you can make it render using viewport shading/OpenGL in the preview, but can you do this for the final render, ...
1
vote
2answers
1k views

Visible seams on tangent normal maps

I'm having a small issue with visible seams on normal maps. The map was painted on Substance Painter and has no weirdness around seams. When I plug it into a Normal Map node set to Tangent Space this ...
11
votes
1answer
3k views

Render with openGL from the command line?

Is it possible to use the openGL quick render for rendering from the command line? e.g. something like blender -b <file> -E opengl -f 1
7
votes
1answer
1k views

How do you remove a draw handler after it's been added?

I'm making an attempt to use batFINGER's method from this answer for drawing some text on screen without a modal operator, but I'm finding I can't get the text to go away once it's been drawn. ...
5
votes
1answer
1k views

Render specific frames with opengl via python

When I run the following script, current_frame is set AFTER the render.opengl(): ...
3
votes
3answers
8k views

Is OpenCL possible within Blender either via cycles or internal?

I have the Radeon R9 280X video card and was wondering if there was anyway at all to enable GPU rendering with this card? I know Nvidia has CUDA cores and that works. That's good and all, BUT I don't ...
2
votes
3answers
3k views

Warning! Legacy WGL is unable to select between different OpenGL versions

I was using blender 2.76b on a Windows 7 Ultimate, and nothing really weird showed up when I opened blender and the cmd window appeared, before the blender window appeared. I updated it to 2.77a, and ...
1
vote
1answer
978 views

How Do I Save 3d View as a Wireframe Image? (Blender Render)

I have some objects that I want to save their wireframe view as an image file. Someone told me to use the OpenGL render active viewport button on the 3d viewer's menu header, but I just get an error ...
3
votes
2answers
4k views

Add outline to object

When you select an object in blender a yellowish ring appears around it. And no matter how much your rotate your view or the object, the outline will only appear on the visible outline of the object. ...
13
votes
4answers
7k views

What version of OpenGL does Blender use?

I know that Blender makes extremely heavy use of OpenGL. What version of OpenGL does Blender use, and how difficult would it be to port it over to OpenGL ES?
1
vote
0answers
114 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 ...
4
votes
2answers
509 views

What are these items that are showing up in the viewport render

I have a model that has animation and I am rendering out to a png sequence. This animation will be used in a web page. I noticed that there are some items that are showing up in the render that are ...
2
votes
1answer
1k views

How to generate final texture image for complete designed scene

I designed a house interior, i used wooden texture and some other texture for walls and windows. How can i generate a final texture image so that i can use that image in open gles ? I added a example ...
2
votes
2answers
13k 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
1answer
598 views

Window blurring or smearing down

When I move my mouse, the window in Blender blurs / smears down. Why is this is happening?
1
vote
2answers
1k views

How to reset OpenGl for Solid lighting?

I read the original Reset OpenGL lights, I understand, but I don't do Python. How would I "reset" my settings as shown? I've had trouble with these forever, so my Solid lighting as I work is bizarre. ...
1
vote
2answers
833 views

Draw a 2d box using Bgl in viewport

I have been trying read up a lot on opengl drawing using python and have been trying to create a script which display a text and a 2d shape on the viewport (a rectangle or square). From reading the ...
8
votes
3answers
8k views

Get indices of vertices of triangulated faces in python

I'm writing a python script to export triangulated meshes from Blender to an openGL application I am working on. I'm using text files, and I want to export my geometry data in the form of vertices, ...
5
votes
1answer
2k views

How to render the movie texture in the Open GL viewport rendering?

I try to render animation using Open GL render animation option. I added a movie clip as a texture to a plane. When I change the keyframes manually (in Material viewport shading ) the following ...
1
vote
0answers
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 ...
5
votes
1answer
2k 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 ...
4
votes
2answers
685 views

Working in 3D stereo in the 3D view - hardware requirements?

I want to run out and buy a pair of active shutter 3D glasses so I can watch and adjust animations in the 3D viewport using time sequential mode, but the part about the graphics card supporting Quad ...
2
votes
1answer
9k 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 ...
1
vote
0answers
687 views

Blender error on startup [closed]

When I start Blender, I get this error in the CMD: COLOR MANAGEMENT : USING FALLBACK MODE FOR MANAGEMENT BLT_LANG_INIT: 'LOCALE' DATA PATH FOR TRANSLATIONS NOT FOUND, CONTINUING AL LIB: ...
4
votes
3answers
2k views

Blender 2.8 How do i make objects with Render View disabled to not be visible on Viewport / OpenGL Rendering?

I have some objects which i do not want to be disible on the Viewport nor the OpenGL rendering previews, back in 2.79 it worked just fine by disabling render view on the outliner and enabling the '...
3
votes
0answers
379 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 ...
2
votes
1answer
630 views

How to acess and change solid OpenGL lights settings via python?

I have interested in create an addon to help on viewing models. the idea is the properties for solid OpenGL Ligths be found in tools panel so we can easily tweak the colors and light direction for ...
2
votes
1answer
5k views

“Legacy WGL is unable to select between OpenGL versions” error [duplicate]

Is there a chance of fixing this? (the autodesk maya was working fine and I want to try this program, could someone help me with this?)
2
votes
0answers
116 views

How to activate smoothing in bgl (opengl)?

All is in the title. I'm not able to make smoothing work, when drawing on a texture. Here is the code before the drawing: ...
2
votes
1answer
4k views

How to speed up the OpenGL (viewport) rendering?

I made an animation in Cycles (about 1 minute long) using viewport render option (Render-->OpenGL Render Animation). There were some simple objects like hearts (with basic diffuse colour) and planes ...
0
votes
1answer
295 views

How would one animate blinking lights in viewport OpenGL render?

The goal: to animate blinking emission materials (Christmas Lights from a distance) in viewport materials view. My attempt: When I manually change the emission strength, the changes are visibly ...