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
4
votes
1answer
1k views

How to blur part of the screen in the game engine?

I'm making an FPS game, and for some of my guns, i want to be able to zoom in so that i can see farther. This isn't the problem. What i really want is to make the rest of the screen (The part not ...
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 ...
8
votes
1answer
1k views

Which parts of Blender use OpenGL?

This may seem like a stupid question, but I am really not clear about its answer. I want to know what role OpenGL plays inside Blender: is it just for displaying the user interface, or does the ...
1
vote
1answer
5k views

COLLADA export doesn't preserve animation for all bones

I'm trying to rig and animate a character for use in an OpenGL-based program. I found a simple character model on TF3DM and rigged him by following the excellent character rigging tutorial from ...
4
votes
1answer
4k views

How to access the window width/height inside a GLSL Shader?

Inside a Python script defining a GLSL shader used on the game engine, how do I access the width/height of the game window?
2
votes
1answer
597 views

Window blurring or smearing down

When I move my mouse, the window in Blender blurs / smears down. Why is this is happening?
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
1answer
600 views

Is it possible to render AO with the OpenGL render?

Is it possible to render AO with the openGL render? I know there is a technique called SSAO which is used in some video games, so it should be possible. How can I achieve this?
11
votes
1answer
1k views

Per-Vertex lighting in GLSL?

How can I achieve per-vertex lighting (like in single/multi-texture shading) in GLSL with all of the other GLSL features (like buffer shadows, texture layers, etc.)? Bonus points if it can be done in ...
2
votes
1answer
650 views

Why does smoke render as transparent in the OpenGL render?

In the viewport, smoke looks fine: However, when I render it with the OpenGL render: It looks white because of the background; it's really transparent. What causes this?
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, ...
2
votes
1answer
2k views

Hide smoke domain objects in OpenGL quick render

Is it possible to hide the domain object for a smoke simulation in an openGL quick render without hiding the smoke? The domain can be distracting in preview renders even when rendered as a wireframe. ...
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
4
votes
1answer
1k views

Can I access the render screen size in a custom filter 2D in the game engine?

I am using Blender Game Engines Filter 2D to make a post effect with GLSL. In an fragment shader applied on the frame buffer, I want to access the size in pixels of that buffer in GLSL. ...
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 ...
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?
5
votes
1answer
1k views

Why is “Smooth” shading slower than “Flat” shading in the viewport?

When I set a Mesh to shade as "Smooth" vs "Flat" on a high-poly Mesh Object (such as one with a subdivision modifier), it makes Blender much slower than normal, sometimes almost unusable. Why does ...