diff options
author | Matt Ebb <matt@mke3.net> | 2008-12-22 23:28:02 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2008-12-22 23:28:02 +0300 |
commit | be1d06a2c544a4ea27139475a72edb75afa37879 (patch) | |
tree | 6174e21a49d5b886442ef3fc176a9e21e31510e5 /source/blender/blenloader/intern/readfile.c | |
parent | 7124d321d88240f14161c365ec1238ade2ec224d (diff) |
Volume rendering:
* Multithreaded volume light cache
While the render process itself is multithreaded, the light cache pre-process
previously wasn't (painfully noticed this the other week rendering on some
borrowed octocore nodes!). This commit adds threading, similar to the tiled render -
it divides the light cache's voxel grid into 3d parts and renders them with the
available threads.
This makes the most significant difference on shots where the light cache pre-
process is the bottleneck, so shots with either several lights, or a high res light
cache, or both. On this file (3 lights, light cache res 120), on my Core 2 Duo it now
renders in 27 seconds compared to 49 previously.
http://mke3.net/blender/devel/rendering/volumetrics/threaded_cache.jpg
Diffstat (limited to 'source/blender/blenloader/intern/readfile.c')
0 files changed, 0 insertions, 0 deletions