blender/intern/cycles/render
Dalai Felinto d15c5e51a1 Invert Color Cycles Node
as with the HSV node the OSL code is relying on the (yet to be implemented) autorename.

Also the svm code could use mix (svm_lerp) instead:
 32 . float3 color_inv = make_float3(1.0f, 1.0f, 1.0f) - color;
 35 . . stack_store_float3(stack, out_color, svm_lerp(color_inv, color, factor));

I have a feeling that each node 'program' should have the least program as possible. I'll see with Brecht later.
But overall I don't know if that's any fast. And apart from that I think we will need this kind of function to move to a library if multiple functions linked in are not a problem.
2011-12-03 23:05:35 +00:00
..
attribute.cpp Cycles: more opencl fixes. 2011-05-31 11:31:00 +00:00
attribute.h Cycles: some tweaks to silence msvc assertions in debug mode. 2011-10-03 15:31:45 +00:00
background.cpp Cycles: 2011-08-28 13:55:59 +00:00
background.h Cycles: 2011-08-28 13:55:59 +00:00
buffers.cpp Cycles: tweaks to properties and nodes 2011-09-16 13:14:02 +00:00
buffers.h Cycles: tweaks to properties and nodes 2011-09-16 13:14:02 +00:00
camera.cpp Cycles: tweaks to properties and nodes 2011-09-16 13:14:02 +00:00
camera.h Cycles: tweaks to properties and nodes 2011-09-16 13:14:02 +00:00
CMakeLists.txt add some missing headers to cmake, also add some files as comments since it seems they should be added but evidently work fine without. 2011-11-10 06:05:22 +00:00
film.cpp Cycles: fix windows build, some minor tweaks. 2011-09-09 16:38:15 +00:00
film.h Cycles: fix windows build, some minor tweaks. 2011-09-09 16:38:15 +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 Cycles: image texture node now uses UV as default texture coordinate, 2011-10-12 16:01:37 +00:00
graph.h Cycles: image texture node now uses UV as default texture coordinate, 2011-10-12 16:01:37 +00:00
image.cpp Cycles: fix small memory leak in image loading. 2011-08-15 19:30:24 +00:00
image.h Cycles: OSL build & image manager fixes. 2011-05-31 16:21:30 +00:00
integrator.cpp Cycles: seed value to get different noise values from renders, there was a patch 2011-10-29 14:27:24 +00:00
integrator.h Cycles: seed value to get different noise values from renders, there was a patch 2011-10-29 14:27:24 +00:00
light.cpp Cycles: internal changes that should have no effect on user level yet, added 2011-09-27 20:37:24 +00:00
light.h Cycles: internal changes that should have no effect on user level yet, added 2011-09-27 20:37:24 +00:00
mesh_displace.cpp 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
mesh.cpp Cycles: 2011-12-02 14:26:28 +00:00
mesh.h Cycles: 2011-11-12 14:29:52 +00:00
nodes.cpp Invert Color Cycles Node 2011-12-03 23:05:35 +00:00
nodes.h Invert Color Cycles Node 2011-12-03 23:05:35 +00:00
object.cpp Cycles: 2011-11-12 14:29:52 +00:00
object.h Cycles: 2011-09-01 15:53:36 +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: pause button to interrupt viewport renders, in the 3d view header. 2011-08-29 16:54:13 +00:00
scene.h Cycles: enable multi closure sampling and transparent shadows only on CPU and 2011-10-16 18:54:27 +00:00
session.cpp Cycles: improve error reporting for opencl and cuda, showing error messages in 2011-11-22 20:49:33 +00:00
session.h Cycles: tweaks to properties and nodes 2011-09-16 13:14:02 +00:00
shader.cpp Cycles: revert commit that joined surface/volume socket into a single shader socket, 2011-10-12 23:03:12 +00:00
shader.h Cycles: revert commit that joined surface/volume socket into a single shader socket, 2011-10-12 23:03:12 +00:00
sobol.cpp 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
sobol.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
svm.cpp Cycles: enable multi closure sampling and transparent shadows only on CPU and 2011-10-16 18:54:27 +00:00
svm.h Cycles: another bugfix for mix closure sampling + bump. 2011-09-21 11:54:28 +00:00
tile.cpp Cycles: tweaks to properties and nodes 2011-09-16 13:14:02 +00:00
tile.h Cycles: tweaks to properties and nodes 2011-09-16 13:14:02 +00:00