Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
9 views

Using opengl engine to animate a model, half of the model is distorted

I've been using opengl to create a programmable virtual environment for a university project. I need to load a model of a character and animate it. I found a model of a wolf on blendswap i like very ...
0
votes
0answers
35 views

Blender 2.79b on a iMac 27 late 2013 with NVIDIA Geforce GTX 780M

I downloaded Blender 2.79b and i am very excited about it. Until... i read about the rendering on a mac and that apple is not supporting Open GL anymore? This is the mac i have: iMac 27 late 2013 with ...
0
votes
0answers
20 views

displaying model in opengl

I am trying to depict the story of the thirsty crow using crow, pebbles and waterpitcher with different water levels in it. I have created a objects using blender. When i export these models and use ...
0
votes
0answers
37 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 ...
0
votes
1answer
37 views

Blender 2.8 slow render under mesa-18.3.2 and xvfb

How I can profile timings in Blender 2.8 Eevee engine rendering process? I have blender 2.8 (nightly build) running inside docker container, with mesa-18.3.2 (build from sources) and gallium driver ...
0
votes
0answers
19 views

How to make OpenGL render utilize maximum of CPU power?

I am rendering Scene strip from VSE in OpenGL mode and only 1 of 16 threads (AMD Ryzen 1700) is fully loaded, others are just around 5-10%. Overall CPU usage is ...
1
vote
0answers
87 views

Big problem when exporte normal map from Substance Painter to Blender

I need help. I have this problem when I export a normal map from Substance Painter to use in Blender. As you can see in the images it show some dark spots in the object, and it looks worse at ...
1
vote
0answers
57 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 ...
0
votes
2answers
389 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 ...
0
votes
0answers
59 views

blender 2.8 glRectf() not there

I'm trying to convert a 2.79 add-on to 2.80. I'm running into a problem with openGL function glRectf(). The code that's currently in the add-on draws the menu as follows ...
0
votes
1answer
175 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 ...
1
vote
0answers
69 views

How to draw custom, complicated ui element

Is it possible to add custom drawn elements to UI? e.g. access OpenGL and draw shapes from code, create some "canvas" in UI and draw on it. e.g. I'd like to create a complicated interface, something ...
0
votes
0answers
34 views

OpenGL shading with normal maps, nodes

