Blender Git Loki

Git Commits -> Revision 50d0e1a

Revision 50d0e1a by Matt Ebb (master)
September 23, 2008, 04:26 (GMT)
* Volumetrics update

- Fixed a shading bug, due to issues in the raytrace engine where it would ignore
intersections from the starting face (as it should). Disabled this for single
scattering intersections, thanks to Brecht for a hint there. It still shows a
little bit of noise, I think due to raytrace inaccuracy, which will have to be
fixed up later.

before: http://mke3.net/blender/devel/rendering/volumetrics/vol_shaded_old.png
after: http://mke3.net/blender/devel/rendering/volumetrics/vol_shaded_correct.png

Now single scatttering shading works very nicely and is capable of things like this:
http://mke3.net/blender/devel/rendering/volumetrics/vol_shaded_clouds.mov

- Added colour emission. Now as well as the overall 'Emit:' slider to control
overall emission strength, there's also a colour swatch for the volume to emit
that colour. This can also be textured, using 'Emit Col' in the map to panel.

This animation was made using a clouds texture, with colour band, mapped to both
emit colour and emit (strength):
http://mke3.net/blender/devel/rendering/volumetrics/vol_col_emit.mov

- Added 'Local' mapping to 'map input' - it's similar to Orco

- Fixed texture 'map input', wasn't using the offsets or scale values.

Commit Details:

Full Hash: 50d0e1a988a55a7e7a59823c030ce9ac3413a9a2
SVN Revision: 16694
Parent Commit: c08acde
Lines Changed: +95, -37

6 Modified Paths:

/source/blender/makesdna/DNA_material_types.h (+3, -0) (Diff)
/source/blender/render/intern/source/convertblender.c (+24, -0) (Diff)
/source/blender/render/intern/source/raytrace.c (+1, -1) (Diff)
/source/blender/render/intern/source/texture.c (+14, -2) (Diff)
/source/blender/render/intern/source/volumetric.c (+38, -33) (Diff)
/source/blender/src/buttons_shading.c (+15, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021