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
path: root/intern
AgeCommit message (Collapse)Author
2019-02-14Fix Cycles build error with OpenImageIO 2.x.Brecht Van Lommel
2019-02-13Merge branch 'blender2.7'Brecht Van Lommel
2019-02-13Fix T61470: inconsistent HSV node results with saturation > 1.0.Brecht Van Lommel
Values outside the 0..1 range produce negative colors, so now clamp to that range everywhere. Also fixes improper handling of hue > 2.0 in some places.
2019-02-13Fix T61502: Cycles wrong other object texture coordinates in OSL.Brecht Van Lommel
The row/column major matrix conversion was done twice.
2019-02-13Merge branch 'blender2.7'Brecht Van Lommel
2019-02-13Fix missing Cycles cryptomatte metadata in renders.Brecht Van Lommel
2019-02-13Fix T61457, T61489, T61482: build errors and memory warning in Cycles.Brecht Van Lommel
For OIIO 2.x we must use unique_ptr. This also required updating the guarded allocator for std::move to work. Since C++11 construct/destroy have a default implementation that also works this case, so we just leave it out.
2019-02-11Merge branch 'blender2.7'Brecht Van Lommel
2019-02-11Cycles: add animation denoising test, fix operator to work with single frames.Brecht Van Lommel
2019-02-11Cycles: backport samples metadata format changes to 2.7.Sergey Sharybin
The render layer name is now always included. Best to keep these consistent, so that animation denoising and sample merging works the same for both and tests can be the same. Ref D4311.
2019-02-11Merge branch 'blender2.7'Brecht Van Lommel
2019-02-11Fix build error on macOS after recent changes.Brecht Van Lommel
2019-02-11Cycles: add animation denoising Python operator.Lukas Stockner
This adds a cycles.denoise_animation operator, which denoises an animation sequence or individual file. Renders must be saved as multilayer EXR files with denoising data passes. By default file path and frame range come from the current scene, and EXR files are denoised in-place. Alternatively, a different input and/or output file path can be provided. Denoising settings come from the current view layer. Renders can be denoised again with different settings, as the original noisy image is preserved along with other passes and metadata. There is no user interface yet for this feature, that comes later. Code by Lukas with modifications by Brecht. This feature was originally developed for Tangent Animation, thanks for the support! Differential Revision: https://developer.blender.org/D3889
2019-02-11Merge branch 'blender2.7'Brecht Van Lommel
2019-02-11Cycles: add animation denoising Python operator.Lukas Stockner
This adds a cycles.denoise_animation operator, which denoises an animation sequence or individual file. Renders must be saved as multilayer EXR files with denoising data passes. By default file path and frame range come from the current scene, and EXR files are denoised in-place. Alternatively, a different input and/or output file path can be provided. Denoising settings come from the current view layer. Renders can be denoised again with different settings, as the original noisy image is preserved along with other passes and metadata. There is no user interface yet for this feature, that comes later. Code by Lukas with modifications by Brecht. This feature was originally developed for Tangent Animation, thanks for the support!
2019-02-11Cycles: refactor Blender device settings handling into own file.Brecht Van Lommel
2019-02-07Fix wrong Cycles render status text when only writing denoising passes.Brecht Van Lommel
In that case we do prefiltering for the denoising passes, but don't actually denoise the image.
2019-02-07Windows: refactor GHOST wintab handling.Brecht Van Lommel
This is backporting a change from 2.8, which may help solve crashes when activating a window. Previously bringTabletContextToFront() would call tablet API functions with NULL tablet, which may crash on some drivers. Ref T60811.
2019-02-06Improvements and fixes to Cycles metadataSergey Sharybin
This is a request by the studio here to make it possible to see how many samples were used to render a specific shot or a frame. It is a bit more tricky than simply stamping number of samples from a scene since rendering is happening in multiple ranges of samples. This change makes it so Cycles saves configured number of samples for the specific view layer, and also stores start sample and number of samples when rendering only a subrange of all samples. The format used is "cycles.<view_layer_name>.><field>", which allows to have information about all layers in a multi-layer EXR file. Ideally we can store simplified "cycles.<field>" if we know that there is only one render layer in the file, but detecting this is somewhat tricky since Cycles operates on an evaluated scene which always have single view layer. The metadata is shown in the Metadata panels for clip, image and sequencer spaces. Example screenshot which shows the metadata: {F6527727} Reviewers: brecht Reviewed By: brecht Subscribers: fsiddi Differential Revision: https://developer.blender.org/D4311
2019-02-06Merge branch 'blender2.7'Brecht Van Lommel
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-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-05Cleanup: remove contributors for CMake filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
2019-02-04Cleanup: Typos in comments (to to)Pablo Vazquez
2019-02-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
2019-02-02Cleanup: remove author/date info from doxy headersCampbell Barton
2019-02-02Merge branch 'blender2.7'Campbell Barton
2019-02-01Fix T61078: Cycles crash with adaptive smoke sim playback.Brecht Van Lommel
3D image dimensions should be updated on the Cycles side before loading the smoke data.
2019-02-01Cleanup: manually remove header text not handled by automationCampbell Barton
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-02-01Cleanup: remove original authorCampbell Barton
Missed when removing contributors.
2019-02-01Cleanup: manually remove header text not handled by automationCampbell Barton
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-31Fix T60973: crash baking objects disabled for rendering.Brecht Van Lommel
2019-01-30Merge branch 'blender2.7'Brecht Van Lommel
2019-01-30Cycles: improved rounding of sample chunks for resumable rendersSybren A. Stüvel
When using `--cycles-resumable-num-chunks N` to render a subset of the samples, having N close to the total number of samples causes rounding issues. For example, a file configured for 250 samples and 150 chunks should have 1.6666 sample per chunk. The old code rounded this to 2 samples per chunk, which would result in too many samples being rendered. When rendering a single chunk this doesn't matter much, but when larger chunk ranges are rendered with `--cycles-resumable-start-chunk` and `--cycles-resumable-end-chunk` the rounding errors start to add up. By multiplying with the number of chunks to render first, and only round to integers after that, this issue is solved. In the above example, rendering 3 chunks will correctly render 5 samples rather than 6. When the requested number of chunks is larger than the number of samples there will be duplicate samples (that is, sample N appearing both in chunk M and M+1). In this case a warning is printed to stderr. This is needed for T50977 Progressive render: use non-uniform sample chunks. Reviewed by: sergey Differential Revision: https://developer.blender.org/D4282
2019-01-29Cycles: delay CUDA and OpenCL initialization to avoid driver crashes.Brecht Van Lommel
We've had many reported crashes on Windows where we suspect there is a corrupted OpenCL driver. The purpose here is to keep Blender generally usable in such cases. Now it always shows None / CUDA / OpenCL in the preferences, and only when selecting one will it reveal if there are any GPUs available. This should avoid crashes when opening the preferences or on startup. Differential Revision: https://developer.blender.org/D4265
2019-01-29Fix CLOG_STR_AT_SEVERITY macroCampbell Barton
Part of D4277 by @sobakasu
2019-01-28Cleanup: sort forward declarations of enum & structCampbell Barton
Done using: source/tools/utils_maintenance/c_sort_blocks.py
2019-01-28Merge branch 'blender2.7'Brecht Van Lommel
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-28Fix T57069: macOS window contents scaling bug.Brecht Van Lommel
The cause of this is unclear, but delaying querying the native pixel size appears to help in the one case I could reproduce.
2019-01-28Cleanup: sort forward declarations of enum & structCampbell Barton
Done using: source/tools/utils_maintenance/c_sort_blocks.py
2019-01-27Merge branch 'blender2.7'Brecht Van Lommel
2019-01-27Fix Cycles standalone build as part of Blender.Brecht Van Lommel
2019-01-26Merge branch 'blender2.7'Brecht Van Lommel
2019-01-26Cycles: add missing units for properties.Robert Guetzkow
Differential Revision: https://developer.blender.org/D4258
2019-01-26Cleanup: fix compiler warnings.Brecht Van Lommel