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-07-08Fix T78324: Different Sky Texture results between CPU and GPULukas Stockner
The problem here was numerical precision: The code calculates the angle between sun and view direction, and the usual acos(dot(a, b)) approach for that has poor numerical performance for almost parallel angles. As a result, the generally tiny difference between floating point computation between CPU and GPU was enough to make the sun vanish at different radii, causing different results. The new version fixes the difference by making the computation much more robust on both platforms.
2020-07-07Cleanup: don't end description with a '.'Jacques Lucke
2020-07-07Cycles: Add support for native OptiX curve primitivePatrick Mours
This patch adds support for the curve primitive from OptiX to Cycles. It's currently hidden behind a debug option, since there can be some slight rendering differences still (because no backface culling is performed and something seems off with endcaps). The curve primitive was added with the OptiX 7.1 SDK and requires a r450 driver or newer, so this also updates the codebase to be able to build with the new SDK. Reviewed By: brecht Differential Revision: https://developer.blender.org/D8223
2020-07-07Fix T78692: improve UI regarding the effect of the denoiser on denoising passesBrecht Van Lommel
It wasn't obvious that the choice of Cycles denoiser also generates different denoising data passes for compositing.
2020-07-07Fix T78666: Cycles non-uniformly scaled hair renders wrong for static objectsBrecht Van Lommel
Don't apply the matrix transform optimization in this case, curve points and radius can't represent non-uniform scale the way is possible with triangle meshes and vertices. This would cause abrupt change if objects had e.g. motion blur in one frame and not in the next.
2020-07-07Cleanup: add comment explaining operator deleteJacques Lucke
2020-07-07Guarded Allocator: add missing operator deleteJacques Lucke
This resolves warning C4291 on windows.
2020-07-07UI: Add units to motion tracking solve errorsJohan Walles
The unit being "pixels". Before this change the solve errors were unitless in the UI. With this change in place, the UI is now clear on that the unit of the reprojection errors is pixels (px). Differential Revision: https://developer.blender.org/D8000
2020-07-07Cleanup: spellingCampbell Barton
2020-07-06Fix OptiX viewport denoising not working when rendering scene (without ↵Patrick Mours
OptiX) that uses unsupported features Denoising devices do not need to load the full feature set of kernels, so only activate the denoising feature for them (so that it is possible to use features that are supported by the render devices, but not the denoising devices).
2020-07-06Reduce `DupliObject::persistent_id` from 16 to 8 itemsSybren A. Stüvel
For historical reasons, `DupliObject::persistent_id` was of size `2*MAX_DUPLI_RECUR`. These reasons are now gone, and the persistent ID always gets exactly one array element for every dupli-recursion. Differential Revision: https://developer.blender.org/D8222 Reviewed by: brecht
2020-07-03Clang-tidy: Enable braces-around-statements warningSebastian Parborg
2020-07-03Clang-Tidy: Enable readability-redundant-control-flowHans Goudey
2020-07-03Fix T72214: Fluids: noise does not work with negative frame numbersJacques Lucke
The issue is duplicated code. There are two functions that zero-fill the frame number. They worked the same for positive frames numbers, but behaved differently for negative ones. On frame `-100`, `BLI_path_frame` outputs `-0100` and `fluid_cache_get_framenr_formatted_$ID$` outputted `-100`. I changed the behavior of the latter, because we depend on the behavior of the former for much longer already. Reviewers: sebbas Differential Revision: https://developer.blender.org/D8107
2020-07-03Cycles: rename viewport denoise Fastest option to Automatic and extend tooltipBrecht Van Lommel
2020-07-03Guarded allocator: Override placement new operatorSergey Sharybin
Allows to in-place construct objects which are using guarded allocator.
2020-07-03Cleanup: Fluid renaming from old 'manta' naming to new 'fluid' namingSebastián Barschkis
Changed variable names from mmd, mds, mfs, and mes to fmd, fds, ffs, and fes. The author of this commits lights a candle for all the merge conflicts this will cause.
2020-07-03Cycles: Use TBB's spin mutexSergey Sharybin
First benefit is reduced boilerplate code. Second benefit is fixed warnings about using deprecated spin lock on macOS when using SDK 10.12 and above. Differential Revision: https://developer.blender.org/D8182
2020-07-03Cleanup: spellingCampbell Barton
2020-07-02Cleanup: spellingCampbell Barton
2020-07-01Fix T77984: Cycles OpenCL error rendering empty sceneBrecht Van Lommel
2020-07-01Cleanup: Two two spaces around python classAaron Carlisle
2020-07-01Cleanup: spellingCampbell Barton
2020-06-30UI: Cycles: Use Split layout for object motion blurAaron Carlisle
2020-06-30Cycles: bump version to 1.13, matching Blender 2.90 release cycleBrecht Van Lommel
2020-06-30Fix T78038: Cycles crash rendering with volume object and motion blurBrecht Van Lommel
2020-06-30Fix T78447: Cycles vertex color node not working with hairBrecht Van Lommel
2020-06-30Cleanup: spellingCampbell Barton
2020-06-30Cleanup: clang-formatCampbell Barton
2020-06-30Fix T77095: fix Cycles performance regression with AMD RX cardsBrecht Van Lommel
Apply the workaround only for known problematic drivers. The latest pro driver appears to work correctly, hopefully the regular driver will as well once it is updated to the same OpenCL driver version (3075.13).
2020-06-30UI: Use single column for cycles ray visibility checkboxesAdrian Newton
Differential Revision: https://developer.blender.org/D7612
2020-06-26Fix crash compiling Cycles OpenCL, after recent TBB changesBrecht Van Lommel
2020-06-26Fix T78310: tweak layout in denoising panel to have more spacingBrecht Van Lommel
2020-06-26Cycles: add experimental preference to replace magic debug value 256Brecht Van Lommel
Previously you'd have to run with --debug-value 256, now just make it a preference so the Debug panel can be always available for developers.
2020-06-26Fluid: Fix typos from OpenVDB updateSebastián Barschkis
Some typos that were not noticed in 995185894289.
2020-06-25Fix T77204: Mantaflow Initial velocity bugged?Sebastián Barschkis
Always initialize the particle velocity of newly sampled particles to 0 if there are no initial velocities. Clearing the grid source makes sure that new particles will get a 0 velocity - and not interpolated from the associated grid.
2020-06-25Fix T77285: Incorrect Mantaflow fluid border interaction when collision is ↵Sebastián Barschkis
turned off Incorrect boolean for 'open' domain borders.
2020-06-25Fix T78238: issue loading existing .blend files with Optix viewport denoiserBrecht Van Lommel
Also add additional validation to ensure the denoiser is supported before trying to use it.
2020-06-25Cleanup: spellingCampbell Barton
2020-06-25Cycles: add support for rendering sculpt vertex colorsBrecht Van Lommel
Ref T78041
2020-06-25Fix viewport denoising not working if start samples higher than total samplesBrecht Van Lommel
2020-06-25Better fix for crash ( with gpu only ) on render end/abort introduced in 0dced1aJens Verwiebe
2020-06-25Fix crashing on render end/abort introduced in 0dced1aJens Verwiebe
2020-06-24Fix T78149: Cycles memory leak rendering animation with EmbreeBrecht Van Lommel
2020-06-24VR: Properly support outputting sRGB swapchain buffersJulian Eisel
Latest SteamVR OpenXR updates brought OpenGL support, but only with sRGB buffers. I think for DirectX it's the same now. It's not a big issue for us to use sRGB buffers, so that's what I will do for now. That way we shouldn't need hardcoded exceptions for specific runtimes that don't transform linear buffers correctly.
2020-06-24Fix T78047: Fix failing denoiser tests on windowsRay Molenkamp
When we switched to MSVC2019 and C++17 we seemingly managed to trigger a code-gen bug with MSVC in the AVX code-path. This change works around the issue by (hopefully temporary) disabling the optimizer for the fast_exp2f4 function, given it is only used in a single pass of the denoiser and nowhere else, this is luckily not as bad as it could have been. Once the compiler is fixed or a different fix is available we'll have to revisit this. Details and link to the repro posted to MS is available in T78047
2020-06-24Cleanup: compiler warningsBrecht Van Lommel
2020-06-24Fluid: Improved OpenVDB support for fluid cachesSebastián Barschkis
This commit makes uses of the new OpenVDB IO in Mantaflow (introduced in 781f783a66ac). From now on, fluid cache files in OpenVDB format will contain a list of grids per frame (before: one .vdb file per grid per frame). Besides regular grids, particle systems are also stored using OpenVDBs PointGrid data structures. All older cache formats will remain fully functional: - Uni caches (.uni) files are still available from the UI and can be used as before - Raw caches (.raw) are no longer available from the UI, but loading them is still possible - Old OpenVDB caches (one .vdb per grid) can no longer be baked either, but loading them is still possible. It is also no longer possible to choose file formats for 'Noise' and 'Particles'. Instead there are now options to set the file format for 'Volumetric' and for 'Mesh' data. Known issues (planned to be resolved soon): - OpenVDB files are currently not taking into consideration the clipping value (FluidDomainSettings). Empty cells are therefore being written too. Depending on the scene, this can make file sizes unnecessarily large. - Domains are not being exported at their world position. Instead they are always clipped to the origin.
2020-06-24Cleanup: fix typo in denoiser menuBrecht Van Lommel
2020-06-24Cleanup: make it possible to include util_tbb.h in any orderBrecht Van Lommel