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-03-02Cycles: add Progressive Multi-Jitter sampling patternStefan Werner
This sampling pattern is particularly suited to adaptive sampling, and will be used for that upcoming feature. Based on "Progressive Multi-Jittered Sample Sequences" by Per Christensen, Andrew Kensler and Charlie Kilpatrick. Ref D4686
2020-03-02Shading: Add invert option to Vector Rotate NodeCharlie Jolly
Checkbox to invert rotation angle, suggested by @simonthommes Differential Revision: https://developer.blender.org/D6932
2020-02-28Fluid: Improved behavior at open boundariesSebastián Barschkis
Use greater boundary width for smoke simulations
2020-02-28Cycles: Rework tile scheduling for denoisingPatrick Mours
This fixes denoising being delayed until after all rendering has finished. Instead, tile-based denoising is now part of the "RENDER" task again, so that it is all in one task and does not cause issues with dedicated task pools where tasks are serialized. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6940
2020-02-28Fix CUDA out of memory error with OptiX viewport denoising on small GPUsPatrick Mours
This makes the memory allocation for the denoiser state use the memory allocator in Cycles, which will evict textures to host memory when there is not enough space on the device. This means the allocation for the denoiser state won't just fail if there is no more space and instead more space is made for it to work. Also simplifies code somewhat.
2020-02-28OpenSubdiv: Allow less topology callbacks assignedSergey Sharybin
Useful for cases when topology does not need to have any crease or UV layers. Now instead of assigning callbacks which returns zero data is possible to simply assign the callback itself to NULL.
2020-02-27Fix T74262: Cycles OpenCL error on some devices after recent changesBrecht Van Lommel
2020-02-27Build: change libc compatibility code to only be used for new glibcBrecht Van Lommel
This way we can still use fast math functions.
2020-02-27Fix Linux CentOS buildbot handing on ffmpeg testBrecht Van Lommel
Don't use -ffast-math functions for libc compatibility implementation, since then the function ends up calling itself. This may not be ideal for performance but should be insignificant in practice.
2020-02-27Fix unreported crash/assert in Cycles with volume render pass in viewportDalai Felinto
Bug introduced on e0085bfd24da.
2020-02-26Fix OpenVDB link error on Windows after recent changesBrecht Van Lommel
2020-02-26Cleanup: add ImageKey to avoid longer argument lists and duplicated codeBrecht Van Lommel
2020-02-26Cleanup: deduplicate OpenVDB library definitions/include/libs logicBrecht Van Lommel
This will more important when we start using OpenVDB in more modules.
2020-02-26Build: add compatibility between precompiled libraries and new glibcBrecht Van Lommel
On Linux, precompiled libraries may be made with a glibc version that is incompatible with the system libraries that Blender is built on. To solve this we add a few -ffast-math symbols that can be missing. Differential Revision: https://developer.blender.org/D6930
2020-02-26Cleanup: spellingCampbell Barton
2020-02-25Fix T74063: Cycles light pass viewport display wrong with saturated colorsBrecht Van Lommel
2020-02-25Cleanup: Remove superfluous "cuda_device_ptr" functionPatrick Mours
2020-02-25Cycles: Add option to change which sample to start viewport denoising atPatrick Mours
This patch adds a new user-configurable option to change at which sample viewport denoising should kick in. Setting it to zero retains previous behavior (start immediately), while other values will defer denoising until the particular sample has been reached. Default is now at one, to avoid the weirdness that is AI denoising at small resolutions. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6906
2020-02-25Overlay: Fix overlays being washed out by render colorsClément Foucault
Clamping here might be a bit too much if output is expected to be HDR. But we don't support HDR atm so clamping is fine.
2020-02-25Fix T74095: crash deleting all faces in edit mode with Cycles renderingBrecht Van Lommel
2020-02-25Cycles: move sss and diffuse transmission into diffuse passBrecht Van Lommel
This simplifies compositors setups and will be consistent with Eevee render passes from D6331. There's a continuum between these passes and it's not clear there is much advantage to having them available separately. Differential Revision: https://developer.blender.org/D6848
2020-02-24Fix Cycles Embree hair + motion blur failing after recent Catmull-Rom changeBrecht Van Lommel
Ref T73778
2020-02-24Fix T74169: Vector Rotate Node - Euler modes not working as intendedCharlie Jolly
Remove additional Euler modes for the time being, not working as intended, will add back if there is a need.
2020-02-24Fix unnecessary Cycles OptiX kernel loadingPatrick Mours
With the OptiX viewport denoiser active, an OptiX device was added to the device list even when rendering and denoising on different devices (e.g. CPU or CUDA) in background rendering. This fixes it, so the OptiX device is only added when actually needed, as in only when OptiX denoising is actually active in background rendering.
2020-02-24Mantaflow: Address precompiler warning and related cleanupJulian Eisel
* Address warning because of undefined OPENVDB usage * Remove unused WITH_FLUID definitions Differential Revision: https://developer.blender.org/D6919
2020-02-20Cycles: Switched Embree to use Catmull-Rom curves.Stefan Werner
The latest versions of Embree support Catmull-Rom splines which use less memory than the previously used Hermite splines. The representation is also much closer to Cycles own data structures and can hopefully be unified in the future for more memory savings. Memory savings using Victor benchmark scene: Compared to previous Embree: ~400MB Compared to Cycles' native BVH: ~1GB
2020-02-19Fluid: Updated manta pp filesSebastián Barschkis
Updates in the files include: - New manta files now use an platform independent gzopen function - Adjusted argument name for vorticity
2020-02-19Cleanup: `make format`Dalai Felinto
2020-02-19Fluid: Fix typo that was made in 4453509d83dcSebastián Barschkis
2020-02-19Fix T73770: Mantaflow is unable to bake fluid simulations on non-ASCII file ↵Sebastián Barschkis
paths Some fluid cache functions were not using Blender's more secure BLI_gzopen() function. On Windows there are some special cases which this function can handle compared to the plain gzopen().
2020-02-19Fix T73938: Cycles Vertex Color wrong if no layer is specifiedPhilipp Oeser
The node would render black in this case (but should use the 'active_render' layer choosen in the object data properties -- this is now in line to how this is handled for e.g. UVs) This introduces ATTR_STD_VERTEX_COLOR and uses this thoughout, if no particular layer is specified in the node. Maniphest Tasks: T73938 Differential Revision: https://developer.blender.org/D6887
2020-02-18Fix Cycles fluid motion blur not working after recent refactorBrecht Van Lommel
This also re-enables the fluid motion blur test.
2020-02-18Fix Embree failing on objects with a very high number of motion stepsBrecht Van Lommel
Set the limit to 129 to match Embree. This applies to all devices for consistent render results. Ref T73778
2020-02-18Cycles: Fix failing avxf cross test on AVX2Ray Molenkamp
cycles_util_avxf_avx2_test failed on the cross test, since it wasn't immediately clear why, the test was disabled. After looking into it, this test when build for AVX2 is generating FMA instructions where the intermediate results have "infinite" precision [1] leading to slightly different results. This diff re-enables the cross test and allows for a small error in the results. [1] https://www.felixcloutier.com/x86/vfmadd132ps:vfmadd213ps:vfmadd231ps Differential Revision: https://developer.blender.org/D6873 Reviewers: brecht
2020-02-18Fix T73954: Cycles viewport render from camera not respecting aspect ratioBrecht Van Lommel
2020-02-18Fix Cycles Embree crash with AO shader local only optionBrecht Van Lommel
Ref T73778
2020-02-18Fix Cycles Embree test failures with shadow catcherBrecht Van Lommel
Ref T73778
2020-02-18Cleanup: compiler warningsBrecht Van Lommel
2020-02-18Cycles: Enabled quaternion motion blur with Embree.Stefan Werner
Bringing Embree's motion blur closer to Cycles' native blur. This requries Embree 3.8.0 or newer. Differential Revision: https://developer.blender.org/D6575
2020-02-17Fix: T73830 OSL not finding stdosl.h on linuxRay Molenkamp
This extends FindOpenShadingLanguage.cmake to also look for the location of stdosl.h and adds the path to the invocation of oslc to deal with the headers being in different locations a little better. Differential Revision: https://developer.blender.org/D6865 Reviewers: brecht
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