* Volume rendering
authorMatt Ebb <matt@mke3.net>
Mon, 22 Sep 2008 01:51:24 +0000 (01:51 +0000)
committerMatt Ebb <matt@mke3.net>
Mon, 22 Sep 2008 01:51:24 +0000 (01:51 +0000)
commit7522f86d010e600e17e82f98364235e96df21c1e
treec48305d18c6895613782560d20a1150bf56ae175
parent6701f07e66368604fcd6286bbbd42f479c5c9880
* Volume rendering

This is an initial commit to get it in SVN and make it easier to work on.

Don't expect it to work perfectly, it's still in development and there's
plenty of work still needing to be done. And so no I'm not very interested
in hearing bug reports or feature requests at this stage :)

There's some info on this, and a todo list at:
http://mke3.net/weblog/volume-rendering/

Right now I'm trying to focus on getting shading working correctly (there's
currently a problem in which 'surfaces' of the volume facing towards or away
from light sources are getting shaded differently to how they should be),
then I'll work on integration issues, like taking materials behind the volume
into account, blending with alpha, etc. You can do simple testing though,
mapping textures to density or emission on a cube with volume material.
15 files changed:
source/blender/blenkernel/intern/material.c
source/blender/blenlib/BLI_arithb.h
source/blender/blenlib/intern/arithb.c
source/blender/blenloader/intern/readfile.c
source/blender/makesdna/DNA_material_types.h
source/blender/render/intern/include/shading.h
source/blender/render/intern/include/texture.h
source/blender/render/intern/include/volumetric.h [new file with mode: 0644]
source/blender/render/intern/source/convertblender.c
source/blender/render/intern/source/shadeinput.c
source/blender/render/intern/source/shadeoutput.c
source/blender/render/intern/source/texture.c
source/blender/render/intern/source/volumetric.c [new file with mode: 0644]
source/blender/src/buttons_shading.c
source/blender/src/previewrender.c