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-05-21Cycles Denoising: Skip confidence interval test for outlier central pixelsLukas Stockner
If the central pixel is an outlier, the denoiser is supposed to predict its value from the surrounding pixels. However, in some cases the confidence interval test would reject every single surrounding pixel, which leaves the model fitting with no data to work with.
2017-05-20Cycles: Cleanup, style and unused argumentsSergey Sharybin
- Some arguments were inapproriatry tagged as unused using (void)foo semantic. Only use such semantic in tricky casses, when something needs to be ignored in release builds or something is dependent on tricky ifndef policy. For rest of the cases just use void foo(int /bar*/) semantic, which ensures variable is not used. Solves confusion and code running out of sync with later development. - Used proper unused semantic to some arguments. - Added braces to make code easier to follow, tricky indentation with ifdef, uh.
2017-05-20CMake: Use GCC7's -Wimplicit-fallthrough=5Campbell Barton
Use to avoid accidental missing break statements, use ATTR_FALLTHROUGH to suppress.
2017-05-20Cycles Denoising: Prevent overfitting when using a very low radiusLukas Stockner
For example, when using a radius of 1, only 9 pixels (due to weighting maybe even less) will be used, but the transform code may still decide to use a 5-dimensional (or even higher) fit. This causes severe overfitting and therefore weird pixel values. To avoid this, this commit limits the amount of dimensions to a third of the pixel number. For a radius of 3 or more, this doesn't change anything, but for 1 and 2 it can prevent fireflies and/or negative values being produced.
2017-05-20Fix T51560: Black pixels on a denoising renderLukas Stockner
Once again, numerical instabilities causing the Cholesky decomposition to fail. However, further increasing the diagonal correction just because of a few pixels in very specific scenes and settings seems unjustified. Therefore, this commit simply falls back to the basic NLM-filtered pixel if the more advanced model fails.
2017-05-19Cycles: Reload kernels from Session when requested features changeMai Lavelle
This fixes T49496.
2017-05-19Fix T51524: Instantiated Hair Object which has dupligroup children and ↵Bastien Montagne
hidden orig objects of group crash at render. Note that this is speculative fix, actually precisely understanding what happens in this code is... not easy.
2017-05-19Cycles: Fix compilation error after recent changesSergey Sharybin
Spotted by Steffen Dünner, thanks@
2017-05-19Fix crash opening really old files with compositorSergey Sharybin
There was lack of certain sockets do-versaions: namely the ones which were added in blender versions after the one used to save the file.
2017-05-19Cleanup: add braces for multi-line blocksCampbell Barton
2017-05-19Cycles: Cleanup, always use parenthesisSergey Sharybin
Easier to read/follow, and more robust for the further changes.
2017-05-19Cycles: Cleanup, indentation in preprocessorSergey Sharybin
2017-05-19Cycles: Cleanup, variable namesSergey Sharybin
Don't use camel case for variable names. Leave that for the structures.
2017-05-19Cycles: Cleanup, useless new linesSergey Sharybin
2017-05-19Cycles: Cleanup, braces after function definitionSergey Sharybin
I wouldn't mind switching fully to Google style, but i am against of mixing two different styles in same project. So just stick to brace at the new line after function definition.
2017-05-19\0;115;0cCycles: Cleanup, use ccl_restrict instead of ccl_restrict_ptrSergey Sharybin
There were following issues with ccl_restrict_ptr: - We already had ccl_restrict for all platforms. - It was secretly adding `const` qualifier to the declaration, which is quite weird since non-const pointer can also be declared as restricted. - We never in Blender are using foo_ptr or FooPtr type definitions, so not sure why we should introduce such a thing here. - It is absolutely wrong from semantic point of view to put pointer into the restrict macro -- const is a part of type, not part of hint for compiler that some pointer is never aliased.
2017-05-19Fix T51537: Light passes are summed twice for split kernel since denoise commitSergey Sharybin
Denoise commit introduced kernel_write_result() which saves light passes, so no need to call both kernel_write_result() and kernel_write_light_passes() from the split kernel. Weirdly enough. kernel_write_result() does not take care about debug passes.
2017-05-19Fix T51556: Sequencer - White Balance Modifier - Masking is not honoredSergey Sharybin
2017-05-19Fix/workaround T51070: Cannot scale procedural texture in compositorSergey Sharybin
The issue is coming from some weird semi-finished canvas feature, which was remapping coordinate without applying any differential on the sampling ellipse (in fact, there is no ellipse, sampling think is always a single pixel). The whole thing is just weak in the compositor, for now just bring behavior back to how it was prior to optimization (multithreading) commit.
2017-05-19Compositor: Remove unused funcitonSergey Sharybin
2017-05-19Fix T51553: Cycles Volume Emission turns black when strength is 0 or color ↵Lukas Stockner
is black The problem was that Cycles implicitly uses a transparent surface shader when only volume nodes are used, but since the black emission shader gets optimized away, it was no longer detected and therefore no transparent surface was used. Therefore, the shader now stores whether volume nodes were connected before optimizing.
2017-05-19Fix T51506: Wrong shadow catcher color when using selective denoisingLukas Stockner
2017-05-19Cycles: Fix random noise pattern seen with multiscatter bsdf and split kernelMai Lavelle
Differentials were unset if roughness was low giving undefined behavior.
2017-05-19Fix T51555: Cycles tile count is incorrect when denoising is enabledLukas Stockner
Now rendered and denoised tiles are counted and displayed separately.
2017-05-19Fix T51502: Cycles denoising not using correctly aligned width for NLM on CUDALukas Stockner
2017-05-18Cycles Denoising: Add more robust outlier heuristic to avoid artifactsLukas Stockner
Extremely bright pixels in the rendered image cause the denoising algorithm to produce extremely noticable artifacts. Therefore, a heuristic is needed to exclude these pixels from the filtering process. The new approach calculates the 75% percentile of the 5x5 neighborhood of each pixel and flags the pixel if it is more than twice as bright. During the reconstruction process, flagged pixels are skipped. Therefore, they don't cause any problems for neighboring pixels, and the outlier pixels themselves are replaced by a prediction of their actual value based on their feature pass values and the neighboring pixels. Therefore, the denoiser now also works as a smarter despeckling filter that uses a more accurate prediction of the pixel instead of a simple average. This can be used even if denoising isn't wanted by setting the denoising radius to 1.
2017-05-18Cycles Denoising: Fix wrong order of denoising feature passesLukas Stockner
2017-05-18Cycles: Cleanup MultiGGX closure implementationLukas Stockner
The implementation originally handled four different cases: Regular glossy, glass, metallic fresnel glossy and diffuse. However, only the first two are actually used currently. Therefore, this commit removes the other two, which allows to simplify the code. Additionally, due to the Principled BSDF, the function arguments are now identical for glossy and glass, which allows to get rid of some ugly #ifdefs.
2017-05-18Install_deps: py 3.5.3, collada 22b1f4ff026881b4 (2.6.47), OCIO 6de971097c7f5.Bastien Montagne
2017-05-18Cycles: Fix crash loading single channel textureSergey Sharybin
Was typo in recent isfinite check.
2017-05-18Correct last commitCampbell Barton
VERT_VISIT was used in a nested function.
2017-05-18Fix T51408: Cycles - Principled BSDF Shader - Transparency is not working as ↵Pascal Schoen
expected Renamed the "Transparency" input of the Principled BSDF to "Transmission" and "Refraction Roughness" to "Transmission Roughness".
2017-05-18Fix T51539: BMesh boolean crashCampbell Barton
In some cases the vertex visit queue would exceed its max length, visiting the same vertex multiple times.
2017-05-18Fix T51538: Weight-paint circle select w/ clippingCampbell Barton
2017-05-17Cycles: Optimize expansion of headers in the sourceSergey Sharybin
Use smarter check of where the file is coming from instead of attempting to replace same source twice with different settings. Brings down processing time from 3.6sec to 1.8sec.
2017-05-17Fix compilation error in CyclesSergey Sharybin
Was caused by recent fix with finite checks. Fixes T51536.
2017-05-17Fix T51529: Black boxes on a denoising render when using a .exr image as a ↵Sergey Sharybin
environmental texture It is caused by NaN value in the input texture. Now we check for all the pixels having proper finite values. Should also help here in the studio,
2017-05-17Revert "Cycles: Fix wrong shading on GPU when background has NaN pixels and ↵Sergey Sharybin
MIS enabled" This reverts commit 581c81901363176b1ce775472ea7c9f97ee504a9. Seems we do need to do finite check early on, this is incoming.
2017-05-17Fix T51388: Mask moves when zoom is changed in the movie clip editorSergey Sharybin
Incorrect matrix space for stabilization.
2017-05-17BMesh: remove duplicate argument for wireframe opCampbell Barton
2017-05-17Fix T50937: baking with OpenCL and CPU have slightly different brightnessHristo Gueorguiev
OpenCL baking with SSS and Volume are not supported.
2017-05-17Fix T49981: When camera is on inactive layer, it does not evaluate constraintsSergey Sharybin
Second round of fix, was broken by 843be91.
2017-05-16Fix crash from freeing of NULL pointerMai Lavelle
2017-05-16Cycles: Fix building with native only optionMai Lavelle
Approach suggested by Lukas S.
2017-05-16Revert "Cycles: Fix native only kernel since denoiser commit"Mai Lavelle
Fix didn't work in debug mode due to undefined references. This reverts commit 53195715119e294e1a0d89831ebab716c9f7fee6.
2017-05-16Fix T50673: OpenEXR multilayer image truncated on saveSergey Sharybin
The issue is in OpenEXR itself. See the report fomr some more details.
2017-05-16Fix memory leak when saving OpenEXR filesSergey Sharybin
It is not a good idea to: 1. Duplicate metadata to self 2. Ignore the fact that something might have had metadata already. Also moved metadata copy to a preparation function, so it is never lost.
2017-05-16Fix T49467: Crash due to assert failure in bevel.Howard Trickey
The mesh interpolation code had an edge case where one of two adjacent edges to a vertex has 0 length. This caused an assert failure indexing the vertex mesh for splash Blenderman.blend.
2017-05-16Fix T49864: EnvMap baking crashes 2.78 if 'Full Sample' checked in AASergey Sharybin
2017-05-16Fix memory leak in environmentSergey Sharybin
Found when was looking into T49864. The issue is caused here by render_copy_renderdata() doing a copy of views with BLI_duplicatelist() so we can not just zero the pointers out. Similar thing is happening for layers as well.