From 8f78895231c095aca71a8b7f79408be16dc003a7 Mon Sep 17 00:00:00 2001 From: Rodney Date: Jun 24 2021 11:25:36 +0000 Subject: Merge pull request #3991 from shun-iwasawa/g/iwa_bokeh_advancedfx New Fx: Bokeh Advanced Iwa (and Bokeh Fxs overhaul) --- diff --git a/stuff/config/current.txt b/stuff/config/current.txt index 6da2821..3039acb 100644 --- a/stuff/config/current.txt +++ b/stuff/config/current.txt @@ -1284,21 +1284,16 @@ "STD_iwa_BokehFx.on_focus_distance" "On-Focus Distance" "STD_iwa_BokehFx.bokeh_amount" "Bokeh Amount" "STD_iwa_BokehFx.hardness" "Hardness" - "STD_iwa_BokehFx.premultiply1" "Layer1 Premultiply" - "STD_iwa_BokehFx.distance1" "Layer1 Distance" - "STD_iwa_BokehFx.bokeh_adjustment1" "Layer1 Bokeh Adjustment" - "STD_iwa_BokehFx.premultiply2" "Layer2 Premultiply" - "STD_iwa_BokehFx.distance2" "Layer2 Distance" - "STD_iwa_BokehFx.bokeh_adjustment2" "Layer2 Bokeh Adjustment" - "STD_iwa_BokehFx.premultiply3" "Layer3 Premultiply" - "STD_iwa_BokehFx.distance3" "Layer3 Distance" - "STD_iwa_BokehFx.bokeh_adjustment3" "Layer3 Bokeh Adjustment" - "STD_iwa_BokehFx.premultiply4" "Layer4 Premultiply" - "STD_iwa_BokehFx.distance4" "Layer4 Distance" - "STD_iwa_BokehFx.bokeh_adjustment4" "Layer4 Bokeh Adjustment" - "STD_iwa_BokehFx.premultiply5" "Layer5 Premultiply" - "STD_iwa_BokehFx.distance5" "Layer5 Distance" - "STD_iwa_BokehFx.bokeh_adjustment5" "Layer5 Bokeh Adjustment" + "STD_iwa_BokehFx.distance1" "Source1 Distance" + "STD_iwa_BokehFx.bokeh_adjustment1" "Source1 Bokeh Adjustment" + "STD_iwa_BokehFx.distance2" "Source2 Distance" + "STD_iwa_BokehFx.bokeh_adjustment2" "Source2 Bokeh Adjustment" + "STD_iwa_BokehFx.distance3" "Source3 Distance" + "STD_iwa_BokehFx.bokeh_adjustment3" "Source3 Bokeh Adjustment" + "STD_iwa_BokehFx.distance4" "Source4 Distance" + "STD_iwa_BokehFx.bokeh_adjustment4" "Source4 Bokeh Adjustment" + "STD_iwa_BokehFx.distance5" "Source5 Distance" + "STD_iwa_BokehFx.bokeh_adjustment5" "Source5 Bokeh Adjustment" "STD_iwa_BokehRefFx" "Bokeh Ref Iwa" "STD_iwa_BokehRefFx.on_focus_distance" "On-Focus Distance" @@ -1308,6 +1303,42 @@ "STD_iwa_BokehRefFx.fill_gap" "Fill Gap" "STD_iwa_BokehRefFx.fill_gap_with_median_filter" "Use Median Filter" + "STD_iwa_BokehAdvancedFx" "Bokeh Advanced Iwa" + "STD_iwa_BokehAdvancedFx.on_focus_distance" "On-Focus Distance" + "STD_iwa_BokehAdvancedFx.bokeh_amount" "Bokeh Amount" + "STD_iwa_BokehAdvancedFx.masterHardness" "Master Hardness" + "STD_iwa_BokehAdvancedFx.hardnessPerSource" "Hardness per Source" + + "STD_iwa_BokehAdvancedFx.distance1" "Source1 Distance" + "STD_iwa_BokehAdvancedFx.bokeh_adjustment1" "Source1 Bokeh Adjustment" + "STD_iwa_BokehAdvancedFx.hardness1" "Source1 Hardness" + "STD_iwa_BokehAdvancedFx.depth_ref1" "Depth Image" + "STD_iwa_BokehAdvancedFx.depthRange1" "Source1 Depth Range" + + "STD_iwa_BokehAdvancedFx.distance2" "Source2 Distance" + "STD_iwa_BokehAdvancedFx.bokeh_adjustment2" "Source2 Bokeh Adjustment" + "STD_iwa_BokehAdvancedFx.hardness2" "Source2 Hardness" + "STD_iwa_BokehAdvancedFx.depth_ref2" "Depth Image" + "STD_iwa_BokehAdvancedFx.depthRange2" "Source2 Depth Range" + + "STD_iwa_BokehAdvancedFx.distance3" "Source3 Distance" + "STD_iwa_BokehAdvancedFx.bokeh_adjustment3" "Source3 Bokeh Adjustment" + "STD_iwa_BokehAdvancedFx.hardness3" "Source3 Hardness" + "STD_iwa_BokehAdvancedFx.depth_ref3" "Depth Image" + "STD_iwa_BokehAdvancedFx.depthRange3" "Source3 Depth Range" + + "STD_iwa_BokehAdvancedFx.distance4" "Source4 Distance" + "STD_iwa_BokehAdvancedFx.bokeh_adjustment4" "Source4 Bokeh Adjustment" + "STD_iwa_BokehAdvancedFx.hardness4" "Source4 Hardness" + "STD_iwa_BokehAdvancedFx.depth_ref4" "Depth Image" + "STD_iwa_BokehAdvancedFx.depthRange4" "Source4 Depth Range" + + "STD_iwa_BokehAdvancedFx.distance5" "Source5 Distance" + "STD_iwa_BokehAdvancedFx.bokeh_adjustment5" "Source5 Bokeh Adjustment" + "STD_iwa_BokehAdvancedFx.hardness5" "Source5 Hardness" + "STD_iwa_BokehAdvancedFx.depth_ref5" "Depth Image" + "STD_iwa_BokehAdvancedFx.depthRange5" "Source5 Depth Range" + "STD_iwa_TimeCodeFx" "TimeCode Iwa" "STD_iwa_TimeCodeFx.displayType" "Display Type" "STD_iwa_TimeCodeFx.frameRate" "Frame Rate" diff --git a/stuff/doc/BokehAdvancedIwa.html b/stuff/doc/BokehAdvancedIwa.html new file mode 100644 index 0000000..dbb4e43 --- /dev/null +++ b/stuff/doc/BokehAdvancedIwa.html @@ -0,0 +1,104 @@ + + + + Bokeh Advanced Iwa + + +

