Blender Git Loki

Kaikki Blender Git kommitit.

Page: 835 / 8462

Revision 8ab6450 by Hans Goudey (master)
March 13, 2021, 16:39 (GMT)
Fix geometry nodes implicit conversion to booleans reversed

The result value should be true if the input values are not zero.
Note that there is ongoing conversation about these conversions
in D10685. This is simply a fix though.
March 13, 2021, 14:14 (GMT)
Merge branch 'master' into geometry-nodes-mesh-primitives
March 13, 2021, 14:05 (GMT)
Fix "has properties" check
March 13, 2021, 14:04 (GMT)
Merge branch 'master' into refactor-idprop-ui-data
March 13, 2021, 14:03 (GMT)
Compositor: Add Anti-Aliasing node

This is an implementation of Enhanced Subpixel Morphological Antialiasing (SMAA)

The algorithm was proposed by:

Jorge Jimenez, Jose I. Echevarria, Tiago Sousa, Diego Gutierrez
Homepage URL:

http://www.iryoku.com/smaa/
This node provides only SMAA 1x mode, so the operation will be done with no spatial multisampling nor temporal supersampling.

Here is a comparison between existing antialiasing (Scale3x, imported from GIMP) and the Anti-Aliasing Node (SMAA 1x):

SMAA 1x produces much higher quality results than Scale3x.
The existing AA operation seems to be used only for binary images by some other nodes. Using SMAA for binary images needs no important parameter such as "threshold", so we perhaps can switch the operation to SMAA, though that changes existing behavior.

Currently, the node has 3 options:

threshold
local contrast adaptation factor
corner rounding
Please refer to devtalk thread for discussion about interface: https://devtalk.blender.org/t/compositor-anti-aliasing-node-d2411/17570

Example: Using Anti-Aliasing Node as an alternative of OLM smoother that is widely used in Japanese animation studios:

Notes:

The program code assumes the screen coordinates are DirectX style that the vertical direction is upside-down, so "top" and "bottom" actually represent bottom and top, respectively
smaa_areatex.cpp is a stand-alone software I [Shinsuke Irie] wrote for another project, so its copyright is still owned by me and under MIT-style license, see https://github.com/iRi-E/smaa-cpp
Unfortunately, this patch doesn't include OpenCL support (I'm not familiar with it...), though SMAA is not so slow
Tested on macOS 11.2.1
March 13, 2021, 13:27 (GMT)
LineArt: Comment grammar and clarity fixes in lineart_chain.c
March 13, 2021, 12:45 (GMT)
GPencil: Add delete curve/curve points
March 13, 2021, 12:39 (GMT)
LineArt: Add back fuzzy chaining option in the UI.
March 13, 2021, 12:30 (GMT)
Merge branch 'master' into temp-gpencil-io
March 13, 2021, 12:30 (GMT)
Merge branch 'master' into greasepencil-object
March 13, 2021, 11:32 (GMT)
GPencil: Duplicate curves
March 13, 2021, 01:49 (GMT)
LineArt: Comment ending style fix.
March 13, 2021, 01:43 (GMT)
LineArt: Clean up the comments.
March 13, 2021, 01:00 (GMT)
Merge remote-tracking branch 'origin/master' into temp-lineart-contained
March 13, 2021, 00:59 (GMT)
CLOG: add support for substring matching.

So that `--log "*undo*"` matches any log identifier containing `undo`.

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D10647
March 13, 2021, 00:59 (GMT)
Fix heap buffer overflow appending/linking from a blend file

Add new function `blo_bhead_is_id_valid_type()` to correctly check the
blend file block type.

File block type codes have four bytes, and two of those are only in use
when these blocks contain ID datablocks (like `"OB "`). However,
there are other types defined in `BLO_blend_defs.h` that have four
bytes, like `TEST`, `ENDB`, etc.

The function `BKE_idtype_idcode_is_valid(short idcode)` was used to
check for ID datablocks while reading a blend file. This only takes a
2-byte parameter, and thus its result is invalid for the 4-byte codes.
For `TEST` blocks, it would actually consider it a `TE` block, which is
a valid identifier for a Texture. This caused the heap buffer overflow,
as the datablock is not a valid ID, and thus the bytes that were
expected to form an ID name actually encode something completely
different.

Reviewed By: mont29

Differential Revision: https://developer.blender.org/D10703
March 13, 2021, 00:59 (GMT)
Fix T82532: Sculpt fails to redo the first sculpt session stroke

Sculpt undo relied on having a mode-changing undo step to properly
apply changes.

However this isn't the case with startup files or when mixing
global undo steps with sculpt (see T82851, also fixed).

Undo stepping logic follows image_undosys_step_decode_undo.
March 13, 2021, 00:59 (GMT)
Fix another crash in LibOverride resync code.

Another case where newly overridden ID (stored in `newid` of its linked
reference) gets immediately deleted in old broken overrides.

Re T86501.
March 13, 2021, 00:59 (GMT)
Fix compiler warning when building Cycles without Embree
March 13, 2021, 00:59 (GMT)
Cleanup: fix clang-tidy errors when COM_debug is active.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021