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
2020-02-17Cycles: Vector Rotate Node using Axis and Angle methodCharlie Jolly
This node provides the ability to rotate a vector around a `center` point using either `Axis Angle` , `Single Axis` or `Euler` methods. Reviewed By: #cycles, brecht Differential Revision: https://developer.blender.org/D3789
2020-02-17Fix artifacts with Cycles viewport denoising when rendering with multiple ↵Patrick Mours
CUDA devices Rendering with multiple CUDA devices but denoising with OptiX caused parts of the image to go missing at the start while the resolution was scaled. This is because the copy operation in `MultiDevice::map_neighbor_tiles` which slices the copy across all devices would slice based on the full resolution and not the scaled one and therefore copy incorrect data between devices. Since this is not the recommended way of using viewport denoising anyway, simply avoid those incorrect copies for now by disabling denoising while the resolution is scaled. Doing both rendering and denoising with OptiX is not affected by this, since it avoids those copies altogether anyway.
2020-02-17ColorManagement: Dithering ImprovementClément Foucault
- Unlock property range. - Use triangular noise to keep perceptual noise error more uniform. Remap range to preserve perceptual intensity. - Center noise distribution around 0 for GPU implementation because of rounding. - Do dithering after merging overlays. Effect of using triangular noise is not really noticeable if you don't use really low bitdepth. But doing a test in the shader were we artificially reduce the bitdepth (`col = (col * 16) / 16;`) reveals the real difference. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6850
2020-02-17Cycles: Add support for adaptive kernel compilation to OptiX devicePatrick Mours
This modifies the common CUDA implementation for adaptive kernel compilation slightly to support both CUBIN and PTX output (the latter which is then used in the OptiX device). It also fixes adaptive kernel compilation on Windows. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6851
2020-02-17Fix OpenCL issue after recent code cleanupBrecht Van Lommel
Thanks Patrick Mours for finding it.
2020-02-17Shading: add direction modes and phase offset to wave texture nodeBartosz Moniewski
* Direction mode X, Y and Z to align with axes rather than diagonal or spherical as previously. X is the new default, existing files will use diagonal or spherical for compatibility. * Phase offset to offset the wave along its direction, for purposes like animation and distortion. https://developer.blender.org/D6382
2020-02-17Fix many typos and other issues in UI messages.Bastien Montagne
2020-02-17Fix T73862: Fluid Sim file handle resource leakCampbell Barton
2020-02-15GHOST: Init New Windows with a closer theme colorAaron Carlisle
The user theme is loaded after window creation so we should create the window with a color that at least matches the default theme. Differential Revision: https://developer.blender.org/D6858
2020-02-15Cleanup: work around clang-format differences between versionsBrecht Van Lommel
Ref T73747
2020-02-15Cleanup: fix compiler warningBrecht Van Lommel
2020-02-15Fix T73796: Memory leak saving imageCampbell Barton
2020-02-15Fix incorrect enum in GHOST testCampbell Barton
2020-02-15Cleanup: clang-formatCampbell Barton
2020-02-15Shading: Extend Vector Math Node with Sin, Cos, Tan and Wrap functionsCharlie Jolly
This adds some extra functions recently added to the float Maths Node. Not all functions have been ported over in this patch. Also: + Tidy up menu + Change node color to match other vector nodes, this helps distinguish vector and float nodes in the tree + Move shared OSL functions to new header node_math.h Reviewed By: brecht Differential Revision: https://developer.blender.org/D6713
2020-02-14Fix sporadic CUDA launch failures with Cycles viewport denoisingPatrick Mours
Sometimes the viewport buffer size is zero for a frame, which caused the denoising task to also try to launch CUDA kernels with a launch size of zero, which in turn failed with a CUDA error. This patch prevents launches from occuring in this case, similar to how it is handled in `copy_to_display_buffer`.
2020-02-14Fluid: Inflow object improvementsSebastián Barschkis
Various fixes for smoke / fire flow objects: - Apply inflow at every subframe (new: also emit during adaptive steps in between frames) - Fix issue with fire not being emitted on first frame - Higher value range for smoke flow density variable
2020-02-14Fix T70685: Cycles crash using WITH_CYCLES_NATIVE_ONLY on WindowsRay molenkamp
MSVC does not have -march=native, so the kernel gets built without AVX2 and BVH8 support. The code assumed it to be available and crashed Differential Revision: https://developer.blender.org/D6082
2020-02-14Cleanup/MSVC: Enable C++ conformance mode on compiler versions that support it.Ray Molenkamp
MSVC has a conformance mode (/permissive-) where the C++ standard is more strictly enforced. This mode is available on MSVC 15.5+ [1] This patch enables this mode on compilers that support it and cleans up the few violations it threw up in the process. - Mantaflow was using M_PI without requesting them using the _USE_MATH_DEFINES define to opt in to non default behaviour. - Collada did not include the right header for std::cerr, this seemingly was fixed for other platforms already but put inside a platform guard. - Ghost had some scoping issues regarding uninitialized variables and goto behaviour Second landing of this patch, earlier commit was reverted due to some compiler configurations having slipped though testing [1] https://docs.microsoft.com/en-us/cpp/build/reference/permissive-standards-conformance Differential Revision: https://developer.blender.org/D6824 Reviewed By: brecht
2020-02-13Fix OptiX denoising when multiple CUDA streams are activePatrick Mours
2020-02-13Cleanup: Remove some unnecessary OptiX device codePatrick Mours
2020-02-13Revert "Cleanup/MSVC: Enable C++ conformance mode on compiler versions that ↵Ray Molenkamp
support it." It is breaking compilation on some configurations, revert for now while i see what is wrong. This reverts commit 9fe469c110940af5d2525158305d5d365bd15276.
2020-02-13Cleanup: pass const variablesCampbell Barton
2020-02-12Cleanup/MSVC: Enable C++ conformance mode on compiler versions that support it.Ray Molenkamp
MSVC has a conformance mode (/permissive-) where the C++ standard is more strictly enforced. This mode is available on MSVC 15.5+ [1] This patch enables this mode on compilers that support it and cleans up the few violations it threw up in the process. - Mantaflow was using M_PI without requesting them using the _USE_MATH_DEFINES define to opt in to non default behaviour. - Collada did not include the right header for std::cerr, this seemingly was fixed for other platforms already but put inside a platform guard. - Ghost had some scoping issues regarding uninitialized variables and goto behaviour [1] https://docs.microsoft.com/en-us/cpp/build/reference/permissive-standards-conformance Differential Revision: https://developer.blender.org/D6824 Reviewed By: brecht
2020-02-12Fix NLM denoiser no longer working with OptiX after recent commitPatrick Mours
2020-02-12Fix Cycles compiler warnings after recent commitBrecht Van Lommel
2020-02-12Fix Cycles build errors and clang-format after recent commitBrecht Van Lommel
2020-02-12Cleanup: Move common CUDA/OptiX Cycles device code into separate filePatrick Mours
This reduces code duplication between the CUDA and OptiX device implementations: The CUDA device class is now split into declaration and definition (similar to the OpenCL device) and the OptiX device class implements that and only overrides the functions it actually has to change, while using the CUDA implementation for everything else. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6814
2020-02-12Cleanup: clang-formatCampbell Barton
2020-02-12Cleanup: Fix build warnings from OSL shader compilationRay Molenkamp
There were to copies of stdosl.h one from stock OSL and one in the cycles tree augmented with cycles specific closures. moved the cycles ones to stdcycles.h and copied the stock stdosl.h and accompanying headers from the OSL shader folder. for further details see D6812. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6812
2020-02-11Cycles: Add support for denoising in the viewportPatrick Mours
The OptiX denoiser can be a great help when rendering in the viewport, since it is really fast and needs few samples to produce convincing results. This patch therefore adds support for using any Cycles denoiser in the viewport also (but only the OptiX one is selectable because the NLM one is too slow to be usable currently). It also adds support for denoising on a different device than rendering (so one can e.g. render with the CPU but denoise with OptiX). Reviewed By: #cycles, brecht Differential Revision: https://developer.blender.org/D6554
2020-02-11Fix T70039, T68707: issues when opening .blend file from Finder on macOSYevgeny Makarov
* Missing close dialog displayed to warn about unsaved changes. * No reaction when the file was opened on a different desktop. Differential Revision: https://developer.blender.org/D6765
2020-02-11Fix T64024: monitor/fullscreen switching on macOS shows red line artifactsYevgeny Makarov
2020-02-11DRW: Color Management improvementClément Foucault
Reviewed By: brecht sergey jbakker Differential Revision: http://developer.blender.org/D6729
2020-02-11CLeanup: clang-formatCampbell Barton
2020-02-11Cleanup: extra semicolons, comma use, undeclared varsCampbell Barton
2020-02-10CTest: Disable the cross test from the avxf unit tests.Ray Molenkamp
Test fails on AVX2, I'll look into this but until the cause is determined the test will be disabled
2020-02-10Cycles: internal support for constant object/mesh attribute valuesAlex Fuller
None are currently exported from Blender, this fixes the Cycles side implementation. Differential Revision: https://developer.blender.org/D6794
2020-02-10Cycles: Fix linking error of new avxf unit testsSergey Sharybin
Was happening on macOS. The reason of this is because OpenImageIO depends on boost, so it is to be passed to the linker after the OpenImageIO libraries.
2020-02-10Cleanup: spellingCampbell Barton
2020-02-09Merge branch 'blender-v2.82-release'Sebastián Barschkis
2020-02-09Fluid: Optimization for fluid domain obstacle boundary handlingSebastián Barschkis
This fix should especially improve liquid obstacles boundaries, i.e. help with the problem of particles sticking to the surface.
2020-02-09Fluid: Fixed file formats for script exporterSebastián Barschkis
File formats in the exported scripts were using hardcoded file extensions and not the ones specified in the UI.
2020-02-09Fluid: Fixes for fluid guidingSebastián Barschkis
Fluid guiding functionality was broken in the bake / read cache loop in fluid.c. Committing this to the release branch as otherwise fluid guiding would not have worked as expected (i.e. not at all).
2020-02-09Fix eigen/openmp link error in some build configurationsBrecht Van Lommel
2020-02-09Cycles: Add avxf unit tests.Ray Molenkamp
Differential Revision: https://developer.blender.org/D3706 Reviewers: brecht
2020-02-09Fix Cycles error with hair and spatial splits after recent changesBrecht Van Lommel
2020-02-08Fix Cycles embree render crash after recent refactorBrecht Van Lommel
2020-02-08Cleanup: fix compiler warningBrecht Van Lommel
2020-02-07Merge branch 'blender-v2.82-release'Sebastián Barschkis