http://www.miikahweb.com/feed.php MiikaHweb - Blender Commits By Zazizizou http://www.miikahweb.com/ MiikaHweb - Blender Commits By Zazizizou fi Thu, 06 May 21 13:01:24 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[805d947] master: Compositor: Add Anti-Aliasing node]]> http://www.miikahweb.com/en/blender/git-logs/commit/805d9478109e76ca221f202ff152bae685f77ff4 805d947
Branches : master
Author : Habib Gahbiche (zazizizou)
Committed By : Jeroen Bakker (jbakker)
----------------------------------------
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

This node provides only SMAA 1x mode, so the operation will be done with no spatial
multisampling nor temporal supersampling. See Patch for comparisons.

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.

Notes:
1. 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.

Thanks for Habib Gahbiche (zazizizou) to polish and finalize this patch.

Reviewed By: jbakker

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

----------------------------------------
22 Paths Changed]]>
Mon, 29 Mar 2021 05:56:58 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/805d9478109e76ca221f202ff152bae685f77ff4Habib Gahbiche
<![CDATA[[15e3afb] compositor-anti-aliasing: Cleanup Compositor AA: remove redundant initialization]]> http://www.miikahweb.com/en/blender/git-logs/commit/15e3afb2b03f456d501bbe4c9d2d59e05ec61cbf 15e3afb
Branches : compositor-anti-aliasing
Author : Habib Gahbiche (zazizizou)
----------------------------------------
Cleanup Compositor AA: remove redundant initialization

----------------------------------------
1 Path Changed]]>
Sat, 27 Mar 2021 13:38:09 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/15e3afb2b03f456d501bbe4c9d2d59e05ec61cbfHabib Gahbiche
<![CDATA[[d0349ad] compositor-anti-aliasing: Cleanup: use one class for edge detection in Anti-Aliasing...]]> http://www.miikahweb.com/en/blender/git-logs/commit/d0349adc2e7cb90ce33da68787b3b124b0117cdd d0349ad
Branches : compositor-anti-aliasing
Author : Habib Gahbiche (zazizizou)
----------------------------------------
Cleanup: use one class for edge detection in Anti-Aliasing node

----------------------------------------
3 Paths Changed]]>
Sat, 27 Mar 2021 13:21:52 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/d0349adc2e7cb90ce33da68787b3b124b0117cddHabib Gahbiche
<![CDATA[[3347fa7] compositor-anti-aliasing: Merge remote-tracking branch 'origin' into compositor-anti-...]]> http://www.miikahweb.com/en/blender/git-logs/commit/3347fa72e2b99f3299604821d793dcec78e65158 3347fa7
Branches : compositor-anti-aliasing
Author : Habib Gahbiche (zazizizou)
----------------------------------------
Merge remote-tracking branch 'origin' into compositor-anti-aliasing

----------------------------------------
0 Paths Changed]]>
Sat, 27 Mar 2021 11:59:08 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/3347fa72e2b99f3299604821d793dcec78e65158Habib Gahbiche
<![CDATA[[c4ab189] master: Automated testing: selection operators test cases]]> http://www.miikahweb.com/en/blender/git-logs/commit/c4ab1891ccc5ecca876e48dcd1a509ebfd60a427 c4ab189
Branches : master
Author : Habib Gahbiche (zazizizou)
----------------------------------------
Automated testing: selection operators test cases

added 22 more test cases for following operators:
- edges select sharp
- loop multi select
- select all
- select faces by sides
- select interior faces
- select less
- select linked

{F9853218}

Reviewed By: calra, mont29

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

----------------------------------------
1 Path Changed]]>
Sat, 27 Mar 2021 08:48:54 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/c4ab1891ccc5ecca876e48dcd1a509ebfd60a427Habib Gahbiche
<![CDATA[[252c87b] master: Compositor automated testing]]> http://www.miikahweb.com/en/blender/git-logs/commit/252c87b9e87242a85a644da25edc739cf247d322 252c87b
Branches : master
Author : Habib Gahbiche (zazizizou)
Committed By : Jeroen Bakker (jbakker)
----------------------------------------
Compositor automated testing

Added support for compositor tests. Compositor tests can be added, executed and viewed in a similar way to cycles
and other render engines tests.

Running test:
`ctest -R compositor`

Updating test:
`BLENDER_TEST_UPDATE=1 ctest -R compositor`

Viewing test results:
typically saved under `build_folder/tests/compositor/report.html`

Reviewed By: jbakker

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

