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
1answer
693 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
229 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 ...
1
vote
0answers
84 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
18 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
126 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
227 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
22 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
163 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
106 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
424 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
296 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
50 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
499 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
1answer
506 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 ...
1
vote
2answers
7k 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
193 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
903 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
181 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
2answers
568 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
294 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 ...
3
votes
0answers
247 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
192 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
4answers
1k 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 ...
1
vote
1answer
70 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
203 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
107 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
347 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
1k 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
275 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 ...
1
vote
1answer
323 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
139 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
266 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
523 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
77 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
587 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
77 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
331 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
172 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
60 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
232 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 ...
3
votes
2answers
274 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
617 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
50 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
689 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
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 ...
0
votes
0answers
258 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
825 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
916 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
150 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 ...
1
vote
1answer
323 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. <...