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
2019-02-06Cycles: animation denoising support in the kernel.Lukas Stockner
This is the internal implementation, not available from the API or interface yet. The algorithm takes into account past and future frames, both to get more coherent animation and reduce noise. Ref D3889.
2019-02-06Cycles: tweak outlier detection, preparing for animation denoising.Lukas Stockner
Ref D3889.
2019-02-06Cycles: prefilter feature passes separate from denoising.Lukas Stockner
Prefiltering of feature passes will happen during rendering, which can then be used for denoising immediately or written as a render pass for later (animation) denoising. The number of denoising data passes written is reduced because of this, leaving out the feature variance passes. The passes are now Normal, Albedo, Depth, Shadowing, Variance and Intensity. Ref D3889.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-28OSL: remove fresnel template that was not public domain.Brecht Van Lommel
Convention is to only have public domain code templates. Also fixes wrong license header in Cycles.
2019-01-14Fix T60450: Cycles broken GPU denoising after recent changes.Brecht Van Lommel
2019-01-11Fix T60320: Cycles OpenCL denoising filter errors on some drivers.Brecht Van Lommel
2019-01-08Fix T60320: Cycles OpenCL volume rendering error on some drivers.Brecht Van Lommel
2019-01-08Fix T60300: Cycles SSS render hanging with AMD OpenCL.Brecht Van Lommel
2019-01-03Fix T54962: Cycles crash using subsurface scattering texture blur.Brecht Van Lommel
2019-01-02Fix T60061: Cycles OSL point density not working.Brecht Van Lommel
Add override keywords so we can detect when the function definitions change.
2018-12-21Fix T59565: NaN/crash with zero radius tip of hair curves.Brecht Van Lommel
2018-12-11Fix macOS buildbot build, wrong CUDA version check.Brecht Van Lommel
2018-12-06Fix T57963: Cycles crash using AO for displacement.Brecht Van Lommel
Note this is not supported, there exists no geometry at this point, but it should not crash at least.
2018-12-05Fix build with old CMake versions.Brecht Van Lommel
2018-12-04Buildbot: enable support for NVIDIA Turing cards in Cycles (like GTX 20xx).Brecht Van Lommel
We currently only build the sm_7x kernels with CUDA 10.0, older cards still use 9.1 until rendering errors are solved for them.
2018-12-04Cycles: add initial CUDA 10.0 support, but only recommend use for Turing cards.Brecht Van Lommel
There may still be rendering errors when used for older graphics cards.
2018-12-03Fix T58600: update OSL scripts to work with OSL 1.10.x.Shane Ambler
2018-11-29Cycles: Add sample-based runtime profiler that measures time spent in ↵Lukas Stockner
various parts of the CPU kernel This commit adds a sample-based profiler that runs during CPU rendering and collects statistics on time spent in different parts of the kernel (ray intersection, shader evaluation etc.) as well as time spent per material and object. The results are currently not exposed in the user interface or per Python yet, to see the stats on the console pass the "--cycles-print-stats" argument to Cycles (e.g. "./blender -- --cycles-print-stats"). Unfortunately, there is no clear way to extend this functionality to CUDA or OpenCL, so it is CPU-only for now. Reviewers: brecht, sergey, swerner Reviewed By: brecht, swerner Differential Revision: https://developer.blender.org/D3892
2018-11-25Cleanup: trailing spaceCampbell Barton
2018-11-21Fix T57811: Render crashes in certain scenes when AO Bounces are usedSergey Sharybin
2018-11-21Cycles: Cleanup, use utility functionSergey Sharybin
Replaces inlined platform-specific code.
2018-11-21Cycles: Cleanup, reduce indentation levelSergey Sharybin
2018-11-21Cycles: Cleanup, comments and dead codeSergey Sharybin
2018-11-21Cycles: Cleanup, CUDA code path is not possible inside AVX2Sergey Sharybin
2018-11-15Cycles: Cleanup, code styleSergey Sharybin
2018-11-09Revert "Cycles: Cleanup, move Embree BVH logic to own file"Sergey Sharybin
While we shouldn't have logic in an entry point, and since one should not be making typos when moving lines around, there is bigger entanglement issue with BVH host code using kernel function. This is bad violation, but is tricky to get solved moments before the weekly. In order to keep things in a (less) broken state than before own cleanup reverting the changes. This reverts commit 2bad10be96540ff50a149230d656e599775b3f47. This reverts commit ddabb21d0584e9874e8e5c62c04abe496ec7334b
2018-11-09Cycles; Cleanup, line lengthSergey Sharybin
There are some more sanitization which would be cool to be done in the neighbourhood of those functions, but that could also happen later.
2018-11-09Cycles: Cleanup, move Embree BVH logic to own fileSergey Sharybin
There is no way we can keep generic entry point functions easy to follow if we start adding actual logic in them.
2018-11-09Cycles: Cleanup, indentation in preprocessorSergey Sharybin
2018-11-09Cycles: Cleanup, indentationSergey Sharybin
2018-11-09Cycles: Cleanup, space after (void)Sergey Sharybin
It was used in like 95% of places.
2018-11-09Cycles: Cleanup, spacing after preprocessorSergey Sharybin
It is supposed to be two spaces before comment stating which if else/endif statements corresponds to. Was mainly violated in the header guards.
2018-11-08Fix build on 32bit after Embree changes.Brecht Van Lommel
2018-11-07Cycles: Rearranged macros in kernel_types.h to fix Embree build.Stefan Werner
2018-11-07Fix build with OSL, remove unneeded file after Embree changes.Brecht Van Lommel
2018-11-07Cycles: Added Embree as BVH option for CPU renders.Stefan Werner
Note that this is turned off by default and must be enabled at build time with the CMake WITH_CYCLES_EMBREE flag. Embree must be built as a static library with ray masking turned on, the `make deps` scripts have been updated accordingly. There, Embree is off by default too and must be enabled with the WITH_EMBREE flag. Using Embree allows for much faster rendering of deformation motion blur while reducing the memory footprint. TODO: GPU implementation, deduplication of data, leveraging more of Embrees features (e.g. tessellation cache). Differential Revision: https://developer.blender.org/D3682
2018-11-04Fix assert rendering hair tests on some systems.Brecht Van Lommel
2018-10-30Fix build error on Windows 32bit, alignment was wrong.Brecht Van Lommel
2018-10-28Cycles: Added Cryptomatte output.Stefan Werner
This allows for extra output passes that encode automatic object and material masks for the entire scene. It is an implementation of the Cryptomatte standard as introduced by Psyop. A good future extension would be to add a manifest to the export and to do plenty of testing to ensure that it is fully compatible with other renderers and compositing programs that use Cryptomatte. Internally, it adds the ability for Cycles to have several passes of the same type that are distinguished by their name. Differential Revision: https://developer.blender.org/D3538
2018-10-27Fix T57393: Cycles OSL bevel and AO not working after OSL upgrade.Brecht Van Lommel
2018-10-25Cycles: Overhaul ensure_valid_reflection to fix issues with normal- and ↵Lukas Stockner
bumpmapping This function is supposed to prevent the black artifacts caused by strong normal- or bumpmapping, but failed in some cases. Now the code correctly handles all test files and previous issues I am aware of and also has extensive comments describing the algorithm and the math behind it. Basically, the main problem was that there can be multiple valid solutions that fulfil the reflection angle criterium, but I had assumed that only one would exist and therefore simply picked the first solution with a positive term in srqt(). Now, the code uses additional validity checks and a simple heuristic to pick the best valid solution. Additionally, the code messed up very shallow reflections even if the normal map strength was zero due to the constant limit for the outgoing ray angle, which caused shallow incoming rays to fail the initial test even when reflected directly on Ng. Now, the code accounts for this by reducing the threshold in the case of a shallow incoming ray, ensuring that at least N=Ng is always a valid solution. Reviewers: brecht Differential Revision: https://developer.blender.org/D3816
2018-10-08Cycles: Use existing shared temporary memory in reconstruction step of the ↵Lukas Stockner
denoiser Previously the code allocated its own temporary memory, but it's possible to just use the existing shared one instead.
2018-10-06Cycles: Implement vectorized NLM kernels for faster CPU denoisingLukas Stockner
2018-09-28Cycles: Fix compilation error of CUDA kernelSergey Sharybin
Was caused by previous commit.
2018-09-28Cycles: Fix crash with BVH8 on certain scenesSergey Sharybin
The crash was caused by BVH traversal stack being overflowed. That overflow was caused by lots of false-positive intersections for rays originating on a non-finite location. Not sure why those rays will be existing in the first place, this is to be investigated separately. This commit moves pre-SSE4.1 check to a higher level function and enables it for all miroarchitectures.
2018-09-27Cycles: CleanupSergey Sharybin
2018-09-19Fix wrong CUDA version warning in cmake.Brecht Van Lommel
Fix suggested by Dalai.
2018-09-12Cycles: Don't allocate Extra if BSDF allocation failedSergey Sharybin
Failed as in did not allocate due to possibly weight cutoff. Tryign to allocated Extra storage for closure in such situation will consfuse Cycles and cause crashes later one due to obscure values in ShaderData.
2018-09-10Fix Cycles principled BSDF black with transmission and IOR 1.0.Brecht Van Lommel