----------------------------------------
3 Paths Changed]]>
Fri, 26 Mar 2021 15:15:02 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/252c87b9e87242a85a644da25edc739cf247d322Habib Gahbiche
<![CDATA[[a08967c] compositor-anti-aliasing: Merge remote-tracking branch 'origin' into compositor-anti-...]]> http://www.miikahweb.com/en/blender/git-logs/commit/a08967c45858fccec795cd4da8cb5b144c1ff781 a08967c
Branches : compositor-anti-aliasing
Author : Habib Gahbiche (zazizizou)
----------------------------------------
Merge remote-tracking branch 'origin' into compositor-anti-aliasing

Conflicts:
source/blender/blenlib/intern/math_base_inline.c

----------------------------------------
0 Paths Changed]]>
Sat, 20 Mar 2021 12:53:08 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a08967c45858fccec795cd4da8cb5b144c1ff781Habib Gahbiche
<![CDATA[[608c027] compositor-anti-aliasing: Cleanup: replace NULL with nullptr - use brackets around if]]> http://www.miikahweb.com/en/blender/git-logs/commit/608c0276192fb135c1727b4445f8aae097b6dfb7 608c027
Branches : compositor-anti-aliasing
Author : Habib Gahbiche (zazizizou)
----------------------------------------
Cleanup: replace NULL with nullptr - use brackets around if

----------------------------------------
2 Paths Changed]]>
Sat, 20 Mar 2021 12:12:19 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/608c0276192fb135c1727b4445f8aae097b6dfb7Habib Gahbiche
<![CDATA[[590fc03] compositor-anti-aliasing: Merge remote-tracking branch 'origin' into compositor-anti-...]]> http://www.miikahweb.com/en/blender/git-logs/commit/590fc0341b49d69549add53d969de7ed20e40074 590fc03
Branches : compositor-anti-aliasing
Author : Habib Gahbiche (zazizizou)
----------------------------------------
Merge remote-tracking branch 'origin' into compositor-anti-aliasing

----------------------------------------
0 Paths Changed]]>
Tue, 16 Mar 2021 21:09:50 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/590fc0341b49d69549add53d969de7ed20e40074Habib Gahbiche
<![CDATA[[b7394ee] compositor-anti-aliasing: Compositor Anti-Aliasing: addressed comments from code review...]]> http://www.miikahweb.com/en/blender/git-logs/commit/b7394eeadacafba8bef5dd12741cba133209d270 b7394ee
Branches : compositor-anti-aliasing
Author : Habib Gahbiche (zazizizou)
----------------------------------------
Compositor Anti-Aliasing: addressed comments from code review

- Made node slightly larger to make text fit
- Renamed "Local Contrast Adaptation Factor" to "Contrast Limit"
- Removed unused enum
- Style: added brackets around if
- Style: Ran make format (excluded changes from unrelated files)

----------------------------------------
10 Paths Changed]]>
Tue, 16 Mar 2021 21:05:30 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/b7394eeadacafba8bef5dd12741cba133209d270Habib Gahbiche
<![CDATA[[1992608] compositor-anti-aliasing: Merge remote-tracking branch 'origin' into compositor-anti-...]]> http://www.miikahweb.com/en/blender/git-logs/commit/19926086d1ab3279523e64a7a65b4ea5ad79814e 1992608
Branches : compositor-anti-aliasing
Author : Habib Gahbiche (zazizizou)
----------------------------------------
Merge remote-tracking branch 'origin' into compositor-anti-aliasing

----------------------------------------
0 Paths Changed]]>
Sun, 14 Mar 2021 16:20:21 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/19926086d1ab3279523e64a7a65b4ea5ad79814eHabib Gahbiche
<![CDATA[[e6d7758] compositor-anti-aliasing: Cleanup: Compositor anti-aliasing: rename and delete unused...]]> http://www.miikahweb.com/en/blender/git-logs/commit/e6d77587e333f501ee153f57de5175130b6e817f e6d7758
Branches : compositor-anti-aliasing
Author : Habib Gahbiche (zazizizou)
----------------------------------------
Cleanup: Compositor anti-aliasing: rename and delete unused variables

----------------------------------------
7 Paths Changed]]>
Sun, 14 Mar 2021 16:18:03 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/e6d77587e333f501ee153f57de5175130b6e817fHabib Gahbiche
<![CDATA[[d270a43] compositor-anti-aliasing: Compositor anti-aliasing: map values between 0 and 1]]> http://www.miikahweb.com/en/blender/git-logs/commit/d270a43984c568ea7f7e7dc860bb69b4aadd6e74 d270a43
Branches : compositor-anti-aliasing
Author : Habib Gahbiche (zazizizou)
----------------------------------------
Compositor anti-aliasing: map values between 0 and 1

expose values in ranges between 0 and 1 to user

