Take the 2-minute tour ×
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It's 100% free, no registration required.

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 Blender internal rendering engine also use it for Rendering the 3D scene?
And can we customize the blender internal using BGL blender OpenGL wrapper?

share|improve this question

1 Answer 1

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 render and preview rendering scenes in the sequencer and view-port lamp-shadows.
  • Shader nodes display as OpenGL GLSL shaders in the view-port.
  • The GameEngine also does all drawing via OpenGL.

All other rendering is done on the CPU or GPU (and in that case it uses CUDA or OpenCL, not OpenGL)

You can run Blender without using any OpenGL functionality by using background mode (see blender --help for details).

And if you happen to have a system without any hardware acceleration, you can use software OpenGL (Mesa can do this for example), although its noticeably slower and may be unusable depending on your use-case & hardware.

Note that Blender is somewhat unusual in using OpenGL for _all_ interface drawing, not many applications do this

share|improve this answer
    
How much OpenGL is used in Blender Internal Rendering Engine?? –  ZeroGravity Jun 19 at 11:29
    
@ZeroGravity, Blender Internal doesn't use OpenGL at all (thats how come you can render in in background mode without a graphics card). –  ideasman42 Jun 19 at 14:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.