<br><br><div class="gmail_quote">2008/4/24 Brecht Van Lommel <<a href="mailto:brechtvanlommel@pandora.be">brechtvanlommel@pandora.be</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Revision: 14539<br>
<a href="http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14539" target="_blank">http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14539</a><br>
Author: blendix<br>
Date: 2008-04-24 22:21:33 +0200 (Thu, 24 Apr 2008)<br>
<br>
Log Message:<br>
-----------<br>
<br>
Apricot Branch: material GLSL shaders<br>
=====================================<br>
<br>
- Currently only supports node-based materials, with some nodes,<br>
main purpose of this commit is to get the infrastructure in<br>
place, more material options will be added in the following weeks.<br>
- Supported shader nodes: camera, curves, geometry (everything<br>
except global and front/back), curves (partially), huesatval,<br>
invert, mapping, math, mix/add/mult/sub/div, math, vector math,<br>
normal, output, rgb, separate/combine rgb, squeeze, basic image<br>
textures, value and output.<br>
- Lights and shaders are still missing, but since the SoC project<br>
had these working quite far it should be possible to reuse that<br>
code.<br>
<br>
- Enable using "GL Shaded Mode" in the user preferences. It will<br>
replace regular shaded mode with glsl shaders.<br>
- If the material is not node based or has an error in it, it will<br>
revert to solid shading. Need to do this kind of error handling<br>
better and make it posssible to still run even with some<br>
functionality not supported.<br>
- Integration with texture loading in textured mode is very poor,<br>
needs to be revised.<br>
<br>
- Only added support for Scons and Makefiles.<br>
- Added GLEW in extern/. There were some conflicts with the game<br>
engine opengl extensions but managed to solve them. Still, it<br>
would be good to use single mechanism for opengl extensions.<br>
- Added a "gpu" module in source/blender. It has quite a lot of<br>
code with much of it uncommented as well, some of that will<br>
become used and some it will be removed later.<br>
- OpenGL shader code is currently converted to a C file with<br>
datatoc (which now 0-terminates the arrays), but this has to<br>
be done manually still, need to figure out a better way or<br>
integrate it into the build systems.<br>
<br></blockquote></div>Hello, is it the GSoC of last year you used?<br>