Hot answers tagged

17 votes

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

To run Blender on a machine without OpenGl support, you would need to: Download the opengl32.dll or opengl64.dll from this link: http://download.blender.org/ftp/sergey/softwaregl/ Copy and paste the ...
user avatar
12 votes
Accepted

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

Your method makes a new instance. What you want to do is make some kind of global variable for dc. Could declare a global variable, make a get set property on ...
user avatar
  • 78.8k
11 votes

Render specific frames with opengl via python

You have to call Scene.frame_set() instead of setting the property Scene.frame_current: bpy.context.scene.frame_set(234) Only ...
user avatar
11 votes

Blender 2.8 EEVEE render out viewport like old openGL render

just go to: view--viewport render
user avatar
10 votes
Accepted

Removing Anti-Aliasing from shadows in the BGE

This can be solved relatively easily, but you may have to make minor changes elsewhere to keep the crisp shadow edge as pictured here, only without the anti-aliasing This is the type of shadow that ...
user avatar
10 votes
Accepted

How to draw shapes in the node editor with python bgl

Here is a basic bgl, blf (and gpu) example based on this answer: ...
user avatar
  • 14.8k
9 votes
Accepted

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

In Blender 2.76 or later you can render a Scene Strip in the VSE using OpenGL by hitting one of the two Buttons next to "Use Backdrop". The left one will render a single frame, the right one the ...
user avatar
9 votes
Accepted

Using OpenGL in blender python

As you have noticed, drawing bgl is relative easy. For trivial stuff many settle for immediate mode, because the overhead in their drawing routine is never noticed (...
user avatar
  • 38.3k
8 votes

Which parts of Blender use OpenGL?

Blender uses OpenGL for (basically all drawing)... Drawing the 3D view-port. Drawing all parts of the interface (buttons, color wheel, menus etc). Off screen OpenGL rendering is used for 3D view-port ...
user avatar
  • 44.8k
8 votes
Accepted

What happened to OpenGL render? Why has EEVEE been so slow at files?

This confused me for awhile. You can still get the viewport render, it is just not located where it used to be. Go To 3D Space > View and Select "Render Sequence Animation". It operates like the old ...
user avatar
  • 218
7 votes
Accepted

Exporting cycles rendered models to be used in opengl

The main problem is that baking with Cycles is still fairly new, less than one year at the time of writing. Blender's various exporters were designed before this and they are built upon the older ...
user avatar
7 votes
Accepted

How to make voronoi move like living ants?

I don't think the Blender Voronoi has access to quite the same parameter as the one illustrated. Typical shader-Voronoi is based on the distances between randomly placed points, one to a cell, in a ...
user avatar
  • 58.3k
6 votes

What version of OpenGL does Blender use?

Blender 2.77 is the first version to require OpenGL 2.1. Blender 2.8 (planned for 2016) will be the first to require GL 3.2 core profile. Like ideasman42 explained, Blender can use GPU features ...
user avatar
6 votes

Can I OpenGL render a quad view?

You could fake it with 3 additional ortho cameras layered in the VSE with scale transform effects arranged in a quad display. It renders super quick.
user avatar
  • 8,804
6 votes
Accepted

Why do (bgl) exceptions in modal crash blender

bgl callbacks The modal part of your operator needs to return something each time it's called, in the case of an exception that is probably return {'CANCELLED'}. ...
user avatar
  • 38.3k
6 votes
Accepted

Add outline to object

You would have to render a Freestyle pass with the Line Set Silhouette selected on the left and Crease selected on the right, and change to Logical AND on the right. This would trace a border stroke ...
user avatar
6 votes
Accepted

How can I add a new object on mouse click?

Similarly to This Answer The following adds a sphere on left mouse press. Needs to be invoked from a 3d view. ...
user avatar
  • 78.8k
6 votes

Fastest way copying from bgl.Buffer() to numpy array

You can use the function np.frombuffer. However you first have to convert the bgl Buffer to a bytes list. ...
user avatar
  • 146
6 votes
Accepted

Fastest way copying from bgl.Buffer() to numpy array

I already talked to Gottfried directly, but I am sure that will be interesting for others as well: The fastest way to copy the image data for now seems to take a slight detour over the OpenGL calls. ...
user avatar
  • 458
5 votes
Accepted

Is the Network Render addon able to render with openGL?

AFAIK netrender doesn't support this, as there is no opengl "render engine" defined in blender (as you noted). There is an opengl render operator, but it is not defined as a formal render engine. ...
user avatar
  • 153k
5 votes

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

To render just your model without any lights, cameras, empties, or armatures getting in the render; simply turn on Only Render. The Only Render checkbox is in the Properties panel N under the ...
user avatar
  • 47.9k
5 votes
Accepted

How to reset OpenGl for Solid lighting?

You can print the current settings to a console with a simple script: ...
user avatar
  • 27.4k
5 votes
Accepted

Is render time, openGL, or memory affected whether a modifier is applied or not?

Viewport speed: The final displayed mesh is the same regardless of if you apply the modifier or not. Applying it will cost you the ability to have different settings for viewport and render for ...
user avatar
  • 8,917
5 votes
Accepted

How to get screen color under mouse cursor?

here an example about how you can use the glReadPixels + mouse events; I did some changes to code from https://blenderartists.org/forum/showthread.php?362427-3D-coordinates-of-the-mouse ...
user avatar
  • 2,177
5 votes

Import GLSL-Shader into blender

Blender doesn't have way to directly interpret GLSL shaders. You can, however, use a BGE python script that tells blender to use a particular shader during a game's runtime. To do this you will need ...
user avatar
5 votes
Accepted

How to align modal draw to the middle of the 3d viewport?

According to the API, Area.region collection holds all "regions of the screen area" as well as their dimensions. In case of the 3d Viewport: Header, Transform Panel and N-Panel. The following code ...
user avatar
  • 11.1k
5 votes
Accepted

Where is openGL render options in 2.8?

It appears they are now where all the render options are - in the Properties Editor, Render Tab: It seems you can also set different settings for the viewport when in 'Solid'mode and have different ...
user avatar
5 votes
Accepted

Blender 2.8 Beta: OpenGL 3.3 Error?

Update your graphics card drivers, if Blender works, your graphics card supports required OpenGL version if not, it doesn't. In this particular case a quick Google search reveals that Intel HD ...
user avatar
5 votes

How to make rounded corners for 2d rectangle with a custom shader?

Make a mesh.- Your example has 4 vertices and two faces making a rectangle of two triangles, going to need a bit more geometry than that to have rounded corners. The same method applies here to ...
user avatar
  • 78.8k
4 votes

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

Thanks to Jerryno's tips, I've found an answer how to do this finally in Cycles. I've discovered, that to make it work, Blender has to have the preview of the texture visible. So I've set up windows ...
user avatar
  • 32.4k

Only top scored, non community-wiki answers of a minimum length are eligible