Blender Git Commits

Blender Git "master" branch commits.

Page: 112 / 5574

October 12, 2021, 06:42 (GMT)
GHOST: Add option to request (user) cache folder.

Introduces `BKE_appdir_folder_caches` to get the folder that
can be used to store caches. On different OS's different folders
are used.

- Linux: `~/.cache/blender/`.
- MacOS: `Library/Caches/Blender/`.
- Windows: `(%USERPROFILE%AppDataLocal)Blender FoundationBlenderCache`.

Reviewed By: Severin

Differential Revision: https://developer.blender.org/D12822
October 12, 2021, 06:41 (GMT)
Silence compilation warning in wm_xr_session.
Revision cdeb506 by Peter Kim
October 12, 2021, 04:48 (GMT)
XR Controller Support Step 3: XR Events

Integrates XR input actions with the WM event system. With this commit,
all VR action functionality (operator execution, pose querying, haptic
application), with the exception of custom drawing, is enabled.

By itself, this does not bring about any changes for regular users,
however it is necessary for the upcoming VR add-on update that will
expose default controller actions to users.

For add-on developers, this updates the Python API with access to XR
event data (input states, controller poses, etc.), which can be
obtained via the "xr" property added to the bpy.types.Event struct.
For XR events, this property will be non-null and the event will have
the type XR_ACTION.

Further details:
XR-type window events are queued to the regular window queues after
updating and interpreting VR action states. An appropriate window is
found by either using the window the VR session was started in or a
fallback option.

When handling XR events, mouse-specific processing is skipped and
instead a dedicated XR offscreen area and region (see 08511b1c3de0) is
used to execute XR event operators in the proper context.

Reviewed By: Severin

Differential Revision: https://developer.blender.org/D10944
Revision 4b31a21 by Hans Goudey
October 11, 2021, 23:14 (GMT)
Geometry Nodes: Use a separator in the add menu input category

This can help separate the field inputs from the other nodes,
like some other categories.
October 11, 2021, 22:43 (GMT)
Geometry Nodes: Add Color input node

Adds a color input node with picker.

Differential Revision: https://developer.blender.org/D12793
October 11, 2021, 21:59 (GMT)
Fix T92103: Update BLI hash_float_to_float functions to be shader compatible

Previously the functions called `hash_float` instead of `uint_to_float_01`.
This meant that the float was hashed twice instead of once.
The new functions are also compatible with Cycles/Eevee.

Differential Revision: https://developer.blender.org/D12832
October 11, 2021, 18:26 (GMT)
Fix T92102: Issues with align euler to vector node

For fixed pivots, make sure the correct pivot axis is being used.
Also add continues or invalid rotations.

Differential Revision: https://developer.blender.org/D12824
Revision d993c7b by Julian Eisel
October 11, 2021, 16:28 (GMT)
Fix recently added File Browser name/path getters not allowing unicode

The `FileSelectEntry.name` and `FileSelectEntry.relative_path` members
should support unicode strings like any file names & paths, but didn't.
October 11, 2021, 16:22 (GMT)
Cycles: restore Christensen-Burley SSS

There is not enough time before the release to improve Random Walk to handle
all cases this was used for, so restore it for now.

Since there is no more path splitting in cycles-x, this can increase noise in
non-flat areas for the sample number of samples, though fewer rays will be traced
also. This is fundamentally a trade-off we made in the new design and why Random
Walk is a better fit. However the importance resampling we do now does help to
reduce noise.

Differential Revision: https://developer.blender.org/D12800
October 11, 2021, 16:22 (GMT)
Cycles: improve SSS Fresnel and retro-reflection in Principled BSDF

For details see the "Extending the Disney BRDF to a BSDF with Integrated
Subsurface Scattering" paper.

We split the diffuse BSDF into a lambertian and retro-reflection component.
The retro-reflection component is always handled as a BSDF, while the
lambertian component can be replaced by a BSSRDF.