Is it possible to render a Blender Internal scene with OpenGL shading and attributes like nodes, normal maps, texture mirroring and so on fourth? OpenGL Render: (notice the shading compared to second ...
0
votes
2answers
296 views

Blender 2.8 OpenGL requirements and Render Farms

I am currently theory crafting with my IT team about getting Blender installed on our render farm. However the render blades we have do not have GPUs currently installed. I was wondering if this ...
0
votes
1answer
77 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 ...
0
votes
0answers
30 views

Create a search bar with BGL

I'm adapting and expanding on top of the Asset Flinger Addon, which is drawn on top of the 3d viewport with BGL. I would like to add a search bar to that interface. How would I do that? Would I ...
0
votes
0answers
21 views

Changing object show_name font

I would like to have the option to show/hide the objects labels. Also, the labels should face the user point of view (not the camera). I'm trying to use the show_name property, but the font is really ...
3
votes
0answers
156 views

Rendering with OpenGL in Blender does not show the intended rendered image or animation

I am trying to render animations and images fast using the OpenGL feature in Blender but even though I want it to render a fully rendered image or animation, it only renders the solid image, or the ...
1
vote
2answers
43 views

Vertex count increases drastically when exporting to .FBX

I am trying to export FBX file from Blender so I could use it in my OpenGL app, but when I export it, the vertex count increases from ~6k to ~25k. I wouldn't really mind it, but I additionally have ...
0
votes
3answers
344 views

OpenGL error on startup - Blender 2.80 - bumblebee

i can't open Blender 2.80 since it tells me that it requires OpenGL 3.3 to run. Well, when i start it with my intel graphics adapter everything is fine, but it fails, if i want to start it via optirun ...
0
votes
0answers
25 views

OpenGL render transparency using mix shader node data

I'm using a Cycles mix shader node to animate transparency in some of my objects. I'd also like to animate the same transparency in OpenGL Render. Is there a way to link the viewport alpha to the ...
0
votes
1answer
23 views

How to turn off constraint lines drawn using OpenGL render?

When rendering my animation with OpenGL Render instead of the normal Render I see it's wonderfully extremely fast. But it draws object linking lines in each frame that normal render doesn't. How do ...
0
votes
0answers
109 views

Is there a way to make Blender 2.8 STOP checking my OpenGL version?

My OpenGL version is just fine, but when Blender checks, it gets a bad result because I'm running via Remote Desktop. This wasn't too bad in previous versions because Blender only checked once on ...
1
vote
0answers
50 views

Weird wireframe display on viewport when in camera (or certain angle maybe) [duplicate]

Weird wireframe display on viewport when in camera (or certain angle maybe) It happens with a certain camera, but it is not like this in perspective view, and I do not think this is overlapping ...
2
votes
0answers
172 views

How to use bgl?

I want to render simple lines on the 3D viewport through a modal operator but not using glBegin/End because those commands are deprecated in opengl 3.3 and will not be avaliable on 2.8 leaving me ...
2
votes
1answer
357 views

How to chang matcaps light direction in blender 2.8

Hey everyone so with new matcaps in blender we are getting really cools shapes! I wanted to know if I can change matcaps light direction in an easy way! because I would like to use toon maptcap as a ...
0
votes
1answer
120 views

Cycles Preview Render takes too long

When I use in Cycles the Cycles Preview Render (Z) it takes way longer to render than in the normal Render (F12). E.g.the standard cube needs in normal Render (F12) 1.2 Seconds to Render but in the ...
0
votes
0answers
53 views

How to export dae with fresnel?

I'm currently working for a project that runs under openGL. If i export it to collada file (.dae) the fresnel is not added to .dae file. NOTE : Render engine is blender render.
0
votes
0answers
75 views

Getting more control of OPENgl render lighting in cycles

Alright, I'm in cycles and I often use Opengl render mode for my renders, the problem is light's don't seem to affect the render at all, And I want the lights to be shining on a specific part, Is ...
0
votes
0answers
36 views

No texture when using opengl renderer with python script

I am running a python script to render multiple FBX scenes in a folder. To do that I use the bpy module and load each scene with ...
1
vote
1answer
159 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?...
0
votes
1answer
100 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 ...
1
vote
1answer
171 views

Blender throws Error: Exception_Access_Violation when Duet Display installed

As the title suggests, Blender would throw Error: Exception_Access_Violationand not load when I have Duet Display installed. Duet works fine with or without Blender,...
0
votes
0answers
411 views

Does Blender Internal Use OpenGL?

As I understand it, Blender uses OpenGL for viewport drawing and preview rendering, but not for full rendering. For a final render, it uses either OpenCL or CUDA (depending on your graphics card). A ...
2
votes
0answers
57 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 ...
0
votes
1answer
221 views

Screenshot the viewport - How do I adjust the quality of the OpenGL render?

I just need a simple screenshot of the viewport, the the "render" is all fuzzy. How do I adjust the samples for this kind of render? it's all blurry here
2
votes
0answers
61 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 ...
1
vote
0answers
290 views

eevee - get opengl to wait for all samples? [closed]

Version 2.80.4 - I have a spot lamp with volumetric lighting enabled and I've adjusted the samples and volumetric tile size to get a decent enough cone of light once the viewport finishes loading. ...
1
vote
0answers
103 views

How do I set output video file name using python script?

I'm using a python script to render my scene using the OpenGL render to get more speed, as the quality I'm getting is enough for my purposes. I'm using this script: ...
0
votes
0answers
45 views

How to highligth faces in object mode with python

I want to highlight certain faces via script while in object mode (I am running a modal operator to get the face index of the face under the cursor via raycast, now i want to highlight it). Are there ...
0
votes
1answer
122 views

Stuck in opengl render

I clicked opengl render in the drop down menu. Now I'm stuck and can't go back to full render. Can someone help me fix this please? Edit: Sorry, I really didn't give enough information. I meant that ...
2
votes
1answer
170 views

Bezier Curve TILT or Normal exporting

I am currently trying to make a rollercoaster in OpenGL. To do this, I prepared the track in Blender (following a Bezier curve) and exported it along with the curve as .obj files in OpenGL. My ...
4
votes
1answer
408 views

How to display the current frame number as part of the open GL render?

I'm amazed I can't find anything that displays the current frame which is helpful to study test timing and adjusting and knowing where it went wrong. Ideally I would like to show seconds and minutes ...
1
vote
0answers
39 views

How to handle drawing with multiple views

I want to draw in the screen space of each ImageEditor. The drawing itself works pretty good, each space has its own draw handle registerd with the correct "view_to_region" functions passed along. So ...
1
vote
1answer
421 views

How can I create an animation with a transparent background in the Material viewport?

Sorry if this is a repeat. I've had a lot of trouble explaining or putting this into words. Basically, I want to make an animation with a transparent background, but I want it to render with the ...
1
vote
1answer
662 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 ...
0
votes
0answers
168 views

Make Bgl 2d drawing coordinates stay relative to viewport

So i drew a 2d polygon and some blf text using a modal operator. But a problem arised. The 2d shape and text wouldnt stay relavant to the screen size of the 3d viewport. I would seem as if the vertex ...
1
vote
2answers
523 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 ...
2
votes
0answers
469 views

Custom Render Engine with bgl

I need to code my own Render Engine to do specific rendering passes. I don't want to build my own Blender app by coding in c/c++, so i try to make it work in Python. But i need OpenGL functions. ...
0
votes
0answers
122 views

opengl text display of custom properties?

I have a bunch of simple objects with custom properties, e.g. description, comments, etc. I would like to be able to be able to view this information somehow in the viewport attached per each object ...