Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 255 / 5574

June 1, 2021, 10:00 (GMT)
Cleanup: clang-tidy

* `readability-redundant-member-init`
* `readability-inconsistent-declaration-parameter-name`
* Remove constructor that can be defaulted.
June 1, 2021, 08:51 (GMT)
Compositor: Full-frame base system

This patch adds the base code needed to make the full-frame system work for both current tiled/per-pixel implementation of operations and full-frame.

Two execution models:
- Tiled: Current implementation. Renders execution groups in tiles from outputs to input. Not all operations are buffered. Runs the tiled/per-pixel implementation.
- FullFrame: All operations are buffered. Fully renders operations from inputs to outputs. Runs full-frame implementation of operations if available otherwise the current tiled/per-pixel. Creates output buffers on first read and free them as soon as all its readers have finished, reducing peak memory usage of complex/long trees. Operations are multi-threaded but do not run in parallel as Tiled (will be done in another patch).

This should allow us to convert operations to full-frame in small steps with the system already working and solve the problem of high memory usage.

FullFrame breaking changes respect Tiled system, mainly:
- Translate, Rotate, Scale, and Transform take effect immediately instead of next buffered operation.
- Any sampling is always done over inputs instead of last buffered operation.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D11113
June 1, 2021, 07:23 (GMT)
Cleanup: Split draw_cache_extract_mesh into multiple files.

draw_cache_extract_mesh for task scheduling. Will be refactored to draw_cache_extract_mesh_scheduling later on after migrating to CPP.

draw_cache_extract_mesh_render_data extraction of mesh render data from edit mesh/mesh into a more generic structure.

draw_cache_extract_mesh_extractors containing all the extractors. This will be split up further into a single file per extractor.
June 1, 2021, 05:30 (GMT)
Cleanup: split face tessellation into inline functions

Prepare for multiple code-paths that recalculate tessellation.
June 1, 2021, 04:04 (GMT)
Cleanup: split bmesh tessellation into it's own file

Prepare for further refactoring for these functions.
June 1, 2021, 03:26 (GMT)
Cleanup: remove disabled face tessellation logic

This was kept since these blocks are easier to follow.
Remove as the overall result wasn't so readable
(especially with nested ifdef's).

Replace disabled code with comment on the indices used for quads/tris.
June 1, 2021, 03:25 (GMT)
BMesh: remove checks for tessellating 2 sided faces

2 sided faces aren't supported and will cause problems in many areas
of Blender's code.

Removing (implied) support for faces with fewer than 3 sides
means the total number of triangles is known ahead of time.

This simplifies adding support for multi-threading and partial updates
to an existing tessellation - as the face and loop indices can be used
to access the range of triangles associated with a face.

Also correct outdated comments.
June 1, 2021, 02:50 (GMT)
Cleanup: correct sculpt quat argument size
June 1, 2021, 02:49 (GMT)
GPU: add 2D projection function

When projecting into screen space Z value isn't always needed.
Add 2D projection functions, renaming them to avoid accidents
happening again.

- Add GPU_matrix_project_2fv
- Add ED_view3d_project_v2
- Rename ED_view3d_project to ED_view3d_project_v3
- Use the 2D versions of these functions when the Z value isn't used.
June 1, 2021, 02:49 (GMT)
Fix buffer overrun in paint_line_strokes_spacing

Error in 87cafe92ce2f99d8da620b80e1c26f8078554f93
June 1, 2021, 02:49 (GMT)
Cleanup: spelling in comments
May 31, 2021, 23:45 (GMT)
Cleanup: spelling in comments
May 31, 2021, 23:19 (GMT)
Docs: Limit the OCIO env vars that we document

Brecht mentioned that these are a bit obscure and don't make much sense
to override these.
May 31, 2021, 21:03 (GMT)
Speedup exact boolean by avoiding some mallocs and frees.

This is from patch D11432 from Erik Abrahamsson. He found that
in some mpq3 functions called frequently from loops, passing in
buffers for termporary mpq3 values can save substantial time.
On my machine, his example in that patch went from 9.48s to 7.50s
for the boolean part of the calculation. On his machine, a running
time went from 17s to 10.3s.
May 31, 2021, 19:28 (GMT)
Fix undeclared identifiers with 'DEBUG_TIME'

These identifiers were accidentally removed in rB44d2479dc36f.
May 31, 2021, 17:23 (GMT)
Merge branch 'blender-v2.93-release'
May 31, 2021, 17:23 (GMT)
Cycles: optimize 3D viewport rendering with camera passepartout

If the area outside the camera is fully opaque, don't render it.

Contributed by Kdaf.

Differential Revision: https://developer.blender.org/D11182
May 31, 2021, 17:08 (GMT)
Cleanup: Replace fseek() calls with BLI_fseek()

The fseek() function on Windows only accepts a 32-bit long offset
argument. Because of this we have our own version, BLI_fseek(), which
will use 64-bit _fseeki64() on Windows. This patch just replaces some
fseek() calls with BLI_fseek().

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

Reviewed by Brecht Van Lommel
May 31, 2021, 16:58 (GMT)
Update all README to clearify intention or usage
Add snap configuration file used by Buildbot snap store steps1
May 31, 2021, 16:22 (GMT)
Display source video fps in the VSE

Now FPS is displayed in the video source for videos to provide easy
access.

Reviewed By: Richard Antalik

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