Blender Git Commits

Blender Git "master" branch commits.

Page: 689 / 5574

July 8, 2020, 00:15 (GMT)
Fix T78324: Different Sky Texture results between CPU and GPU

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.
July 7, 2020, 18:32 (GMT)
BLI: simplify copy constructor of Array
July 7, 2020, 18:29 (GMT)
Cleanup: don't end description with a '.'
July 7, 2020, 18:27 (GMT)
Cleanup: fix typo
July 7, 2020, 17:46 (GMT)
Functions: cleanup loop that traverses the MFNetwork
July 7, 2020, 17:34 (GMT)
Functions: add generic functions that output constants
July 7, 2020, 17:16 (GMT)
BLI: simplify copy constructor of vector
July 7, 2020, 16:45 (GMT)
Functions: extend multi-function network api
July 7, 2020, 16:40 (GMT)
BLI: provide access to underlying node in dot exporter
July 7, 2020, 16:39 (GMT)
Functions: Add debug print and destruct callback to CPPType
July 7, 2020, 16:23 (GMT)
Nodes: Generate multi-function network from node tree

This adds new callbacks to `bNodeSocketType` and `bNodeType`.
Those are used to generate a multi-function network from a node
tree. Later, this network is evaluated on e.g. particle data.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D8169
July 7, 2020, 15:57 (GMT)
Fix T75943 EEVEE: Cubemaps shows black

Caused by faulty driver implementation. Force fallback method.
Revision 1e2ff4f by Hans Goudey
July 7, 2020, 15:10 (GMT)
Cleanup: Add braces for clang tidy
July 7, 2020, 14:51 (GMT)
BLI: Correct spin lock definition

The MSVC atomic function is defined for an unsigned type.

Not sure why this became an issue after switch to TBB by default,
maybe some CFLAGS changed to be more strict after that.
July 7, 2020, 14:27 (GMT)
Fix: remove accidental code

`v1` and `v2` are already set.
July 7, 2020, 14:26 (GMT)
Make deps: Use own nasm for ffmpeg and x264

Fixes the warning: building for macOS, but linking in object file

Differential Revision: https://developer.blender.org/D8235
July 7, 2020, 14:26 (GMT)
Make deps: Compile own version of nasm for Apple

The upstream version of nasm does not put version information to the
generated object files, which makes linker to show the following
warning:

building for macOS, but linking in object file

Using own patched version of nasm which puts required information to
the object file, making linker happy.

The plan is to either streamline the patch and provide it to the
upstream, or, it that takes too long, get an independent fix from the
upstream.
July 7, 2020, 14:22 (GMT)
Fix T77455: Blender Freezes when using the 3d Scale Gizmo

Issue is reported on Linux ith Intel HD6xx iGPU. Inside
`gpu_select_sample_query.c` the call to `glGetQueryObjectuiv` froze. After
bisecting this lead to the polyline shader. When using a 3d color shader
in stead of the polyline shader during selection seems to fix the issue.

Other parts of blender might also be effective, but I wasn't able to
freeze blender in these areas. When it does, we might want to add
a similar work-around to button2d, cage2d, cage3d & move3d, navigate.

Backport this patch to 2.83.

Reviewed By: Cl�ment Foucault

Differential Revision: https://developer.blender.org/D8217
July 7, 2020, 14:17 (GMT)
BLI: Fix mistake in SpinLock TBB migration

Copy-paste mistake.
July 7, 2020, 13:55 (GMT)
Optimization: use `BLI_bvhtree_intersect_plane` to detect faces that will be affected by the knife tool

The knife code currently calls the `BLI_bvhtree_overlap` function that
tests the overlap between the mesh tree and an AABB that encompasses the
points projected in the clip_start, clip_end and or clip_planes of the
view.

This resulted in many false positives since the AABB is very large.
Often all the triangles "overlapped".

The solution was to create a new function that actually tests the
intersection of AABB with a plane.

Even not considering the clip_planes of the view, this solution is more
appropriate than using overlap.

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