For the BSSRDF case, we compute Fresnel separately at the entry and exit
points, which may have different normals. As the scattering radius decreases
this converges to the BSDF case.

A downside is that this increases noise for subsurface scattering in the
Principled BSDF, due to some samples going to the retro-reflection component.
However the previous logic (also in 2.93) was simple wrong, using a
non-sensical view direction vector at the exit point. We use an importance
sampling weight estimate for the retro-reflection to try to better balance
samples between the BSDF and BSSRDF.

Differential Revision: https://developer.blender.org/D12801
October 11, 2021, 16:22 (GMT)
Fix T92056: empty sampling pattern in Cycles when opening some existing files
October 11, 2021, 16:18 (GMT)
Fix T86671: Background Scene Dupliface Not Instanced.

Use depsgraph's objects iterator to find sources of dupliobjects,
instead of looping over bases of a viewlayer.
Revision bb6cc67 by Hans Goudey
October 11, 2021, 16:10 (GMT)
UI: Reduce whitespace in custom node categories

This makes the long "Curve" category take up less space.
October 11, 2021, 16:03 (GMT)
Geometry Nodes: Add Nodes to Get/Set Built-in Attributes

This commit implements T91780, adding nodes to get and set builtin
attributes. Individual set nodes are used so that the values can be
exposed for direct editing, which is useful for attributes like shade
smooth and spline resolution. Individual input nodes are used to allow
reusing nodes for multiple components, and to allow grouping multiple
outputs conceptually in the same node in the future.

Input Nodes
- Radius
- Curve Tilt
- Curve Handle Positions
- Is Shade Smooth
- Spline Resolution
- Is Spline Cyclic

'Set' Nodes
- Curve Radius
- Point Radius
- Curve Tilt
- Curve Handle Positions
- Is Shade Smooth
- Spline Resolution
- Is Spline Cyclic

Using hardcoded categories is necessary to add separators to the node
menu.

Differential Revision: https://developer.blender.org/D12687
October 11, 2021, 16:00 (GMT)
Cleanup: Asset Catalogs, add type alias for asset catalog maps

Add alias for `Map<CatalogID, std::unique_ptr<AssetCatalog>>` to make the
rest of the code a bit simpler.

No functional changes.
October 11, 2021, 16:00 (GMT)
Cleanup: Asset Catalogs, add divider between sections in code

No functional changes.
October 11, 2021, 15:38 (GMT)
Geometry Nodes: Rename 12 Nodes to be "Verb First"

Attribute Capture => Capture Attribute
Curve Fill => Fill Curve
Curve Fillet => Fillet Curve
Curve Reverse => Reverse Curve
Curve Sample => Sample Curve
Curve Subdivide => Subdivide Curve
Curve Trim => Trim Curve
Material Assign => Assign Material
Material Replace => Replace Material
Mesh Subdivide => Subdivide Mesh
Float Compare => Compare Float
Boolean => Mesh Boolean

Differential Revision: https://developer.blender.org/D12798
Task: https://developer.blender.org/T91682
October 11, 2021, 14:08 (GMT)
Cleanup: match parameter name in function declaration and implementation.
October 11, 2021, 13:59 (GMT)
Fix active pixels overlay for Cycles viewport

It got missed in some of previous development.

Can not see a reason why the line needed to be removed, maybe just some
accident.
October 11, 2021, 13:38 (GMT)
Geometry Nodes: Separate and Delete Geometry for fields

Delete Geometry:
This adds a copy of the old node in the legacy folder and updates the
node to work with fields. The invert option is removed, because it is
something that should be very easy with fields, and to be consistent
with other nodes which have a selection. There is also a dropdown to
select the domain, because the domain can't be determined from the
field input. When the domain does not belong on any of the components
an info message is displayed.

Separate Geometry:
A more general version of the old Point Separate node. The "inverted"
output is the same as using the delete geometry node.

Differential Revision: https://developer.blender.org/D12574
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021