----------------------------------------
9 Paths Changed]]>
Sat, 13 Mar 2021 21:13:20 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/d270a43984c568ea7f7e7dc860bb69b4aadd6e74Habib Gahbiche
<![CDATA[[1b68b3f] compositor-anti-aliasing: Compositor: Add Anti-Aliasing node]]> http://www.miikahweb.com/en/blender/git-logs/commit/1b68b3fbb6e1e7a85edeaa56aa50b7d3e296cb65 1b68b3f
Branches : compositor-anti-aliasing
Author : Habib Gahbiche (zazizizou)
----------------------------------------
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

----------------------------------------
21 Paths Changed]]>
Sat, 13 Mar 2021 14:03:13 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/1b68b3fbb6e1e7a85edeaa56aa50b7d3e296cb65Habib Gahbiche
<![CDATA[[42eb43a] : Merge branch 'compositor-anti-aliasing' of git.blender.org:...]]> http://www.miikahweb.com/en/blender/git-logs/commit/42eb43aa96289a907a73dbba90d0ec2caf1a4580 42eb43a
Author : Habib Gahbiche (zazizizou)
----------------------------------------
Merge branch 'compositor-anti-aliasing' of git.blender.org:blender into compositor-anti-aliasing

----------------------------------------
0 Paths Changed]]>
Sun, 28 Feb 2021 16:31:59 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/42eb43aa96289a907a73dbba90d0ec2caf1a4580Habib Gahbiche
<![CDATA[[bcc66a9] : Revert "Improve Purge operator." and Refactor: IDTypeInfo:...]]> http://www.miikahweb.com/en/blender/git-logs/commit/bcc66a9e9e9455b5ee5bfcbc06b80b3e2fae79d5 bcc66a9
Author : Habib Gahbiche (zazizizou)
----------------------------------------
Revert "Improve Purge operator." and Refactor: IDTypeInfo: Add `owner_get` to get owner of embedded IDs.

This reverts commit 2718ea80d26274464051c50bb12fb82c4a6571ea.

----------------------------------------
49 Paths Changed]]>
Sun, 28 Feb 2021 15:34:00 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/bcc66a9e9e9455b5ee5bfcbc06b80b3e2fae79d5Habib Gahbiche
<![CDATA[[87b4dec] : Compositor anti-aliasing: map values between 0 and 1]]> http://www.miikahweb.com/en/blender/git-logs/commit/87b4dec2823bd515de797be77be8ea81aa6d099e 87b4dec
Author : Habib Gahbiche (zazizizou)
----------------------------------------
Compositor anti-aliasing: map values between 0 and 1

expose values in ranges between 0 and 1 to user

----------------------------------------
5 Paths Changed]]>
Sun, 28 Feb 2021 11:21:48 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/87b4dec2823bd515de797be77be8ea81aa6d099eHabib Gahbiche
<![CDATA[[a83b616] : Compositor: Add Anti-Aliasing node]]> http://www.miikahweb.com/en/blender/git-logs/commit/a83b6160257a013f5d23fd2de7682f5e044fe1d4 a83b616
Author : Habib Gahbiche (zazizizou)
----------------------------------------
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

----------------------------------------
21 Paths Changed]]>
Sun, 28 Feb 2021 11:21:48 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a83b6160257a013f5d23fd2de7682f5e044fe1d4Habib Gahbiche
<![CDATA[[b36ab18] : Compositor: Add Anti-Aliasing node]]> http://www.miikahweb.com/en/blender/git-logs/commit/b36ab1892b3607dcab77ad943e2a52f20ce286fa b36ab18
Author : Habib Gahbiche (zazizizou)
----------------------------------------
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

----------------------------------------
21 Paths Changed]]>
Sat, 20 Feb 2021 09:42:36 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/b36ab1892b3607dcab77ad943e2a52f20ce286faHabib Gahbiche
<![CDATA[[f1dc48e] pygpu_extensions: Mesh automated testing: compare selection]]> http://www.miikahweb.com/en/blender/git-logs/commit/f1dc48e122647970fd490157ff8f54b74807c586 f1dc48e
Branches : pygpu_extensions
Author : Habib Gahbiche (zazizizou)
Committed By : Germano Cavalcante (mano-wii)
----------------------------------------
Mesh automated testing: compare selection

MeshTest now compares selection between evaluated mesh and expected mesh. This way, we can test more operators
such as `faces_select_linked_flat`

Note: selection comparison intentionally does not happen in BKE_mesh_cmp() on C side but rather on Python side, because
selection is independent of mesh generation.

Reviewed By: calra, mont29

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

----------------------------------------
2 Paths Changed]]>
Fri, 12 Feb 2021 15:11:57 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/f1dc48e122647970fd490157ff8f54b74807c586Habib Gahbiche