OpenGL Render restored.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 28 Oct 2009 18:03:04 +0000 (18:03 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 28 Oct 2009 18:03:04 +0000 (18:03 +0000)
commitb6459105b47526cd33851d4e00740fbd9d050ea4
treededbd4c93fdb22f040f6740f2d13dc6dc4ce19ed
parent044f7c5f331209d6f274a7d73a411fbe15746ea3
OpenGL Render restored.

I tried to make it integrate more with regular render but couldn't
do it well, it still needs a 3D view to take the settings from, and
can't run in a separate thread due to OpenGL.

However, it is now rendering to an offscreen buffer which then gets
displayed in the image window. This requires FBO's to be available, so
a fallback creating a new window is still needed. Currently available
from the Render menu in the top header.
release/scripts/ui/space_info.py
source/blender/editors/include/ED_view3d.h
source/blender/editors/screen/SConscript
source/blender/editors/screen/screen_ops.c
source/blender/editors/space_view3d/view3d_draw.c
source/blender/editors/space_view3d/view3d_view.c
source/blender/gpu/GPU_extensions.h
source/blender/gpu/intern/gpu_extensions.c
source/blender/gpu/intern/gpu_material.c
source/blender/makesrna/intern/rna_armature.c