Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-04-25 00:21:33 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-04-25 00:21:33 +0400
commit0821fc4377c4525c352997c274849e5a9519d4b3 (patch)
tree6ee1f8671a2155b030295b3f4c1e2214bf0fae27 /source/blender/python/SConscript
parent9fdd01d3e53a5b9cf4f32bbea752bba604f914bd (diff)
Apricot Branch: material GLSL shaders
===================================== - Currently only supports node-based materials, with some nodes, main purpose of this commit is to get the infrastructure in place, more material options will be added in the following weeks. - Supported shader nodes: camera, curves, geometry (everything except global and front/back), curves (partially), huesatval, invert, mapping, math, mix/add/mult/sub/div, math, vector math, normal, output, rgb, separate/combine rgb, squeeze, basic image textures, value and output. - Lights and shaders are still missing, but since the SoC project had these working quite far it should be possible to reuse that code. - Enable using "GL Shaded Mode" in the user preferences. It will replace regular shaded mode with glsl shaders. - If the material is not node based or has an error in it, it will revert to solid shading. Need to do this kind of error handling better and make it posssible to still run even with some functionality not supported. - Integration with texture loading in textured mode is very poor, needs to be revised. - Only added support for Scons and Makefiles. - Added GLEW in extern/. There were some conflicts with the game engine opengl extensions but managed to solve them. Still, it would be good to use single mechanism for opengl extensions. - Added a "gpu" module in source/blender. It has quite a lot of code with much of it uncommented as well, some of that will become used and some it will be removed later. - OpenGL shader code is currently converted to a C file with datatoc (which now 0-terminates the arrays), but this has to be done manually still, need to figure out a better way or integrate it into the build systems.
Diffstat (limited to 'source/blender/python/SConscript')
-rw-r--r--source/blender/python/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/SConscript b/source/blender/python/SConscript
index 481fdcbe13e..c187720fbb9 100644
--- a/source/blender/python/SConscript
+++ b/source/blender/python/SConscript
@@ -6,6 +6,7 @@ sources = Split('BPY_interface.c BPY_menus.c') + env.Glob('api2_2x/*.c')
incs = 'api2_2x ../blenkernel ../nodes ../blenlib ../blenloader'
incs += ' ../render/extern/include ../radiosity/extern/include'
incs += ' ../makesdna #intern/guardedalloc #intern/bmfont ../imbuf ../include'
+incs += ' #extern/glew/include'
incs += ' ' + env['BF_PYTHON_INC']
incs += ' ' + env['BF_OPENGL_INC']