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
2022-09-27Cycles: add Path Guiding on CPU through Intel OpenPGLSebastian Herhoz
This adds path guiding features into Cycles by integrating Intel's Open Path Guiding Library. It can be enabled in the Sampling > Path Guiding panel in the render properties. This feature helps reduce noise in scenes where finding a path to light is difficult for regular path tracing. The current implementation supports guiding directional sampling decisions on surfaces, when the material contains a least one diffuse component, and in volumes with isotropic and anisotropic Henyey-Greenstein phase functions. On surfaces, the guided sampling decision is proportional to the product of the incident radiance and the normal-oriented cosine lobe and in volumes it is proportional to the product of the incident radiance and the phase function. The incident radiance field of a scene is learned and updated during rendering after each per-frame rendering iteration/progression. At the moment, path guiding is only supported by the CPU backend. Support for GPU backends will be added in future versions of OpenPGL. Ref T92571 Differential Revision: https://developer.blender.org/D15286
2022-09-27Cycles: BSDF eval refactor to remove separate reflection/refraction methodsBrecht Van Lommel
Simplifies code overall to do it inside the eval function, most of the BSDFs already compute the dot product. The refactoring in bsdf_principled_hair_eval() was needed to avoid a HIP compiler bug. Cause is unclear, just changing the implementation enough is meant to sidestep it. Ref T92571, D15286
2022-09-27Cycles: BSDF changes in preparation of path guidingSebastian Herhoz
* Return roughness and IOR for BSDF sampling * Add functions to query IOR and label for given BSDF * Default IOR to 1.0 instead of 0.0 for BSDFs that don't use it * Ensure pdf >= 0.0 in case of numerical precision issues Ref T92571, D15286
2022-09-27Fix T101231: Console flooded with warnings when fluid type is DomainGermano Cavalcante
Although rB67e23b4b2967 turned the problem more recurrent, the warning messages in the console always appear when `BKE_fluid_cache_free_all` is called. This is because of a bug in `BLI_filelist_dir_contents` as this function calls `BLI_strdupcat` instead of `BLI_join_dirfile` NOTE: Other places in Blender avoid this problem by making sure to add a `SEP_STR` to the end of the directory. Differential Revision: https://developer.blender.org/D16043
2022-09-27Deps: fix builing wayland-scannerSybren A. Stüvel
- fix the source package download URL - patch the `meson.build` file to allow the CentOS 7 meson version to be used - only build what we need (`wayland-scanner`), and not the libraries, documentation, and tests. Ref: D16074 This also reverts commit f6664217b3214be869afb732d1d5bfc471a88e9a "Build: temporarily disable wayland dependency".
2022-09-27Fix T101398: Transfer Attribute node still defined in menuHans Goudey
Removing this item was missed in 837144b4577f161baf1625.
2022-09-27Fix T101393: Vertex Crease operator does not create vertex crease layerPhilipp Oeser
Typo in rBa8a454287a27 (created layer on edge data instead of vertex data). Maniphest Tasks: T101393 Differential Revision: https://developer.blender.org/D16079
2022-09-27Build: temporarily disable wayland dependencyCampbell Barton
This caused problems on centos7, see D16074 for details.
2022-09-27Fix: GPencil animated layer transforms evaluate wrong when identityPhilipp Oeser
Due to (optimization) checks in in `BKE_gpencil_prepare_eval_data` & `BKE_gpencil_update_layer_transforms`, updates were skipped if animation reached exact identity transforms. Now check if the matrix has changed additionally to gain proper updates. Unsure if this is the cheapest way to check for the animated state of layer transforms tbh, but I see similar checks elsewhere. Fixes T101164. Maniphest Tasks: T101164 Differential Revision: https://developer.blender.org/D16018
2022-09-27Fix curves sculpting in deformed space when using Subdivide nodePhilipp Oeser
Needs a call to remember_deformed_curve_positions_if_necessary, missed in rB1f94b56d7744. Thx @JacquesLucke for the solution! Differential Revision: https://developer.blender.org/D16078
2022-09-27Fix T101272: Missing view layer updates handling collections via python.Jeroen Bakker
Fixed by ensuring the view layer is up to date.
2022-09-27Build: add wayland to deps buildCampbell Barton
This is needed to ensure and up to date "wayland-scanner" is used, as versions before 1.20.0 generate headers incompatible with dynamic linking (WITH_GHOST_WAYLAND_DYNLOAD). As the centos7 version of wayland is 1.15 so make this part of Blender's dependencies on Linux. We intend to enable Wayland for Blender 3.4 release, this is needed for the build-bot. Reviewed By: brecht Ref D16074
2022-09-27Cleanup: Fix brace-scalar-init warningSergey Sharybin
2022-09-27GHOST: exit with an error when GHOST cannot be initializedCampbell Barton
When the GHOST back-end Blender was built with isn't supported, Blender would crash on startup without any useful information. This could happen when building X11 only, then running on Wayland. Now show a list of the GHOST back-ends that were attempted and exit with an error code instead of crashing.
2022-09-27Cleanup: formatCampbell Barton
2022-09-27WM: batch rename action clipsIyad Ahmed
Batch rename for action clips works in outliner and 3d view. Reviewed By: campbellbarton Ref D15819
2022-09-27Revert "Cleanup: remove redundant WITH_GHOST_WAYLAND check"Campbell Barton
This reverts commit 7fa7c7ceda3df8d522b8f5a407a697987669033c. The check was not redundant, it accounted for wayland not being found.
2022-09-27Build: add missing include for opencolorioCampbell Barton
OpenColorIO failed to build on Linux+GCC-12.2 because of strlen() use.
2022-09-27Cleanup: remove redundant WITH_GHOST_WAYLAND checkCampbell Barton
2022-09-27Fix T101361: Collapsed multi-input sockets not collapsing noodlesIliya Katueshenock
Caused by 40d815dff651, which removed the check for "hidden" nodes. Differential Revision: https://developer.blender.org/D16061
2022-09-27Scew Modifier: Remove eager normal calculationHans Goudey
The screw modifier calculated normals eagerly (whether or not the next modifier actually used them). However, this was incorrect and set invalid normals. It isn't necessary because they can be calculated later anyway. The potential performance improvement isn't worth the complexity or maintenance burden. Fixes T101075 Differential Revision: https://developer.blender.org/D16073
2022-09-27GPU: Fix crash when rendering with compositor using CLIClément Foucault
The backend gets used before it is initialized again. This is just a workaround for now as production schedule needs ir.
2022-09-27Cleanup: remove unnecessary argument to else() in CMakeCampbell Barton
We have moved away from duplicating arguments in else() and endif() commands.
2022-09-27Cleanup: correct indentation of harvest.cmakeCampbell Barton
2022-09-27GPU: Revert part of D16017 that was accidentally commitedClément Foucault
This code slipped through the final review step surely caused by a faulty merge. Fixes T101372 Regression: World shader setup crashes Blender in rendered view Regression introduced by rB697b447c2069bbbbaa9929aab0ea1f66ef8bf4d0
2022-09-27Build: add OpenPGL as to deps buildsSebastian Herhoz
Ref T92571, D15286
2022-09-27Cleanup: remove workarounds and version checks for unsupported compilersCampbell Barton
Match minimum supported versions from the WIKI [0] by raising them to: - GCC 9.3.1 - CLANG 8.0 - MVCS 2019 (16.9.16 / 1928) Details: - Add CMake checks that ensure supported compiler versions early on. - Previously GCC per-processor version checks served to exclude `__clang__`, in some cases this has been replaced by explicitly excluding `__clang__`. This was needed as CLANG treated some of these flags differently to GCC, causing the build to fail. - Remove USE_APPLE_OMP_FIX GCC-4.2 OpenMP workaround. - Remove linking error workaround for old MSVC versions. [0]: https://wiki.blender.org/wiki/Building_Blender Reviewed by: brecht, LazyDodo Ref D16068
2022-09-27Cleanup: use the system-handle arg for GHOST_SetMultitouchGesturesCampbell Barton
There was an unused argument warning, quiet by using the argument.
2022-09-26UI: add preference to disable touchpad multitouch gesturesrecht Van Lommel
Available on Windows and macOS, where such gestures are supported. For Windows, disabling this option restores touchpad behavior to match Blender 3.2. Ref T97925 Differential Revision: https://developer.blender.org/D16005
2022-09-26Fix: Incorrect handling for crease layersHans Goudey
First, there can only be one crease layer, so remove the "default name", since apparently that's how CustomData tests for that (see `CustomData_layertype_is_singleton`). Second, always propagate crease data because it can be used in arbitrary situations by geometry nodes. That also has to be done for all generic attribute layers. Fixes T101340, T101373
2022-09-26Fix T101365: saving second view layer as (non-Multilayer) OpenEXR does not workBrecht Van Lommel
2022-09-26Fix T101354: Cycles crash with baking and adaptive samplingBrecht Van Lommel
2022-09-26Fix build errors and warnings after recent changes, when not using Unity buildBrecht Van Lommel
2022-09-26Geometry Nodes: Miscellaneous changes in control point neighbors nodeHans Goudey
- Use const and whitespace more consistently - Fix "Offset Valid" output only working on point domain - Use the smallest output array that can contain the result. - Consistent include ordering - Use "data-block" term instead of "object" in tooltip - Remove unnecessary call to set default output values
2022-09-26Nodes: Use plain menus for geometry nodes add menuHans Goudey
At the cost of slightly more boilerplate code, we can avoid the `NodeItem` and `NodeCategory` abstractions used to build the node add menu. This makes the menus more flexible and more obvious, which will make them easier to extend with assets. The identifiers for the new menu types are inconsistent with regular class naming for backwards compatibility with the old "category" menu naming. Also adds an item for the "Self Object" node missed in dd5131bd700c. Differential Revision: https://developer.blender.org/D15973
2022-09-26Geometry Nodes: Control Point Neighbors NodeJohnny Matthews
This node allows access to the indices of neighboring control points within a curve via an offset. This includes taking into consideration curves that are cyclic. Differential Revision: D13373
2022-09-26Fix typo and and incorrect property initializationGermano Cavalcante
Error in rB236fda7faf58
2022-09-26Fix T101343: useless Snapping menu in transform operatorsGermano Cavalcante
Changes: - Use the "snap_elements" property only for operators that support snapping to geometry. - Remove unused properties: - "use_snap_to_same_target", - "snap_face_nearest_steps"). - Fix property with wrong name "use_snap_selectable_only" -> "use_snap_selectable" - Fix use of dependent property flags. - Remove redundant initialization of variables - Simplify `poll_propety`. Only the "use_snap_project" is not hidden. >>! In rBc484599687ba it's said: > These options are needed for Python tools to control snapping without requiring the tool settings to be adjusted. If that's the case, there doesn't seem to be any need to display them in the redo panel. Therefore: - Hide snapping properties in redo panel. Many properties have been added that can be independent of ToolSettings. Therefore: - Save snapping properties in the operator itself. For Redo.
2022-09-26Cycles: increase min-supported driver version for Intel GPUsXavier Hallade
Windows drivers 101.3430 fix an important GUI-related crash and it's best to prevent users from running into it. Linux drivers weren't affected but still had relevant gpu binary compatibility fixes, so it makes sense to keep the min-supported version aligned across OSes.
2022-09-26Asset Browser: Add slider UI to pose blendingAngus Stanton
Add the Slider UI to pose blending. This adds a slider with percentages, and controls for precision control and incremental control. Reviewed By: sybren Maniphest Tasks: T90182 Differential Revision: https://developer.blender.org/D14984
2022-09-26Cleanup: format, ensure trailing newlinesCampbell Barton
2022-09-26Cleanup: restore parenthesis removed in recent commitCampbell Barton
Partial revert [0], removed by accident because the -fpermissive flag was enabled with collada. [0]: 34477bbfcde34d0b27f04eccdddd0a093d8be1c0
2022-09-26Fix: bump subversion to avoid corrupted filesJacques Lucke
Replacing the transfer node breaks forward compatibility, so a version bump is necessary to get a warning in older versions.
2022-09-26Fix crash in Solidify modifier with Inner CreaseSergey Sharybin
Since a8a454287a27 the simple case would crash: - Add place - Add Solidify modifier - Set Inner Crease to something non-zero Seems to be a mistake in the logic which was trying to access existing custom data layer on a clean result while it is more logical to create the layer. Was initially reported by the studio who could not open production files after the change.
2022-09-26Fix T101370: GPencil Grab Sculpt crash after bake transform animationAntonio Vazquez
The problem was the duplicated strokes had wrong pointers to the original stroke.
2022-09-26Cleanup: replace C-style casts with functional casts for numeric typesCampbell Barton
Use function style casts in C++ headers & source.
2022-09-26GPU: Disable SSBO support from commandline.Jeroen Bakker
In heavy scenes containing many hairs/curves and volumetrics using SSBO can overwrite the binding information of the volumetric resolve shader. This has been detected during project Heist and is only reproducable on NVIDIA platform. This patch adds an debug option to disable SSBOs from the command line to replace the --debug-gpu-force-workarounds that has been used as a workaround on the render farm. Reason is that force workarounds will also add other limitations as well (number of texture binds for example)
2022-09-26System info: Added GPU device type and feature support.Jeroen Bakker
Adds more information to System info to help triaging/debugging.
2022-09-26Python: Add platform feature support methods to `gpu.capabilities` module.Jeroen Bakker
Depending on the actual platform, Blender will disable features that are known to have a faulty implementation. Add-on developers or users don't have the ability to check what is actually enabled. This patch will add the ability to check for * Compute shader support `gpu.capabilities.compute_shader_support_get()`. * SSBO support `gpu.capabilities.shader_storage_buffer_objects_support_get()`. * Image load/store `gpu.capabilities.shader_image_load_store_support_get()`.
2022-09-26Console: Add gpu python module to list of internal modules.Jeroen Bakker
The python GPU module was not mentioned in the list of internal modules. Adding the GPU module to the list allows curious users to find it.