Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-11Fix T41783: Cycles baking ignores displacementDalai Felinto
Create unique flag for output shaders with displacement data and use it to calculate transformed normal. Implementation suggested by Brecht Van Lommel. Reviewers: brecht Differential Revision: https://developer.blender.org/D890
2014-11-11Fix T41873: Different 'seed' values do not yield different noise patterns ↵Dalai Felinto
when using cycles texture bake As per instructions by Brecht Van Lommel.
2014-09-25Cycles: Add support for cameras inside volumeSergey Sharybin
Basically the title says it all, volume stack initialization now is aware that camera might be inside of the volume. This gives quite noticeable render time regressions in cases camera is in the volume (didn't measure them yet) because this requires quite a few of ray-casting per camera ray in order to check which objects we're inside. Not quite sure if this might be optimized. But the good thing is that we can do quite a good job on detecting whether camera is outside of any of the volumes and in this case there should be no time penalty at all (apart from some extra checks during the sync state). For now we're only doing rather simple AABB checks between the viewplane and volume objects. This could give some false-positives, but this should be good starting point. Need to mention panoramic cameras here, for them it's only check for whether there are volumes in the scene, which would lead to speed regressions even if the camera is outside of the volumes. Would need to figure out proper check for such cameras. There are still quite a few of TODOs in the code, but the patch is good enough to start playing around with it checking whether there are some obvious mistakes somewhere. Currently the feature is only available in the Experimental feature sey, need to solve some of the TODOs and look into making things faster before considering the feature is ready for the official feature set. This would still likely happen in current release cycle. Reviewers: brecht, juicyfruit, dingto Differential Revision: https://developer.blender.org/D794
2014-09-25Fix T39823: SSS scatter doesn't update volume stack, causing shading artifactsSergey Sharybin
Basically the title says it all, we need to update volume stack when doing ray scatter for SSS. This leads to speed regressions in cases scene does have both volume and SSS (performance in case there's no SSS or no volume should be the same). We might try optimizing kernel_path_subsurface_update_volume_stack() a bit by either recording all intersections or using some more appropriate visibility flags. Reviewers: brecht, juicyfruit, dingto Differential Revision: https://developer.blender.org/D795
2014-08-19Fix T41471 Cycles Bake: Setting small tile size results in wrong bake with ↵Dalai Felinto
stripes rather than the expected noise pattern This problem was introduced in 983cbafd1877f8dbaae60b064a14e27b5b640f18 Basically the issue is that we were not getting a unique index in the baking routine for the RNG (random number generator). Reviewers: sergey Differential Revision: https://developer.blender.org/D749
2014-08-13Fix T41219: Cycles backface detection doesn't work properlySergey Sharybin
Root of the issue goes back to the on-fly normals commit and the latest fix for it wasn't actually correct. I've mixed two fixes in there. So the idea here goes back to storing negative scaled object flag and flip runtime-calculated normal if this flag is set, which is pretty much the same as the original fix for the issue from me. The issue with motion blur wasn't caused by the rumtime normals patch and it had issues before, because it already did runtime normals calculation. Now made it so motion triangles takes the negative scale flag into account. This actually makes code more clean imo and avoids rather confusing flipping code in mesh.cpp.
2014-07-10Cleanup: Always assign num_samples, there is no need for this special define.Thomas Dinges
2014-06-14Cycles code refactor: deduplicate and symmetrize some path tracing code.Brecht Van Lommel
2014-06-06Fix T40370: cycles CUDA baking timeout with high number of AA samples.Brecht Van Lommel
Now baking does one AA sample at a time, just like final render. There is also some code for shader antialiasing that solves T40369 but it is disabled for now because there may be unpredictable side effects.
2014-05-29Revert "fix T40375 Glossy shader bakes different than render"Dalai Felinto
This reverts commit 12abe94de827d9ae9c0dd6cc49bc6c3e377842ad. After a long discussion in the bug tracker we decided baking should use the faces normals for glossy (and combined). This is what Blender Internal is doing, and one of the more predictable way of yielding predictable results. That also means the result will not match the render perfectly, but this is preferrable over the alternatives at hand. Conflicts: intern/cycles/kernel/kernel_bake.h
2014-05-28Fix T40399, OpenCL compile error.Thomas Dinges
2014-05-27Cycles: new camera_direction_from_pointDalai Felinto
Reviewers: brecht Differential Revision: https://developer.blender.org/D556
2014-05-27fix T40375 Glossy shader bakes different than renderDalai Felinto
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-27Fix T40379: world MIS causing too much CUDA memory usage.Brecht Van Lommel
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-26fix T40322: Glitch in baking a mixed SSS shaderDalai Felinto
2014-05-24Revert "Cycles-Bake: fix T40322 Glitch in baking a mixed SSS shader"Dalai Felinto
This reverts commit 81b129d3b837e31c0d6d2a9d2a6e39d39e47c1ec. This is not the correct fix yet. More details in T40322
2014-05-23Cycles-Bake: fix T40322 Glitch in baking a mixed SSS shaderDalai Felinto
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-23Cycles-Bake: fix T40270 Combined Type fails to bake Emission nodeDalai Felinto
Main code and review by Brecht Van Lommel Differential Revision: https://developer.blender.org/D543
2014-05-19Fix T40135: cycles baking did not support branched path settings yet.Brecht Van Lommel
2014-05-19Code refactor: rename kernel_displace.h to kernel_bake.h.Brecht Van Lommel