Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 471 / 5574

December 3, 2020, 13:51 (GMT)
Tracking: Improve multithreading of tracking many markers

This change solves a bottleneck which was caused by attempt to cache
postprocessed search areas used for tracking. It was a single cache
used by all threads, which required to have some synchronization
mechanism. This synchronization turned out to be making all threads
to idle while one thread is accessing the cache. The access was not
cheap, so the multi-threading did not provide expected speedup.

Current solution is to remove the cache of search areas. This avoids
any threading synchronization overhead because there is no need for
it anymore. The downside is that for certain configurations tracking
became slower when comparing to master branch. There is no expected
slowdown compared to 2.91 release.

The slowdown is mainly experienced when using big search area and
keyframe matching strategy. Other cases should still be within a
ballpark of performance of single-threaded code prior to this change.
The reason why is it so is because while this change makes it so the
image accessors needs to process images multiple times the complexity
of this process is almost the same as all the overhead for the cache
lookup and maintenance.

Here are Some numbers gained on different configurations.

CPU: Intel Xeom CPU E5-2699 v4
OS: Linux
Footage: Old_Factory MVI_4005.mov from the first part of Track Match
Blend training which can be found on the Blender Cloud.

Tracking 443 markers across 250 frames. The unit is seconds.
File: F9433209

2.91: 401.520874
before: 358.650055
after: 14.966302

Tracking single marker across 250 frames. The unit is seconds.
File: F9433211

2.91 before after
Big keyframe 1.307203 1.005324 1.227300
Big previous frame 1.144055 0.881139 0.944044
Small keyframe 0.434015 0.197760 0.224982
Small previous frame 0.463207 0.218058 0.234172
All at once 2.338268 1.481220 1.518060
December 3, 2020, 10:20 (GMT)
Add Custom Object Space to Constraints

Add Custom Space to the list of space conversions for constraints.

Constraints can use World Space, Local Space, Pose Space, Local with
Parent, and now also Custom Space with a custom object to define the
evaluation space.

The Custom Space option uses the Local Space of an other
object/bone/vertex group. If selected on owner or target it will show a
box for object selection. If an armature is selected, then it will also
show a box for bone selection. If a mesh object is selected it will show
the option for using the local space of a vertex group.

Reviewed By: #animation_rigging, sybren, Severin, angavrilov

Differential Revision: https://developer.blender.org/D7437
December 3, 2020, 10:07 (GMT)
Fix linker errors when building without Cycles

Fix linker errors by explicitly linking PugiXML when OpenImageIO is
used.

PugiXML has been separated from OpenImageIO (D8628). This means that any
time OpenImageIO libraries are linked, the PugiXML libraries have to be
linked as well. This was set up correctly for Cycles, but not for imbuf.
Because of this, building without Cycles but with OIIO would produce
linker errors.
December 3, 2020, 03:26 (GMT)
Fix accendental copy/paste errors after last commit
December 3, 2020, 03:01 (GMT)
Bmesh: Improve documentation of op parameters

These comments are used to generate Py API docs.
Most of the comments are just copies of the mesh operator counterparts.

More improvements can be made here in the future.

Thanks to Jon Denning on twitter:

https://twitter.com/gfxcoder/status/1334178566993555459
December 2, 2020, 23:16 (GMT)
Cleanup: view-port --> 2D/3D Viewport
December 2, 2020, 16:25 (GMT)
Fix crash in outliner on cursor hover

The previous commit surfaced a bug introduced in rBab4654cdfe8f in which
a boolean wasn't initialized to false.
December 2, 2020, 15:58 (GMT)
Outliner: Highlight icons on cursor hover

The icons for collapsed children already draw highlighted when hovered.
Because the item icons are now select targets (for outliner to properties
editor tab switching) this adds highlights on hover for all outliner
element icons.
December 2, 2020, 15:44 (GMT)
Cleanup: Store "is_active" instead of pointer property in panel type

This is consistent with the way other panel type fields are stored.
December 2, 2020, 15:34 (GMT)
Geometry Nodes: correct modifier name when creating from node editor

The name should be the same as when the modifier is created in the
modifier tab of the properties editor.
December 2, 2020, 15:34 (GMT)
Geometry Nodes: automatically reconnect when swapping inputs

This makes it easier to swap the inputs to the Join Geometry node.
The behavior is the same as in the Math node.
December 2, 2020, 15:34 (GMT)
UI: Add new node colors for geometry nodes

During the development of the new nodes in the `geometry-nodes` branch
the color of the new nodes wasn't considered, so all of the nodes ended
up red, the color for "input" nodes. This patch introduces two new
colors, one for "Geometry" and one for "Attributes". There are only two
attribute nodes currently, but the next sprint will add two more,
attribute mix, and sample from texture. The attribute nodes are
conceptually different enough from the nodes that modify the geometry
that they deserve their own color.

Differential Revision: https://developer.blender.org/D9682
December 2, 2020, 15:19 (GMT)
Fix T83309: Hide metadata when overlays are off.

Inconsistency between overlay popover and implementation. Now the
metadata will not be visible when the overlays are turned off.
December 2, 2020, 14:38 (GMT)
Functions: add move operations to CPPType

Those are sometimes needed when dealing with c++ types in a generic way.
December 2, 2020, 14:38 (GMT)
Functions: add generic pointer class

This class represents a pointer whose type is only known at runtime.
December 2, 2020, 14:38 (GMT)
Nodes: add geometry socket type

We still have to pick a color for this socket.

Ref T81848.
December 2, 2020, 14:38 (GMT)
UI: update node socket colors

Note: This also changes the Shader socket color, to match "Shading" in the Outliner.

Theme update for shader nodes will be committed separately.

Ref T82689.
December 2, 2020, 14:38 (GMT)
Theme: update shader node color to match socket color

Reviewed by Brecht

Ref T82689.
December 2, 2020, 14:38 (GMT)
Functions: add float2 cpp type

This also adds a hash function for `float2`, because `CPPType`
expects that currently.
December 2, 2020, 14:38 (GMT)
BLI: add missing const
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021