Brecht Van Lommel
22abc63f67
Cycles: ambient occlusion support, with AO factor and distance, and a render pass.
...
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/World#Ambient_Occlusion
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Passes#Lighting_Passes
2012-02-28 16:45:08 +00:00
Brecht Van Lommel
6cb896ff0a
Cycles: fix msvc compile warning, patch by Jason Wilkins.
2012-02-28 16:45:01 +00:00
Brecht Van Lommel
4a90339519
Cycles: support for camera rendering an environment map with equirectangular
...
environment map, by enabling the Panorama option in the camera.
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Camera#Panorama
The focal length or sensor settings are not used, the UI can be tweaked still to
communicate this, also panorama should probably become a proper camera type like
perspective or ortho.
2012-02-28 16:44:54 +00:00
Brecht Van Lommel
0052cbed0d
Cycles: support for mask layers in render layer, this has the same effect as
...
assigning holdout shaders to every object in the specified layers.
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Passes#Layers
2012-02-28 16:44:45 +00:00
Brecht Van Lommel
aecff24add
Cycles: extra OpenCL NULL point check, maybe avoids some crashes. Don't think
...
this should ever happen in practice but maybe it does anyway.
2012-02-28 16:44:36 +00:00
Campbell Barton
6ca7d82932
code cleanup: white space, spelling & ';;' end of lines.
2012-02-25 16:04:03 +00:00
Brecht Van Lommel
f4bb31f26b
Cycles: tweak for AMD opencl compile of advanced shading, from Daniel Genrich,
...
still does not work correct but should compile if you have enough memory.
2012-02-24 15:53:19 +00:00
Brecht Van Lommel
0cf38faea4
Fix #30140 : cycles multi GPU rendering with one device supporting full
...
shading and the other not can't work correct, disabled that now.
2012-02-23 20:27:17 +00:00
Brecht Van Lommel
c4b64343d0
Fix #30246 : rendering multiple render layers with CUDA still not working,
...
should really be fixed now.
2012-02-23 19:48:18 +00:00
Brecht Van Lommel
334416bdaf
Cycles: fix cuda kernel not getting rebuilt correctly after changes, due to
...
refactoring that changed variable names, also fixed OpenCL compile issue with
advanced shading.
2012-02-23 15:10:10 +00:00
Thomas Dinges
f8c6f81271
Cycles:
...
* Remove obsolete comments in the Oren Nayar code.
2012-02-23 09:11:17 +00:00
Brecht Van Lommel
3eaa46e80d
Cycles: improve the Oren-Nayar BSDF (roughness value for Diffuse), to avoid
...
undesired dark rings, and give more accurate lighting when the light is
behind the object. As a bonus, the code is simpler & faster.
Patch by Yasuhiro Fujii, detailed explanation here:
http://mimosa-pudica.net/improved-oren-nayar.html
2012-02-22 15:04:22 +00:00
Brecht Van Lommel
dc181ea7e4
Fix: cycles crash with multiple OpenCL platforms installed, tracked down by Sergey.
2012-02-20 14:19:34 +00:00
Campbell Barton
78f9bb6e91
svn merge ^/trunk/blender -r44118:44136
2012-02-15 18:32:08 +00:00
Brecht Van Lommel
697270a024
Fix another padding error in cycles, to complete the previous bugfix.
2012-02-15 14:56:08 +00:00
Brecht Van Lommel
2e752dea2f
Fix #30139 : multi render layer not working with CUDA render, due to padding error
...
in render pass code.
2012-02-15 14:32:07 +00:00
Campbell Barton
ac4484b239
svn merge ^/trunk/blender -r43976:43995
2012-02-09 01:53:14 +00:00
Brecht Van Lommel
b6d12f11fe
Fix #30004 : cycles brightness/contrast node issues. The formula used did not work
...
very well for colors that can be outside of the 0.0..1.0 range, giving +/- infinity
results.
Now we just use a simple linear contrast factor as proposed by Paolo Sourvinos, and
clamp values to be >= 0, and also make the parameters work more in the 0..1 range
instead of the 0..100 range, to be more consistent with other nodes.
2012-02-08 17:09:30 +00:00
Campbell Barton
19d0f93099
svn merge ^/trunk/blender -r43934:43976
2012-02-08 05:45:16 +00:00
Brecht Van Lommel
54c7f374c8
Fix #30061 : cycles single render layer through python operator parameter not
...
working.
2012-02-07 20:51:33 +00:00
Brecht Van Lommel
4a427a441b
Fix #30049 : cycles noise texture producing nan values with some
...
texture coordinates, due to int overflow.
Also minor tweak in shader code to avoid copying uninitialized
values, should have no effect though because they were not used.
2012-02-07 17:32:01 +00:00
Brecht Van Lommel
b67b1c8564
Fix #30086 : cycles background render printing same status text twice.
2012-02-07 17:22:47 +00:00
Campbell Barton
d0412a1981
svn merge ^/trunk/blender -r43864:43887
2012-02-05 02:30:30 +00:00
Brecht Van Lommel
5c395b69f5
Fix for Luxrender boost::thread conflict, workaround now is to just not use it
...
in cycles and use pthreads instead.
2012-02-04 19:58:09 +00:00
Campbell Barton
637bc0ddea
Code Cleanup: pep8 edits
2012-02-04 11:10:41 +00:00
Campbell Barton
075fee4d58
svn merge ^/trunk/blender -r43830:43864
2012-02-03 01:30:21 +00:00
Campbell Barton
e3958015db
Code Cleanup: check is / is not when comparing singletons.
2012-02-02 21:07:56 +00:00
Campbell Barton
8926cbd0a7
svn merge ^/trunk/blender -r43819:43830
2012-02-02 00:04:47 +00:00
Brecht Van Lommel
5504ba6f50
Cycles: material pass index button was missing from material properties still.
2012-02-01 13:38:23 +00:00
Campbell Barton
4aa82806ef
svn merge ^/trunk/blender -r43751:43819, need to look into changes made to editmesh_loop.c from this range still
2012-02-01 09:31:13 +00:00
Brecht Van Lommel
21554f2df5
Fix #30011 & #30027 : cycles division by zero evaluating BSDF with zero weights,
...
showed up as NaN on GPU render.
2012-01-31 15:59:30 +00:00
Brecht Van Lommel
87149fc4b6
Fix #30034 : bug in multiple importance sampling + transparency, would
...
give slightly wrong lighting behind transparent objects.
2012-01-31 14:57:46 +00:00
Brecht Van Lommel
26d3b873d5
Fix #30009 : cycles translucent BSDF + environment importance sampling not
...
working correct.
2012-01-30 18:34:01 +00:00
Campbell Barton
870aa90112
svn merge ^/trunk/blender -r43733:43751
2012-01-29 21:49:49 +00:00
Brecht Van Lommel
b023665551
Cycles: another fix for CUDA render passes, needed to align float4 passes.
2012-01-27 13:58:32 +00:00
Brecht Van Lommel
4fe00cd4f9
Cycles: disable environment importance sampling code for CUDA cards with
...
compute model < 2.x, to avoid running out of memory in the compiler.
2012-01-26 19:45:59 +00:00
Campbell Barton
de4eeb9694
svn merge ^/trunk/blender -r43693:43733
2012-01-26 19:20:33 +00:00
Brecht Van Lommel
803286dde8
Cycles: render passes for CUDA cards with compute model >= 2.x.
2012-01-26 19:07:01 +00:00
Brecht Van Lommel
de5d5ded7b
Cycles: fixes for OpenCL build after pass changes, patch by Daniel Genrich.
2012-01-26 15:37:33 +00:00
Brecht Van Lommel
7e86c8fcdc
Fix #29966 : cycles elapsed time not resetting in viewport after changes.
2012-01-26 14:55:39 +00:00
Brecht Van Lommel
f8bddbd347
Cycles: fix issues rendering second render layer passes, and avoid unnecessary
...
clear of buffer.
2012-01-26 14:55:25 +00:00
Campbell Barton
4fae6cd38d
svn merge ^/trunk/blender -r43685:43693
2012-01-25 18:13:58 +00:00
Brecht Van Lommel
f99343d3b8
Cycles: Render Passes
...
Currently supported passes:
* Combined, Z, Normal, Object Index, Material Index, Emission, Environment,
Diffuse/Glossy/Transmission x Direct/Indirect/Color
Not supported yet:
* UV, Vector, Mist
Only enabled for CPU devices at the moment, will do GPU tweaks tommorrow,
also for environment importance sampling.
Documentation:
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Passes
2012-01-25 17:23:52 +00:00
Campbell Barton
75a4832af3
svn merge ^/trunk/blender -r43676:43685
2012-01-24 22:44:48 +00:00
Campbell Barton
d3090a32f2
svn merge ^/trunk/blender -r43664:43676
2012-01-24 20:19:09 +00:00
Thomas Dinges
c905415f6b
Cycles Node Editor:
...
* Add Use Nodes button for World shader type
* UI was not redrawing the Node area, when enabling "Use nodes", added check for it to the listener.
2012-01-24 20:10:37 +00:00
Dalai Felinto
335ffb0ff3
Brightness/Contrast Node for Cycles
...
Contrast helps to adjust IBL (HDR images used for background lighting).
Note: In the UI we are caling it Bright instead of Brightness. This copy what Blender composite is doing.
Note2: the algorithm we are using produces pure black when contrast is 100. I'm not a fan of that, but it's a division by zero. I would like to look at other algorithms (what gimp does for example). But that would be only after 2.62.
2012-01-24 16:32:31 +00:00
Campbell Barton
5cc898ada2
svn merge ^/trunk/blender -r43616:43639
2012-01-23 16:46:35 +00:00
Thomas Dinges
9dac61c74d
Cycles Textures:
...
* Remove the "Use nodes" button, the TextureOutput node was never ported to trunk from the cycles branch.
2012-01-22 22:59:21 +00:00
Thomas Dinges
b3d5224390
Cycles UI:
...
* Use full width for the world sample as lamp properties
2012-01-22 22:43:21 +00:00