Blender Git Commits

Blender Git commits from all branches.

Page: 110 / 2888

September 6, 2021, 11:56 (GMT)
Cycles X: tweak adaptive sampling threshold

* Fix incorrect handling of samples in adaptive sampling threshold. The previous
formula relied on number of samples cancelling out, but this was not the case.
* Base automatic min samples on the adaptive threshold instead of number of samples,
since we now consider that the main setting to tweak.

Note this changes noise levels in existing renders and requires thresholds to be
tweaked again.

I could not find a significant upside or downsides in scenes when comparing equal
render times. Mainly what this seems to do is make different scenes behave more
consistently with the same noise threshold.

Differential Revision: https://developer.blender.org/D12395
September 6, 2021, 11:56 (GMT)
Cycles X: sampling settings update

* Separate adaptive sampling settings for viewport and final render
* Enable adaptive sampling and denoising by default
* Move denoiser prefilter and pass settings to scene
* Remove square samples option
* Reorganize UI
* Add separate viewport and final render presets

Ref T90805

Differential Revision: https://developer.blender.org/D12384
September 6, 2021, 11:35 (GMT)
more comments
September 6, 2021, 11:24 (GMT)
cleanup
September 6, 2021, 10:55 (GMT)
Merge branch 'master' into temp-geometry-nodes-fields
September 6, 2021, 10:53 (GMT)
cleanup
September 6, 2021, 10:47 (GMT)
Cycles PMJ adaptive sampling working poorly with many bounces for Cycles-X

This fixes T79190
Problem:
The is correlation at the edges of the image tiles due to using the same hash twice with and xor. Also the PMJ sampling pattern when used with xor scrambling does not generate a good sample set which is causing the rays to not sample the higher dimensions correctly.
Solution:
Use a different pixel hash to avoid clashes with hash used during path tracing. Also, uses Cranley-Patterson rotation (which matches the Sobol sampling scheme) with the PMJ sampling scheme instead of using xor scrambling which was resulting in a bad sample set. The number of samples drawable from the PMJ sampler is also increased by using all the PMJ sample sets instead of just one.
Issues:
The new samples produce images with more noise than the original PMJ sets and also the Sobol sets. This unfortunately is not avoidable as the nature of jitter sampling produces more noise as there is little correlation between sample sets. To alleviate this to some extent the Cranley-Patterson rotation method from the Sobol sample generate is used as it has some degree of correlation due to the simple hash used.

Reviewed By: brecht, sergey, LazyDodo

Maniphest Tasks: T79190

Differential Revision: https://developer.blender.org/D12213
September 6, 2021, 10:06 (GMT)
Removed adaptive mode and added bezier/poly modes
September 6, 2021, 10:05 (GMT)
rename Freeze to Capture
September 6, 2021, 09:45 (GMT)
cleanup
September 6, 2021, 08:58 (GMT)
cleanup FieldNode
September 6, 2021, 08:58 (GMT)
Merge branch 'master' into studio-sprite-fright
September 6, 2021, 08:40 (GMT)
Merge branch 'master' into soc-2021-curve-fillet
September 6, 2021, 08:31 (GMT)
Merge branch 'master' into temp-geometry-nodes-fields
September 6, 2021, 07:37 (GMT)
Fix T91159: GPencil Smooth brush is using Affect Pressure but not used

The parameter wa sin the UI but was not used because it was replaced by Use Thickness.
September 6, 2021, 07:36 (GMT)
Fix T88433: no greaspencil depsgraph evaluation with certain drivers

When the same stroke was used as a driver variable, this could make this
stroke already tagged as built in the course of building driver
variables (via `build_gpencil`), but then important stuff from
`build_object_data_geometry_datablock` could be missed later on (because
both of these funtions use `checkIsBuiltAndTag`). Most importantly,
setting up operations such as GEOMETRY_EVAL would be skipped entirely.

`build_object_data_geometry_datablock` seems to cover greasepencil just
fine (does the same as `build_gpencil` and more). Proposed solution is to
remove `build_gpencil` entirely. In `build_id` it would then also call
`build_object_data_geometry_datablock` for `ID_GD` IDs. Now the covered
types that _call_ `build_object_data_geometry_datablock` match exactly
to what is covered _inside_ `build_object_data_geometry_datablock`.

Think this "duplication" of functionality was just overseen in
rB66da2f537ae8 [`build_gpencil` existed long before and said commit made
greasepencil a real object with geometry and such].

thx @JacquesLucke for additional input!

Maniphest Tasks: T88433

Differential Revision: https://developer.blender.org/D12324
September 6, 2021, 07:36 (GMT)
Fix T91060: GPencil Time Offset Modifier breaks evaluation time

Caused by {rBf3bf87e5887c}.

When using a GPencil Time Offset Modifier, the bGPDlayer>actframe can be
NULL. This can be determined though, but above optimization commit
skipped getting the active frame in this case entirely (with the
intention to only get it if framenumbers did not match).

Now also call BKE_gpencil_layer_frame_get() if actframe is NULL in order
to fetch a valid one if present.

Maniphest Tasks: T91060

Differential Revision: https://developer.blender.org/D12355
September 6, 2021, 07:35 (GMT)
Fix T88887: Audio causes issues with Playback when PC put to Sleep, Hibernate or when Screensaver appears

Porting WASAPI device reinitialization from upstream.
September 6, 2021, 07:34 (GMT)
Fix error scaling thumbnails to zero dimensions

Follow up to fix for T89868.
September 6, 2021, 07:33 (GMT)
Fix T88909: Win32 getTitle() UTF8 Support

In the Win32 platform our setTitle() can properly assign a Unicode
utf-8 window title. Unfortunately our getTitle() will only read regular
8-bit character strings. This means that we can never compare what we
set to what we get. This patch updates getTitle() to use Unicode-aware
GetWindowTextLengthW and GetWindowTextW.

see T88909 for an example of this affecting user experience.

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

Reviewed by Ray Molenkamp
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021