Blender Git Loki

Blender Git "soc-2021-curves" branch commits.

Page: 13 / 19

June 21, 2021, 14:31 (GMT)
UI - LOCAL View3D overlay stats

This patch improves the 3DView statistics overlay to show LOCAL stats
while in local view. This means the stats can vary between 3DViews and
the statusbar when views are in local view, but this gives a much more
accurate count of the objects, and their components, that you are
directly working with rather than just scene values.

Differential Revision: https://developer.blender.org/D8883

Reviewed by Campbell Barton
June 21, 2021, 14:31 (GMT)
Cleanup: Expose function publicly, rename

There is no particular reason these two functions shouldn't be used
outside of the bezier spline implementation since they don't do anything
particularly controversial.
June 21, 2021, 14:31 (GMT)
DrawManager: Cache material offsets.

When using multiple materials in a single mesh the most time is spend in
counting the offsets of each material for the sorting.

This patch moves the counting of the offsets to render mesh data and
caches it as long as the geometry doesn't change.

This patch doesn't include multithreading of this code.

Reviewed By: mano-wii

Differential Revision: https://developer.blender.org/D11612
June 21, 2021, 14:31 (GMT)
BMesh: assert that face normals have been updated for tessellation

This catches missing normal updates that may cause invalid tessellation.
June 21, 2021, 14:31 (GMT)
CMake: disable TBB when not found
June 21, 2021, 14:31 (GMT)
Cleanup: Added hierarchy in MeshBufferExtractionCache.
June 21, 2021, 14:31 (GMT)
Fix warning treated as an error

"void' function returning a value".
June 21, 2021, 14:31 (GMT)
Cleanup: use back-slash for doxygen comments
June 21, 2021, 14:31 (GMT)
Cleanup: Split mesh_render_data_loose_geom into multiple functions.
June 21, 2021, 14:31 (GMT)
Cleanup: remove return value from face normal calculation

This value is always 'sides - 2', no need to return this value.
June 21, 2021, 14:31 (GMT)
Draw Cache: avoid recalculating 'poly_normals'

Call `BKE_mesh_ensure_normals_for_display` to avoid recalculating
poly_normals.

**Benchmark**
||master:|PATCH:
|---|---|---|
|looptris_test:|Average: 3.995076 FPS|Average: 4.047470 FPS
||rdata 11ms iter 91ms (frame 235ms)|rdata 11ms iter 86ms (frame 233ms)
|subdiv_mesh_cage_and_final:|Average: 1.884492 FPS|Average: 1.900114 FPS
||rdata 7ms iter 42ms (frame 268ms)|rdata 7ms iter 39ms (frame 265ms)
||rdata 7ms iter 44ms (frame 259ms)|rdata 7ms iter 42ms (frame 257ms)
|subdiv_mesh_final_only:|Average: 6.245944 FPS|Average: 6.289000 FPS
||rdata 3ms iter 23ms (frame 153ms)|rdata 3ms iter 21ms (frame 154ms)
|subdiv_mesh_final_only_ledge:|Average: 6.263482 FPS|Average: 6.187218 FPS
||rdata 3ms iter 23ms (frame 156ms)|rdata 3ms iter 22ms (frame 154ms)

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D11527
June 21, 2021, 14:31 (GMT)
Fix: wrong size check

This fixes a bad mistake by myself. Thanks Lukas T�nne for telling me.
June 21, 2021, 14:31 (GMT)
Fix: Sequencer backdrop not updated during playback.

Caused by recent optimization in {7b76a160a4}.
June 21, 2021, 14:31 (GMT)
Fix missing normal update in edit-mesh blend-from shape operator
June 21, 2021, 14:31 (GMT)
Fix outdated face tessellation use when editing edit-mesh coodinates
June 21, 2021, 14:31 (GMT)
Cleanup: correct incomplete comment
June 21, 2021, 14:31 (GMT)
Cleanup: unused argument & variable warnings
June 21, 2021, 14:31 (GMT)
Cleanup: use doxygen comments for DNA_color_types

Also use enum instead of defines for Scopes.wavefrm_mode
June 21, 2021, 14:31 (GMT)
Screen: clear runtime structures on file-read & data-copy

Clear the runtime data structs instead of individual members,
this simplifies adding new runtime members as there are at least
two places they would need to be cleared.

Resolves error in D8883.
June 21, 2021, 14:31 (GMT)
Geometry Nodes: Join dynamic curve attributes in the join geometry node

This commit lets the join geometry node transfer dynamic attributes
to the result, the same way that point cloud and mesh attributes are
joined. The implementation is different though, because of an
optimization implemented for curves to avoid copying splines.

The result attribute is added with the highest priority domain (points
over splines), and the highest complexity data type. If one curve had
the attribute on the spline domain but not others, the point domain
values will be used.

Generally this is a bit lower level than I would have liked this code
to be, but should be efficient, and it's really not too complicated.

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