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
2017-09-08Cycles: Safer fix for infinite recursionSergey Sharybin
Previous fix wasn't working correct for certain compiler and CPU intrinsics mode, causing quite some crashes. This should be a safer fix, which is closer in behavior to previous release but which should still fix issues with robust curve intersection.
2017-09-04Fix T52533: Blender shuts down when rendering duplicated smoke domainSergey Sharybin
2017-09-04Cycles: Fix compilation warningSergey Sharybin
2017-09-04Cycles: Correct logging of sued CPU intrisicsSergey Sharybin
2017-09-04Cycles: FIx issue with -0 being considered a non-finite valueSergey Sharybin
2017-09-04Cycles: Mark pixels with negative values as outliersLukas Stockner
If a pixel has negative components, something already went wrong, so the best option is to just ignore it. Should be good for 2.79.
2017-09-04Cycles: Fix stack overflow during traversal caused by floating overflowSergey Sharybin
Would be nice to be able to catch this with assert as well, will see what would be the best way to do this/.\ Need to verify with Mai that this solves crash for her and maybe consider porting this to 2.79.
2017-09-04Fix T51805: Overlapping volumes renders incorrect on AMD GPUSergey Sharybin
We need to make sure we can store all volume closures for all objects in volume stack. This is a bit tricky to detect what would be the "nestness" level of volumes so for now use maximum possible stack depth. Might cause some slowdown, but better to give reliable render output than to fail quickly. Should be safe for 2.79 after extra eyes.
2017-08-17Cycles: Fixed broken camera motion blur when motion was not set to center on ↵Stefan Werner
frame Reviewers: #cycles, sergey Reviewed By: #cycles, sergey Subscribers: sergey Differential Revision: https://developer.blender.org/D2787
2017-08-17Cycles: Guard memcpy to potentially re-allocating memory with lockSergey Sharybin
Basically, make re-alloc and memcpy from the same lock, otherwise one thread might be re-allocating thread while another one is trying to copy data there. Reported by Mohamed Sakr in IRC, thanks!
2017-07-25Fix T51450: viewport render time keeps increasing after render is done.Jeff Knox
Reviewed By: brecht Differential Revision: https://developer.blender.org/D2747
2017-07-24Fix Cycles multi scatter GGX different render results with Clang and GCC.Brecht Van Lommel
The order of evaluation of function arguments is undefined, and the order was reversed between these compilers. This was causing regressions tests to give different results between Linux and macOS.
2017-07-23Fix T52152: allow zero roughness for Cycles principled BSDF, don't clamp.Brecht Van Lommel
2017-07-23Fix Cycles denoising NaNs with a 1 sample renders.Brecht Van Lommel
This was causing different render results with different compilers. We can't do much useful with 1 sample, but better for debugging.
2017-07-22Fix use of uninitialized value in Cycles, probably did not cause a bug.Brecht Van Lommel
2017-07-21Fix a few harmless maybe uninitialized warnings with GCC 5.4.Brecht Van Lommel
GCC seems to detect uninitialized into function calls now, but then isn't always smart enough to see that it is actually initialized. Disabling this warning entirely seems a bit too much, so initialize a bit more now.
2017-07-21Fix T52135: Cycles should not keep generated/packed images in memory after ↵Brecht Van Lommel
render.
2017-07-21Fix potential memory leak in Cycles loading of packed/generated images.Brecht Van Lommel
2017-07-20Fix T52125: principled BSDF missing with macOS OpenCL.Brecht Van Lommel
2017-07-20Cycles: fixed the SM_2x CUDA kernel build that I broke in my previous commitStefan Werner
2017-07-20Fix T52107: Color management difference when using multiple and different ↵Stefan Werner
GPUs together This commit unifies the flattened texture slot names for bindless and regular CUDA textures. Texture indices are now identical across all CUDA architectures, where before Fermi used different indices, which lead to problems when rendering on multi-GPU setups mixing Fermi with newer hardware.
2017-07-18Fix T52021: Shadow catcher renders wrong when catcher object is behind ↵Sergey Sharybin
transparent object Tweaked the path radiance summing and alpha to accommodate for possible contribution of light by transparent surface bounces happening prior to shadow catcher intersection. This commit will change the way how shadow catcher results looks when was behind semi transparent object, but the old result seemed to be fully wrong: there were big artifacts when alpha-overing the result on some actual footage.
2017-07-18Cycles: Remove meaningless camera ray checkSergey Sharybin
In branched path tracing main loop is always a camera ray, with varying number of transparent bounces.
2017-07-12Cycles: Enable SSS from Principled BSDF only when actually in useMai Lavelle
This gives speed up for the split kernel in scenes using the principled BSDF but without subsurface scattering.
2017-07-12Cycles: Fix comparison in principled BSDFMai Lavelle
Could have lead to black pixels.
2017-07-11Fix T52027: OSL getattribute() crash, when optimizer calls it before rendering.Brecht Van Lommel
2017-07-11Cycles: Disable OpenCL clFlush workaroundsSergey Sharybin
This is something which was reported to work fine by Mai, Benjamin and confirmed by myself. Disabling this workaround gains us some speedup: Before Now bmw27 04:28.42 04:07.79 classroom 09:26.48 08:54.53 fishy_cat 08:44.01 08:18.70 koro 09:17.98 08:57.18 pavillon_barcelone 12:26.64 11:52.81 Test environment is: - Ubuntu 16.04, with all updates installed - AMD RX 480 GPU - amdgpu pro driver version 17.10-450821
2017-07-08Fix T51967: OSL crash after rendering finished (mainly on Windows).Brecht Van Lommel
2017-07-07Cycles: Fix ambiguity in call of min() functionSergey Sharybin
2017-07-06Cycles: Add artificial memory limit debug option for OpenCLMai Lavelle
2017-07-06Revert "Cycles: use std::min and max for extra overloads"Mai Lavelle
We already have this in util_algorithm.h This reverts commit cff172c7621d89773baa99a9460f19056efb5f1e.
2017-07-06Cycles: Dont allow global size to fall to zeroMai Lavelle
2017-07-06Cycles: Detect out of memory before buffer allocation in OpenCL devicesMai Lavelle
2017-07-06Cycles: use std::min and max for extra overloadsMai Lavelle
2017-07-05Cycles: Fix compilation error after recent logging changesSergey Sharybin
This file uses std::ostream for helper << operators, so need to make sure corresponding header is included.
2017-07-05Cycles: Pass string by const reference rather than by valueSergey Sharybin
Some of the functions might have been inlined, but others i don't see how that was possible (don't think virtual functions can be inlined here). In any case, better be explicitly optimal in the code.
2017-07-05Cycles: Fix compilation error when building without Glog and no C++11Sergey Sharybin
2017-07-03Fix T51950: Abnormally long Cycles OpenCL GPU render times with certain ↵Lukas Stockner
panoramic camera settings The problem here was that when a "invalid" path is generated by the panoramic camera, it was tagged as RAY_TO_REGENERATE with the intention of generating a new path in kernel_buffer_update. However, since that state was not handled in kernel_queue_enqueue, kernel_buffer_update did not process the path which resulted in an infinite loop.
2017-07-03Cycles: Add missing split kernel to CPUDeviceLukas Stockner
2017-07-03Fix missing return error introduced by last commitLuca Rood
End of non-void function was being reached since f5535fcb83fd7c1374697923b43565c9e303d225
2017-07-03Fi T51023: MixRGB constant folding not effective with clamp option.Brecht Van Lommel
2017-07-03Fix T51855: Cycles emssive objects with NaN transform break lighting.Brecht Van Lommel
2017-07-02Fix T51956: color noise with principled sss, radius 0 and branched path.Brecht Van Lommel
2017-07-02Fix principled BSDF incorrectly missing subsurface component with base color ↵Brecht Van Lommel
black.
2017-06-30Cycles: Use float constants instead of doubleMai Lavelle
2017-06-30Cycles: Disable baking in mega kernel when not in use to improve build timesMai Lavelle
2017-06-28Fix T51909: Cycles: Uninitialized closure normals for the Hair BSDFLukas Stockner
As the title says, the normal wasn't set for the Hair BSDF because it wasn't needed before. However, the denoiser uses it to store the feature passes, so it needs to be set now.
2017-06-22Cycles: Fix excessive sampling weight of glossy Principled BSDF componentsLukas Stockner
If there was any specularity in the Principled BSDF, it would get a sampling weight of one regardless of its actual impact. This commit makes Cycles estimate the contribution of the component and adjust the weighting accordingly, which greatly improves the noise characteristics of the Principled BSDF in many cases. Note that this commit might slightly change the brightness of areas when using MultiGGX and high roughnesses, but the new brightness is more accurate and closer to the result of Branched Path Tracing. See T51836 for details. Differential Revision: https://developer.blender.org/D2677
2017-06-22Fix T51836: Cycles: Fix incorrect PDF approximations of the MultiGGX closuresLukas Stockner
The PDF of the MultiGGX sampling is approximated by the singlescattering GGX term as well as a scaled diffuse term that makes up for the energy in the multiscattering component that's missed by GGX. However, there were two problems with the glossy terms: The diffuse term missed a normalization factor, and the singlescattering term was not properly scaled down based on the albedo estimate. The glass term was completely wrong and has been rewritten. It uses the fresnel factor to weight reflection vs. refraction and uses the glossy MultiGGX model for reflection. For refraction, the correct singlescattering term is now used, and a new albedo approximation is used that was derived by evaluating GGX albedo for roughnesses from 0 to 1 and IORs from 1 to 3 and fitting numerical approximations to it. The resulting model has a mean relative error of 9e-5, but could probably be simplified without losing noticable accuracy in the final render. The improved PDFs help with glossy highlights (due to better light sampling vs. closure sampling MIS) and fix the situation described in T51836 where mixing MultiGGX with other closures (as it happens in e.g. the Principled BSDF) causes incorrect darkening.
2017-06-21Fix T51849: change Cycles clearcoat gloss to roughness.Brecht Van Lommel
This is compatible with UE4 and more consistent with specular and transmission roughness, even if it deviates from the original Disney BRDF.