Bokeh Iwa

+ +

● Overview

+This effect reproduces a camera lens blur. The RGB values of each layer will be converted
+to exposure values, then blurred using the Iris shape, and finally composed together.
+Unlike the Bokeh Iwa Fx, this fx can use depth reference images +for dividing layer into several sub-layers within specified range of depth.
+Also, this fx can apply individual hardness value for each source for adjusting bokeh brightness.
+To achieve a faster processing time, a Fourier transformation is used to process the filter. + +

● Input Port

+ + +

● Parameters

+Common + +Sources + + +

● Notes

+ + +

● License Information

+ + +
+This is the BSD-style license for the KissFFT.
+
+Copyright (c) 2003-2010 Mark Borgerding
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that
+the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following
+disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
+following disclaimer in the documentation and/or other materials provided with the distribution.
+ * Neither the author nor the names of any contributors may be used to endorse or promote products derived
+from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
+SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
+OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +
+
+ + + \ No newline at end of file diff --git a/stuff/doc/BokehIwa.html b/stuff/doc/BokehIwa.html index b824316..6913ecd 100644 --- a/stuff/doc/BokehIwa.html +++ b/stuff/doc/BokehIwa.html @@ -34,10 +34,8 @@ exposure. This is equivalent to the increase in RGB value (0.0 to 1.0) when the increased 10 times. The lower the value, the more the highlights are emphasized.
(Range 0.05-3.0) -Layers +Sources

● Notes