December 14, 2021, 19:01 (GMT) |
Fix Cycles compilation with CUDA / Optix after recent Map Range additions. |
December 14, 2021, 18:27 (GMT) |
Nodes: Add vector support to Map Range node This replaces lost functionality from the old GN Attribute Map Range node. This also adds vector support to the shader version of the node. Notes: This breaks forward compatibility as this node now uses data storage. Reviewed By: HooglyBoogly, brecht Differential Revision: https://developer.blender.org/D12760 |
December 14, 2021, 18:19 (GMT) |
Sculpt-dev: fix pbvh_bmesh_normals_update |
December 14, 2021, 18:16 (GMT) |
Cleanup: Remove unused arguments |
December 14, 2021, 17:19 (GMT) |
Cleanup: Remove runtime uiBlock pointer from nodes Code is simpler when the uiBlocks used during drawing are simply stored in an array. Additionally, looping can be simpler when we use an vector to hold a temporary copy of the tree's linked list of nodes. This patch also slightly changes how uiBlocks are "named" in `node_uiblocks_init`. Now it uses the node name instead of the pointer, which is helpful so we rely less on the node's address. Differential Revision: https://developer.blender.org/D13540 |
December 14, 2021, 17:14 (GMT) |
ShaderCreateInfo: Rewrite implementation in C++ |
December 14, 2021, 16:56 (GMT) |
Cleanup: Simplify node group input and output socket verification This commit refactors the way the socket lists for group nodes, and group input/output nodes are verified to match the group's interface. Previously the `bNodeSocket.new_sock` pointer was used to temporarily mark the new sockets. This made the code confusing and more complicated than necessary. Now the old socket list is saved, and sockets are moved directly from the old list to a new list if they match, or a new socket is created directly in the new list. This change is split from D13518, which aims to remove the `new_node` and `new_sock` pointers. In the future this code might be removed entirely in favor of using node socket declarations. Differential Revision: https://developer.blender.org/D13543 |
December 14, 2021, 16:35 (GMT) |
Version bump: 2.93.7-release |
December 14, 2021, 16:31 (GMT) |
LineArt: Shifting fix for different camera fitting. FOV was expanded to cover the shifting range, rather than to precisely cut at the image border. Now fixed. Reviewed By: Sebastian Parborg (zeddb) Differential Revision: https://developer.blender.org/D11523 |
December 14, 2021, 14:57 (GMT) |
Geometry Nodes: support instance attributes when realizing instances This patch refactors the instance-realization code and adds new functionality. * Named and anonymous attributes are propagated from instances to the realized geometry. If the same attribute exists on the geometry and on an instance, the attribute on the geometry has precedence. * The id attribute has special handling to avoid creating the same id on many output points. This is necessary to make e.g. the Random Value node work as expected afterwards. Realizing instance attributes has an effect on existing files, especially due to the id attribute. To avoid breaking existing files, the Realize Instances node now has a legacy option that is enabled for all already existing Realize Instances nodes. Removing this legacy behavior does affect some existing files (although not many). We can decide whether it's worth to remove the old behavior as a separate step. This refactor also improves performance when realizing instances. That is mainly due to multi-threading. See D13446 to get the file used for benchmarking. The curve code is not as optimized as it could be yet. That's mainly because the storage for these attributes might change soonish and it wasn't worth optimizing for the current storage format right now. ``` 1,000,000 x mesh vertex: 530 ms -> 130 ms 1,000,000 x simple cube: 1290 ms -> 190 ms 1,000,000 x point: 1000 ms -> 150 ms 1,000,000 x curve spiral: 1740 ms -> 330 ms 1,000,000 x curve line: 1110 ms -> 210 ms 10,000 x subdivided cylinder: 170 ms -> 40 ms 10 x subdivided spiral: 180 ms -> 180 ms ``` Differential Revision: https://developer.blender.org/D13446 |
December 14, 2021, 14:40 (GMT) |
Geometry Nodes: simplify using selection when evaluating fields We often had to use two `FieldEvaluator` instances to first evaluate the selection and then the remaining fields. Now both can be done with a single `FieldEvaluator`. This results in less boilerplate code in many cases. Performance is not affected by this change. In a separate patch we could improve performance by reusing evaluated sub-fields that are used by the selection and the other fields. Differential Revision: https://developer.blender.org/D13571 |
December 14, 2021, 14:31 (GMT) |
Fixed backdrop slipping. |
December 14, 2021, 14:30 (GMT) |
Fix T93920: Wrong field inferencing state with unavailable socket This commit ignores unavailable sockets in one more place, to fix the case in T93920. Differential Revision: https://developer.blender.org/D13562 |
December 14, 2021, 14:23 (GMT) |
Fix T93649: Blender freezes when saving with active VR session Dead-lock when VR viewport drawing and depsgraph updates would fight for the draw-manager GL lock. This didn't usually cause issues because the depsgraph would be evaluated at this point already, except in rare exceptions like after file writing. Fix this by ensuring the XR surface gets its depsgraph updated after handling notifiers, which is where regular windows also do the depsgraph updating. |
December 14, 2021, 14:03 (GMT) |
Separate space node backdrop from region. |
December 14, 2021, 11:55 (GMT) |
Silenced clang-tidy warnings. |
December 14, 2021, 11:52 (GMT) |
Merge branch 'master' into temp-gpu-image-engine |
December 14, 2021, 10:32 (GMT) |
Cleanup: consistent naming for the blender file name |
December 14, 2021, 10:17 (GMT) |
Cleanup: remove oudated comment from early COW development Added in 161ab6109e265ea906e0308ab404f95282534770 |
December 14, 2021, 10:08 (GMT) |
Cleanup: use typed enum for wmDrag.flags Also use 'e' prefix for enum type name. |
|