Blender Git Loki

Kaikki Blender Git kommitit.

Page: 501 / 8462

June 29, 2021, 11:52 (GMT)
Changed ordering of drawing function in draw_seq_strip
June 29, 2021, 11:41 (GMT)
Merge remote-tracking branch 'origin/master' into temp-lineart-contained
June 29, 2021, 11:38 (GMT)
Improvements to edge panning in the node editor.

- New operator property to toggle edge panning in the keymap.
This is disabled by default to avoid edge-panning in cases where it
gets distracting, such as adding a new node. Only the explicit
translate operator(s) (GKEY or drag) have this enabled now.

- Restore the initial view rect on edge pan cancel.
The initial view rect is now stored in the edge pan operator data.
When an operator with edge panning is cancelled it can now call the
UI_view2d_edge_pan_cancel function to restore the original View2D
rect.

Differential Revision: https://developer.blender.org/D11736
June 29, 2021, 11:35 (GMT)
Merge branch 'master' into temp_bmesh_multires
June 29, 2021, 11:29 (GMT)
Restore the initial view rect on edge pan cancel.

The initial view rect is now stored in the edge pan operator data.
When an operator with edge panning is cancelled it can now call the
UI_view2d_edge_pan_cancel function to restore the original View2D rect.
June 29, 2021, 11:09 (GMT)
Cleanup: unused warnings
June 29, 2021, 11:09 (GMT)
Fix T89526: "Toggle Maximize Area" clears context screen properties

Removed in b787581c9cda5a0cd4bc8b03bbdd1f9832438db4 as it's comment
noted it was bad code, the reason for it's necessity was no longer valid.

Add this back with comment explaining why it's still needed.
Revision df7db41 by YimingWu (master)
June 29, 2021, 10:48 (GMT)
LineArt: Use separate sub panel for line types.

Reviewed By: Sebastian Parborg (zeddb)

Differential Revision: https://developer.blender.org/D11735
June 29, 2021, 10:23 (GMT)
Cleanup: use 'const' arguments in transform calculation

Use const arguments to simplify further optimizations.

Transforming elements shouldn't need to change their containers
data-structures.
ElementResize for grease pencil stroke thickness was
modifying TransInfo.num & TransInfo.values_final.

Now copies are operated on to preserve const correctness although
it's worth investigating if this can be avoided altogether.
June 29, 2021, 10:18 (GMT)
Transform operator flag to opt-in to edge panning.

This is disabled by default to avoid edge-panning in cases where it gets
distracting, such as adding a new node. Only the explicit translate
operator(s) (GKEY or drag) have this enabled now.
June 29, 2021, 10:13 (GMT)
Cleanup: clang-format
June 29, 2021, 10:12 (GMT)
Cleanup: spelling
June 29, 2021, 09:55 (GMT)
Cycles X: Move need-to-zero-render-buffers check to render scheduler

No functional changes, but localizes handling of the render buffers,
helping with the coming further development.
June 29, 2021, 09:55 (GMT)
Cycles X: Remove redundant field in path trace works

Render buffers are available via the base class, no need to duplicate
it in the derived classes.
June 29, 2021, 09:55 (GMT)
Cycles X: Initialize all fields of buffer params

Allows to rely on default constructor and follow-up call of
modified() without accessing non-initialized fields.
June 29, 2021, 09:55 (GMT)
Cycles X: Initial support of multi-GPU and GPU+CPU rendering

This change makes it possible to render single frame on multiple GPUs
and/or GPU(s)+CPU. (as configured in the User Preferences).

Work is split equally along the height of the big tile.
In the future this will be looked into to perform better initial guess
based on devices performance, dynamic re-scheduling, and interleaving
scanlines across devices.

The main idea is to move render buffers to per-work basis, so that the
ender buffers are always associated with the device work is being done
by. And then upon access delegate the read/write to the work, so that
it operates with a specific slice in the source/destination,

There are some multiple memory and performance improvements possible,
like:

- Copy render result to GPUDisplay from multiple threads (now when it
is clear graphics inetrop can not be mixed in with naive update).
- Avoid denoiser buffer re-allocation.
- Avoid creation of temporary buffers in the denoisers when we know
that we have a copy of real buffers.
- Only copy passes needed for denoiser, and results of denoiser.

The current state of the `PathTrace::denoise()` is not entirely ideal:
it could be split up, and memory usage could be improved. But think it
is good enough for the initial implementation. The further improvements
would require changes in the Denoiser API.

Differential Revision: https://developer.blender.org/D11727
June 29, 2021, 09:52 (GMT)
Fix Cycles X multi-device type generation

The info type can not be set to first device type because the device
might be ignored. So delay type assignment until we have a device which
is known to be used.

Fixes issue in viewport when OptiX+OptiX will be considered an OptiX
device with 2 sub-devices, and OptiX+OptiX+CPU will be considered a
Multi device. The issue with the latter one is that the info IDs in
both cases are the same, but not the type, making it a wrong comparison
in `DeviceInfo::operator==`.

Differential Revision: https://developer.blender.org/D11729
June 29, 2021, 09:28 (GMT)
LineArt: Back face culling.
June 29, 2021, 08:57 (GMT)
Merge remote-tracking branch 'origin/master' into temp-lineart-contained
June 29, 2021, 08:45 (GMT)
Merge branch 'master' into soc-2021-vse-strip-thumbnails
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021