Blender Git Loki

Kaikki Blender Git kommitit.

Page: 43 / 8462

December 7, 2021, 18:01 (GMT)
Build: remove Cycles CUDA/HIP/OPTIX build options on macOS

So those device types are not listed in the preferences. Metal will be
added instead as the only option.
December 7, 2021, 18:01 (GMT)
Fix T93418: Cycles shadow terminator Geometry Offset artifacts with translucency

Differential Revision: https://developer.blender.org/D13468
December 7, 2021, 17:50 (GMT)
Cycles: Reintroduce device-only memory handling that got lost in Cycles X merge

Somehow only a part of rBf4f8b6dde32b0438e0b97a6d8ebeb89802987127 ended up in
Cycles X, causing the issue that commit fixed, "OPTIX_ERROR_INVALID_VALUE" when the
system is out of memory, to show up again.
This adds the missing changes to fix that problem.

Maniphest Tasks: T93620

Differential Revision: https://developer.blender.org/D13488
December 7, 2021, 17:42 (GMT)
USD export: Skel Root validation.

Added function for verifying that skinned prims
and skeletons are properly grouped under a common
SkelRoot. Also added a Fix Skel Root export
option to attempt to fix the hierarchy if the Skel
Root is invalid.
December 7, 2021, 17:25 (GMT)
USD export: avoid creating redundant root prim.

If a root prim path is set in the params, now checking
if a root object matching the root path name already
exists in the Blender scene. Clearing the root prim
path in the params and printing a warning if it does.
This is to avoid prepending the root prim path redundantly.
December 7, 2021, 16:47 (GMT)
Cycles: add Metal device type to `device_type_for_description`

Add a `DEVICE_METAL` case to the enum-value-to-string mapping function.
December 7, 2021, 16:46 (GMT)
Cycles: fix build on non-Apple systems

Skip compiling `metal.mm` unless `WITH_CYCLES_DEVICE_METAL` is enabled.
December 7, 2021, 16:07 (GMT)
Geometry Nodes: Edge Neighbors Node

Creates a new Edge Neighbors node which outputs a field
containing the number of faces connected to each edge.

Differential Revision: https://developer.blender.org/D13493
December 7, 2021, 15:52 (GMT)
Cycles: Metal host-side code

This patch adds the Metal host-side code:

- Add all core host-side Metal backend files (device_impl, queue, etc)
- Add MetalRT BVH setup files
- Integrate with Cycles device enumeration code
- Revive `path_source_replace_includes` in util/path (required for MSL compilation)

This patch also includes a couple of small kernel-side fixes:

- Add an implementation of `lgammaf` for Metal [Nemes, Gerg? (2010), "New asymptotic expansion for the Gamma function", Archiv der Mathematik](https://users.renyi.hu/~gergonemes/)
- include "work_stealing.h" inside the Metal context class because it accesses state now

Ref T92212

Reviewed By: brecht

Maniphest Tasks: T92212

Differential Revision: https://developer.blender.org/D13423
December 7, 2021, 15:49 (GMT)
Merge branch 'master' into subdivision_work
December 7, 2021, 14:45 (GMT)
Merge branch 'master' into temp-gpu-image-engine
Revision fb762ee by Alexander Gavrilov (blender-v2.93-release)
December 7, 2021, 14:43 (GMT)
Fix T92043: Relax/Push Pose does nothing for quaternion rotation.

As can be confirmed by checking generic code for this operation,
it is supposed to blend between the result of Breakdown based on
actual frame range, and the current pose. However for some reason
the quaternion specific code was blending between the current pose
and the current keyframed pose. This means that the operation does
nothing if invoked without modifying the pose first.

This rewrites the code to match the non-quaternion behavior.

Differential Revision: https://developer.blender.org/D13030
December 7, 2021, 14:37 (GMT)
Geometry Nodes: new Geometry to Instance node

This adds a new Geometry to Instance node that turns every
connected input geometry into an instance. Those instances
can for example be used in the Instance on Points node.

Differential Revision: https://developer.blender.org/D13500
December 7, 2021, 14:35 (GMT)
Use instance data to solve memory leak.
December 7, 2021, 14:22 (GMT)
Geometry Nodes: move type conversions to blenkernel

The type conversions do not depend on other files in the nodes
module. Furthermore we want to use the conversions in the
geometry module without creating a dependency to the
nodes module there.
Revision ef381ff by Campbell Barton (blender-v2.93-release)
December 7, 2021, 14:14 (GMT)
Fix T93563: Crash subdividing with overlapping tri and quad

The first loop was left out when finding the split edge boundary.

Error from f2138686d9d8c105ebf8884774fd7e4d8ff239a1.
December 7, 2021, 14:11 (GMT)
Fix T93353: Reload Library Override file loses Constraints, take II.

When adding `INSERT` operations over RNACollection items, rna diffing
code did not properly report the properties as not being equals.

This in turn triggered the 'purge unused exiting override properties'
mechanism, thus deleting the exitsting (valid) insert override property
operation.

NOTE: This should also be backported to 2.93, and probably 2.83.

Reviewed By: sybren, jbakker

Maniphest Tasks: T93353

Differential Revision: https://developer.blender.org/D13426
Revision 2309fa2 by Hans Goudey (master)
December 7, 2021, 14:09 (GMT)
Cleanup: Add macro and functions for node storage

The `node_storage` functions to retrieve const and mutable structs
from a node are generated by a short macro that can be placed at the
top of each relevant file. I use this in D8286 to make code snippets
in the socket declarations much shorter, but I thought it would be
good to use it consistently everywhere else too.

The functions are also useful to avoid copy and paste errors,
like the one corrected in the cylinder node in this commit.

Differential Revision: https://developer.blender.org/D13491
December 7, 2021, 14:07 (GMT)
Fix T89564: Spline IK breaks when it is far away from the world origin

The isect_line_sphere algorithm became very imprecise when the line and
the sphere were reasonably far away from the world origin.

This would lead to no intersections being reported even if there was a
guaranteed intersection (line crossing from inside the sphere to the
outside).

To fix this we now use the secant root finding method to get an
intersection point. This is much more stable and robust it seems.
December 7, 2021, 13:25 (GMT)
Fix T93467: Use world bg color for pose library previews

Use the World viewport color when rendering pose library previews.

The World's viewport color is chosen instead of the World shading nodes,
as the latter would require rendering with `OB_RENDER` (instead of
`OB_SOLID`), which would take considerably longer.

Manifest Task: T93467

Reviewed By: sybren

Differential Revision: https://developer.blender.org/D13470
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021