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
10 views

What is the substitute for gpu.export_shader in Blender 2.80?

I am trying to export GLSL from Blender materials in a scene. This call appears to have been removed from module "gpu" in Blender's Python API as of 2.80. Is there any substitute? How should I proceed?...
0
votes
0answers
7 views

Can I access Blender's internal openGL state from bpy or bgl?

I am interested in building a custom scene exporter and for that it would be nice to be able to access Blender's openGL state directly. I'd like to, for instance, be able to access allocated VAOs, ...
1
vote
1answer
40 views

For Blender, which is the better language to learn - OpenGl or OSL? And why?

I have only yesterday started to learn OSL. Since OSL tutorials are scarce in Youtube, I am beginning to wonder if OSL is becoming obsolete as I get the impression that it is overshadowed by OpenGl. I ...
0
votes
1answer
46 views

Is there a fast way to render an obj+mtl file to PNG

I'm using command line blendering an obj+mtl file to PNG this question. However, it takes 2 seconds to render a scene. Is there a faster way to do so? Because, I need to render hundreds of output ...
0
votes
0answers
15 views

How to get and convert Blender 3d viewport to curve data [duplicate]

Searched a lot in python api of bgl and gpu modules. Is there a way to get curves (lines) separated by types of shading from camera projection of 3d Viewport gpengl? For example on image bleow ...
0
votes
0answers
25 views

Is it possible to run Blender 2.79 with this hardware and software configuration?

On my Mint 19, 32 bit, I've got this information: $ inxi -Gx shows the next lines... ...
0
votes
0answers
12 views

OpenGl Blender Python? Text based animation

I understand that blender uses opengl to render the 3d graphics. I need to try and achieve a 3d animation in the lightest way possible. Is there a way to get equivalent results as to what I've learnt ...
0
votes
3answers
178 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 ...
0
votes
0answers
12 views

Why do I get a “Can’t detect 3D Hardware accelerated driver” error when opening Blender? [duplicate]

I downloaded Blender from the Windows App Store and I tried to open it. A message later appeared reading “Can’t detect 3D Hardware accelerated driver” It says I need OpenGL support 2.1 but I already ...
0
votes
1answer
89 views

How can i add texture with a realistic fabric look to my mesh?

I've created a mesh in blender and am trying to add a material in a way that will give the model a realistic fabric look. I added a material with an image texture, but the model looks very smooth and ...
1
vote
1answer
51 views

Blender 2.8 refuses to run on my PC

When I try to run Blender 2.8, I get the error "Device init failed: 0x80070490" My Windows 10 PC has the following graphics card: NVIDIA GeForce GTX 960 According to the geforce.com site, the ...
0
votes
0answers
50 views

bgl Hello Triangle Blank Screen

This code should draw the "Hello Triangle" (1) that everyone starts off with but it's not showing up. Since it's in Blender, I used (3) as a reference for when to draw. That's why the code itself ...
0
votes
0answers
11 views

OpenGLHighRise in Cycles is Black

I want to render a city with a world, but every time I render out an OpenGL High Rise City in Cycles Rendering, city is black. In Blender Render In Cycles Render How do I allow the OpenGL textures ...
0
votes
0answers
23 views

Blender won't start with OpenGL older than 3.3 [duplicate]

I have the beta version of blender 2.8, but I cannot seem to run it. When I run the blender.exe, it says opens CMD and says this: ...
0
votes
0answers
63 views

Blender 2.79b Crashes High Sierra MacBook

I'll try to make this as short as possible, but it's gonna be long. Problem: Blender 2.79b crashes my early 2011 MacBook 15-inch running High Sierra during viewport rendering. Operating theater: 2.2 ...
0
votes
0answers
13 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
70 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
66 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 ...
1
vote
1answer
136 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
140 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
35 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
224 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
153 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
1k 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 ...
1
vote
0answers
101 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 ...
1
vote
1answer
381 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
96 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
43 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
420 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
114 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
34 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
23 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
199 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
81 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
477 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
28 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 ...
1
vote
1answer
39 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 ...
1
vote
0answers
133 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
72 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 ...
3
votes
0answers
238 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
558 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
172 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
61 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
95 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 ...
1
vote
1answer
199 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
119 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
197 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
444 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
61 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
311 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