hi,
ive been working on trying to get glsl shaders and multitexturing
to work with soya.
you can see/use the code with this patch:
http://30bentham.homelinux.org/~dunk/python/soya_new_material.diff
A new shape class is also included because i didnt want to hack around
in the SimpleShape class. This shape class uses vertex arrays instead of
display lists.
Here are two example scripts ( not very clean sorry ):
http://30bentham.homelinux.org/~dunk/python/modeling-material-env.py
http://30bentham.homelinux.org/~dunk/python/modeling-material-shader.py
And some screenshots:
uv texture and env map -
http://30bentham.homelinux.org/~dunk/python/soya-pywracer.png
glsl toon shader -
http://30bentham.homelinux.org/~dunk/python/soya-toon-aa.png
glsl brick shader -
http://30bentham.homelinux.org/~dunk/python/soya-shader.png
I also have a very simple blender exporter to work with my shape class
if anyone wants it and some example shader source.
Only small tests have been done so far but it seems to work fine for me.
If you have any comments or questions please speak up :)
have fun
dunk