Thomas Dinges
94b2852947
Fix T40399, OpenCL compile error.
2014-05-28 09:36:15 +02:00
Dalai Felinto
517094a697
Cycles: new camera_direction_from_point
...
Reviewers: brecht
Differential Revision: https://developer.blender.org/D556
2014-05-27 11:09:36 -03:00
Dalai Felinto
12abe94de8
fix T40375 Glossy shader bakes different than render
...
Comments from Brecht Van Lommel:
"""
Currently the viewing direction for each pixel is set to the normal, so
at every pixel glossy is evaluated as if you're looking straight at it.
Blender Internal works the same.
"""
This patch makes baking glossy as viewed from the camera.
Reviewers: brecht
CC: zanqdo
Differential Revision: https://developer.blender.org/D555
2014-05-27 10:43:26 -03:00
Brecht Van Lommel
55e4454db8
Cycles CUDA: use fewer registers for sm_50 cards for better performance.
2014-05-27 15:11:32 +02:00
Brecht Van Lommel
69c7522b24
Fix T40379: world MIS causing too much CUDA memory usage.
...
The kernel for baking the world texture was the same as the one used for
baking. Now that's separate which allows the kernel to reserve much less
memory.
2014-05-27 15:11:32 +02:00
Dalai Felinto
0efc0d5200
fix T40322: Glitch in baking a mixed SSS shader
2014-05-26 16:55:40 -03:00
Brecht Van Lommel
b33d83bf51
Attempted fix for T40363: CUDA 30% slowdown in testbuilds compared to 2.70.
...
CMake had this --fast-math flag but scons not, makes a big difference on some
files. Slightly slower rendering might still happen though, but it should not
be this much.
2014-05-26 16:52:28 +02:00
Brecht van Lommel
48b053bd44
Fix T40345: cycles volume render + AO pass not working correct.
2014-05-26 13:51:11 +02:00
Brecht van Lommel
0075efc4d2
Fix T40306: cycles baking not distributing work among CPU cores well.
2014-05-26 13:51:11 +02:00
Dalai Felinto
b3f9117523
Revert "Cycles-Bake: fix T40322 Glitch in baking a mixed SSS shader"
...
This reverts commit 81b129d3b8 .
This is not the correct fix yet. More details in T40322
2014-05-24 14:22:55 -03:00
Thomas Dinges
7fb33e5c43
Cleanup: Comments and unused variables.
2014-05-24 07:28:33 +02:00
Brecht Van Lommel
f8ce417eba
Fix T40320: wrong render layer visibility with cycles deformation motion blur.
2014-05-23 16:11:59 +02:00
Sergey Sharybin
56b7d55833
Report to the console when custom ocio config is used
2014-05-23 13:48:35 +02:00
Dalai Felinto
dd96205d0a
fix T40323 Segfault on baking after rendering
...
The remaining functions in blender_python.cpp changed from using the
MACRO to use python_thread_state_save/python_thread_state_restore
Since this bug only happens when 'Persistent Images' is on it was
introduced in some of the early merges with master and I never caught
it.
Thanks Daniel Salazar for helping with the bug hunting.
2014-05-22 20:18:48 -03:00
Dalai Felinto
81b129d3b8
Cycles-Bake: fix T40322 Glitch in baking a mixed SSS shader
...
If we are using a mix node we still need to evaluate the BSDF lighting
even if scattering is successful.
Note: this was working for branched path (probably an oversight when
branched path support was introduced for baking, a good oversight though
;)
2014-05-22 19:46:22 -03:00
Dalai Felinto
d7e4a79388
Cycles-Bake: fix T40270 Combined Type fails to bake Emission node
...
Main code and review by Brecht Van Lommel
Differential Revision: https://developer.blender.org/D543
2014-05-22 19:05:23 -03:00
Brecht Van Lommel
27cebb2651
Fix T39711: cycles particle motion blur affected by viewport draw method.
2014-05-21 15:51:37 +02:00
Campbell Barton
238a6149af
Fix T40289: Cycles leaking memory
...
error in recent commit
2014-05-21 16:00:20 +10:00
Campbell Barton
b1350cf392
Fix for uninitialized memory use in Cycles
2014-05-21 15:40:52 +10:00
Jörg Müller
38fcc3e14b
Fix T40280: sequencer sound strips with an end at a negative time kept playing
...
The bug was caused by using negative numbers as the end for playing forever (or until the end of the sound is reached) in the library. This was used with speaker objects which have an end of FLT_MAX now instead and the negative number interpretation was removed. I hope this doesn't break anything else.
2014-05-20 23:01:56 +02:00
Brecht Van Lommel
0d9e6a736a
Fix T40262: cycles GPU bake crash due to kernels not loaded, randomly due to thread timing.
2014-05-19 19:33:09 +02:00
Brecht Van Lommel
e97a186ffe
Fix cycles standalone compile error of shading system enum change.
2014-05-19 19:33:09 +02:00
Brecht Van Lommel
3b53fffb77
Cycles: revert async CUDA changes, these are giving too much trouble still.
...
Fixes T40027. This means we get more CPU usage again when using multiple CUDA,
but the impact on performance is too big a problem with the current code.
2014-05-19 19:33:09 +02:00
Sebastian Ramacher
76f7a5bd6b
Fix compilation error on kFreeBSD
2014-05-19 16:35:24 +02:00
Brecht Van Lommel
6271c72caf
Fix T39764: cycles not rendering EXR image textures with 5 channels (RGBA + Z).
2014-05-19 16:25:17 +02:00
Brecht Van Lommel
db2d900f74
Fix T40135: cycles baking did not support branched path settings yet.
2014-05-19 15:14:43 +02:00
Brecht Van Lommel
6252f75025
Code refactor: move branched path AO and SSS code into functions.
2014-05-19 15:07:40 +02:00
Brecht Van Lommel
c91d4ccbeb
Code refactor: rename kernel_displace.h to kernel_bake.h.
2014-05-19 15:07:32 +02:00
Brecht Van Lommel
c6d9b11b70
Fix T40195: cycles smoke + persistent images animation render not working correct.
2014-05-19 14:45:52 +02:00
Nathan Letwory
0f4018a8e5
Remove two unnecessary includes.
2014-05-19 14:46:58 +03:00
Nathan Letwory
0684ac9301
Move ShadingSystem enum to shader.h
...
Add SHADINGSYSTEM_ to enum member names, so it is clear where they
are from.
Revert BVHType enum changes, as there's no need for code dedup here.
2014-05-19 14:46:58 +03:00
Nathan Letwory
9a7c4ead3f
Move BVHType and shadingsystem enums to top-level of Cycles namespace.
...
Easier access of BVHType and deduplication for ShadingSystem.
Reviewers: dingto, brecht
Differential Revision: https://developer.blender.org/D534
2014-05-19 14:46:57 +03:00
Brecht Van Lommel
8cd88e3bd0
Fix T39757: missing cuda libary on linx, now also try to find libcuda.so.1.
...
I'm not sure this should be needed, but some particular systems don't have
libcuda.so so we do this now.
2014-05-17 15:31:47 +02:00
Brecht Van Lommel
be03b735c5
Fix T39757: missing cuda libary on linx, now also try to find libcuda.so.1.
...
I'm not sure this should be needed, but some particular systems don't have
libcuda.so so we do this now.
2014-05-17 15:16:07 +02:00
Brecht Van Lommel
caed2394e2
Fix cycles bug with new transparent shadow code, giving too much volume shadow.
2014-05-15 21:31:58 +02:00
Campbell Barton
b252915b68
CMake/SCons: finish removing MSVC2012 references
2014-05-15 16:16:25 +10:00
Brecht Van Lommel
1b1b71f697
Fix T40149: cycles motion blur render problem with multiple render layers.
2014-05-12 18:37:49 +02:00
Thomas Dinges
146a1c77ea
Cleanup: Remove unused hardcoded variables in the integrator.
...
Differential Revision: https://developer.blender.org/D525
2014-05-12 10:45:11 +02:00
Thomas Dinges
f3dd6b8df2
Cleanup: Some else if for attribute code.
2014-05-12 10:21:13 +02:00
Brecht Van Lommel
df74230c5e
Fix cycles baking code build errors with OpenCL on some platforms.
2014-05-11 16:36:51 +02:00
Brecht Van Lommel
0d5ecc5c33
Fix T40117: cycles sobol RNG issue when disabling __CAMERA_MOTION__.
...
This doesn't affect any actual release code since camera motion blur is enabled.
2014-05-11 16:36:51 +02:00
Campbell Barton
c88e65da61
Code cleanup: comment typos
2014-05-11 16:22:05 +10:00
Campbell Barton
da644a9b58
Quiet warnings with __CUDA_ARCH__ use
2014-05-11 16:17:02 +10:00
Thomas Dinges
c08c931fb6
Cycles / CUDA: Increase maximum image textures on GPU.
...
Instead of 95, we can use 145 images now. This only affects Kepler and above (sm30, sm_35 and sm_50).
This can be increased further if needed, but let's first test if this does not come with a performance impact.
Originally developed during my GSoC 2013.
2014-05-11 03:38:39 +02:00
Thomas Dinges
fd26a32aa5
Fix T40119, CUDA Toolkit version mismatch
2014-05-10 01:26:04 +02:00
Brecht Van Lommel
5f01b3d96e
Fix T39585: cycles motion vector pass problem with curves.
2014-05-09 17:14:13 +02:00
Brecht Van Lommel
fe00dbcc23
Fix cycles motion pass for hair curves showing a bit of motion when there isn't any.
2014-05-09 17:14:13 +02:00
Dalai Felinto
672cebf19a
Cycles-Bake: displacement support (fix T40068)
...
Code with contribution from Brecht Van Lommel.
Reviewers: brecht
Differential Revision: https://developer.blender.org/D510
2014-05-08 14:38:43 -03:00
Brecht Van Lommel
19bddbfc54
Fix T40079: cycles crash with objects that have hair motion blur, but no triangle motion.
2014-05-08 15:27:49 +02:00
Campbell Barton
65d54f34b1
Code cleanup: spelling/indentation
2014-05-08 04:53:05 +10:00