blender/intern/cycles/render
Brecht Van Lommel 07b2241fb1 Cycles: merging features from tomato branch.
=== BVH build time optimizations ===

* BVH building was multithreaded. Not all building is multithreaded, packing
  and the initial bounding/splitting is still single threaded, but recursive
  splitting is, which was the main bottleneck.

* Object splitting now uses binning rather than sorting of all elements, using
  code from the Embree raytracer from Intel.
  http://software.intel.com/en-us/articles/embree-photo-realistic-ray-tracing-kernels/

* Other small changes to avoid allocations, pack memory more tightly, avoid
  some unnecessary operations, ...

These optimizations do not work yet when Spatial Splits are enabled, for that
more work is needed. There's also other optimizations still needed, in
particular for the case of many low poly objects, the packing step and node
memory allocation.

BVH raytracing time should remain about the same, but BVH build time should be
significantly reduced, test here show speedup of about 5x to 10x on a dual core
and 5x to 25x on an 8-core machine, depending on the scene.

=== Threads ===

Centralized task scheduler for multithreading, which is basically the
CPU device threading code wrapped into something reusable.

Basic idea is that there is a single TaskScheduler that keeps a pool of threads,
one for each core. Other places in the code can then create a TaskPool that they
can drop Tasks in to be executed by the scheduler, and wait for them to complete
or cancel them early.

=== Normal ====

Added a Normal output to the texture coordinate node. This currently
gives the object space normal, which is the same under object animation.

In the future this might become a "generated" normal so it's also stable for
deforming objects, but for now it's already useful for non-deforming objects.

=== Render Layers ===

Per render layer Samples control, leaving it to 0 will use the common scene
setting.

Environment pass will now render environment even if film is set to transparent.

Exclude Layers" added. Scene layers (all object that influence the render,
directly or indirectly) are shared between all render layers. However sometimes
it's useful to leave out some object influence for a particular render layer.
That's what this option allows you to do.

=== Filter Glossy ===

When using a value higher than 0.0, this will blur glossy reflections after
blurry bounces, to reduce noise at the cost of accuracy. 1.0 is a good
starting value to tweak.

Some light paths have a low probability of being found while contributing much
light to the pixel. As a result these light paths will be found in some pixels
and not in others, causing fireflies. An example of such a difficult path might
be a small light that is causing a small specular highlight on a sharp glossy
material, which we are seeing through a rough glossy material. With path tracing
it is difficult to find the specular highlight, but if we increase the roughness
on the material the highlight gets bigger and softer, and so easier to find.

Often this blurring will be hardly noticeable, because we are seeing it through
a blurry material anyway, but there are also cases where this will lead to a
loss of detail in lighting.
2012-04-28 08:53:59 +00:00
..
attribute.cpp Cycles: fix msvc compile warning, patch by Jason Wilkins. 2012-02-28 16:45:01 +00:00
attribute.h Cycles: fix msvc compile warning, patch by Jason Wilkins. 2012-02-28 16:45:01 +00:00
background.cpp Cycles: add render layer use environment option to disable world lighting on 2012-04-13 12:58:12 +00:00
background.h Cycles: add render layer use environment option to disable world lighting on 2012-04-13 12:58:12 +00:00
buffers.cpp Fix/tweak for cycles border render, it wasn't generating the exact same samples 2012-04-16 09:52:25 +00:00
buffers.h Cycles: viewport rendered draw mode now shows background images, also changed the 2012-03-28 09:07:10 +00:00
camera.cpp Fix #30966: cycles nan mesh vertices got set to (0, 0, 0), now remove them instead. 2012-04-16 08:35:21 +00:00
camera.h Cycles: support for camera rendering an environment map with equirectangular 2012-02-28 16:44:54 +00:00
CMakeLists.txt spelling cleanup 2012-03-18 07:38:51 +00:00
film.cpp Fix exposure being applied to cycles AO pass. 2012-04-19 15:00:54 +00:00
film.h Fix #30551: cycles passes combining did not always give identical result combined 2012-03-28 12:18:12 +00:00
filter.cpp Fix #29274: problem compiling cycles opencl kernel from directory with spaces. 2011-11-22 16:38:58 +00:00
filter.h Cycles: 2011-08-28 13:55:59 +00:00
graph.cpp Generalized node groups for Cycles. 2011-12-18 15:34:06 +00:00
graph.h Generalized node groups for Cycles. 2011-12-18 15:34:06 +00:00
image.cpp Cycles: float texture support. Due to GPU limitations there are now 95 byte, 2012-03-07 12:27:18 +00:00
image.h Cycles: float texture support. Due to GPU limitations there are now 95 byte, 2012-03-07 12:27:18 +00:00
integrator.cpp Cycles: merging features from tomato branch. 2012-04-28 08:53:59 +00:00
integrator.h Cycles: merging features from tomato branch. 2012-04-28 08:53:59 +00:00
light.cpp Fix #30966: cycles nan mesh vertices got set to (0, 0, 0), now remove them instead. 2012-04-16 08:35:21 +00:00
light.h Sample as Lamp option for world shaders, to enable multiple importance sampling. 2012-01-20 17:49:17 +00:00
mesh_displace.cpp Sample as Lamp option for world shaders, to enable multiple importance sampling. 2012-01-20 17:49:17 +00:00
mesh.cpp Cycles: merging features from tomato branch. 2012-04-28 08:53:59 +00:00
mesh.h Cycles: 2011-11-12 14:29:52 +00:00
nodes.cpp Cycles: merging features from tomato branch. 2012-04-28 08:53:59 +00:00
nodes.h Cycles: add ColorRamp node. 2012-03-26 12:45:14 +00:00
object.cpp Cycles: merging features from tomato branch. 2012-04-28 08:53:59 +00:00
object.h Cycles: Render Passes 2012-01-25 17:23:52 +00:00
osl.cpp Cycles: revert commit that joined surface/volume socket into a single shader socket, 2011-10-12 23:03:12 +00:00
osl.h Cycles render engine, initial commit. This is the engine itself, blender modifications and build instructions will follow later. 2011-04-27 11:58:34 +00:00
scene.cpp Cycles: fix AO pass not rendering with AO enabled for world, and make mask 2012-02-28 19:43:33 +00:00
scene.h Cycles: add render layer use environment option to disable world lighting on 2012-04-13 12:58:12 +00:00
session.cpp Cycles: merging features from tomato branch. 2012-04-28 08:53:59 +00:00
session.h Fix #30246: rendering multiple render layers with CUDA still not working, 2012-02-23 19:48:18 +00:00
shader.cpp Cycles: add render layer use environment option to disable world lighting on 2012-04-13 12:58:12 +00:00
shader.h Cycles: Render Passes 2012-01-25 17:23:52 +00:00
sobol.cpp Fix #29528: crash adding subsurf modifier in a particular scene with viewport render. 2011-12-08 21:55:35 +00:00
sobol.h Fix #29528: crash adding subsurf modifier in a particular scene with viewport render. 2011-12-08 21:55:35 +00:00
svm.cpp Cycles: add ColorRamp node. 2012-03-26 12:45:14 +00:00
svm.h Cycles: add ColorRamp node. 2012-03-26 12:45:14 +00:00
tile.cpp Cycles: device code refactoring, no functional changes. 2012-01-04 18:06:32 +00:00
tile.h Cycles: some small code refactoring related to buffer parameters. 2011-12-21 13:48:35 +00:00