Page MenuHome

Compositor: Full frame Bilateral Blur node
ClosedPublic

Authored by Manuel Castilla (manzanilla) on Jun 17 2021, 8:42 PM.

Details

Summary

Adds full frame implementation to this node operation.
No functional changes.

1.05x faster than tiled fallback.

Diff Detail

Repository
rB Blender
Branch
cmp-node-bilateral-blur (branched from master)
Build Status
Buildable 15360
Build 15360: arc lint + arc unit

Event Timeline

Manuel Castilla (manzanilla) requested review of this revision.Jun 17 2021, 8:42 PM
Manuel Castilla (manzanilla) created this revision.
Jeroen Bakker (jbakker) requested changes to this revision.Jun 21 2021, 11:06 AM
Jeroen Bakker (jbakker) added inline comments.
source/blender/compositor/operations/COM_BilateralBlurOperation.cc
158

Not for this patch. But do we want to keep quality steps? Think we should remove it in the new compositor... What do you think.

158

To many indents. Perhaps extract to a function to reduce its complexity.

This revision now requires changes to proceed.Jun 21 2021, 11:06 AM
  • Refactor method to reduce complexity
  • Merge branch 'master' into cmp-node-bilateral-blur
  • After merge fixes
Manuel Castilla (manzanilla) marked 2 inline comments as done.Jun 22 2021, 3:16 PM
Manuel Castilla (manzanilla) added inline comments.
source/blender/compositor/operations/COM_BilateralBlurOperation.cc
158

I think we need feedback from artists. Don't know if they find useful the edit and render quality settings and whether it's confusing that it only has effect on some nodes. Only blurs. We can keep it for the time being and once we see how much performance improves, we can decide better.

Manuel Castilla (manzanilla) marked an inline comment as done.EditedJun 22 2021, 3:42 PM

Add performance test to main post.

I only do performance tests to ensure no regressions.

It is unclear to me what the performance measurements are about?

source/blender/compositor/operations/COM_BilateralBlurOperation.cc
142

Add whiteline.

To compare with tiled implementation. Executes tiled implementation fallback and fullframe comparing both. I use this patch:

Manuel Castilla (manzanilla) marked an inline comment as done.Jun 22 2021, 3:59 PM
  • Merge branch 'master' into cmp-node-bilateral-blur
  • After merge fixes
  • Move output writing to blur_pixel. Makes more sense.
This revision is now accepted and ready to land.Jul 5 2021, 7:41 AM