summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <Sam@ACER-SUSE.site>2007-08-02 17:38:57 +0800
committerSam Spilsbury <Sam@ACER-SUSE.site>2007-08-02 17:38:57 +0800
commitb0ff67697027613f23aff386f13bf53696552944 (patch)
tree27b4ab0591b1bdb0cd6ee8446fac42080ad7987f
parentc886581078d91ed8dd0a467438daa78245f13eb9 (diff)
downloadcolorfilters-master.tar.gz
colorfilters-master.tar.bz2
Added some more filters. Thanks Fluxid!HEADmaster
-rw-r--r--FluxID's Filters/DISCLAIMER4
-rw-r--r--FluxID's Filters/DISCLAIMER~0
-rw-r--r--FluxID's Filters/Test.pngbin0 -> 119461 bytes
-rw-r--r--FluxID's Filters/YPbPr-chrominance228
-rw-r--r--FluxID's Filters/YPbPr-luminance29
-rw-r--r--FluxID's Filters/alpha-fullopacity6
-rw-r--r--FluxID's Filters/alpha-showmask7
-rw-r--r--FluxID's Filters/blue-gray6
-rw-r--r--FluxID's Filters/blue-null6
-rw-r--r--FluxID's Filters/blue-only6
-rw-r--r--FluxID's Filters/desaturate9
-rw-r--r--FluxID's Filters/green-gray6
-rw-r--r--FluxID's Filters/green-null6
-rw-r--r--FluxID's Filters/green-only6
-rw-r--r--FluxID's Filters/hicontrast7
-rw-r--r--FluxID's Filters/hue16
-rw-r--r--FluxID's Filters/locontrast7
-rw-r--r--FluxID's Filters/neutrals-alpha15
-rw-r--r--FluxID's Filters/neutrals-black10
-rw-r--r--FluxID's Filters/neutrals-white11
-rw-r--r--FluxID's Filters/psycho7
-rw-r--r--FluxID's Filters/red-gray6
-rw-r--r--FluxID's Filters/red-null6
-rw-r--r--FluxID's Filters/red-only6
-rw-r--r--dummy1
-rw-r--r--only-blue6
-rw-r--r--only-blue~0
-rw-r--r--only-green6
-rw-r--r--only-green~0
-rw-r--r--only-red6
-rw-r--r--only-red~0
31 files changed, 208 insertions, 1 deletions
diff --git a/FluxID's Filters/DISCLAIMER b/FluxID's Filters/DISCLAIMER
new file mode 100644
index 0000000..e86356d
--- /dev/null
+++ b/FluxID's Filters/DISCLAIMER
@@ -0,0 +1,4 @@
+NOTICE : I, (SmSpillaz), owns none of this work. All these filters were done by Fluxid. he original forum post can be found here: http://forums.opencompositing.org/viewtopic.php?f=18&t=1681&p=11536#p11536
+I have only hosted this work to make it easier to access and package. I hope it is of some use.
+
+-SmSpillaz
diff --git a/FluxID's Filters/DISCLAIMER~ b/FluxID's Filters/DISCLAIMER~
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/FluxID's Filters/DISCLAIMER~
diff --git a/FluxID's Filters/Test.png b/FluxID's Filters/Test.png
new file mode 100644
index 0000000..ccb6ba1
--- /dev/null
+++ b/FluxID's Filters/Test.png
Binary files differ
diff --git a/FluxID's Filters/YPbPr-chrominance2 b/FluxID's Filters/YPbPr-chrominance2
new file mode 100644
index 0000000..130aaa8
--- /dev/null
+++ b/FluxID's Filters/YPbPr-chrominance2
@@ -0,0 +1,28 @@
+!!ARBfp1.0
+TEMP output, tmp, rst;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+
+MOV rst, 0.5;
+
+MOV tmp, output;
+MUL tmp, tmp, {0.701, -0.587, -0.114, 0};
+ADD rst.r, rst.r, tmp.r;
+ADD rst.r, rst.r, tmp.g;
+ADD rst.r, rst.r, tmp.b;
+
+MOV tmp, output;
+MUL tmp, tmp, {-0.299, 0.413, -0.114, 0};
+ADD rst.g, rst.g, tmp.r;
+ADD rst.g, rst.g, tmp.g;
+ADD rst.g, rst.g, tmp.b;
+
+MOV tmp, output;
+MUL tmp, tmp, {-0.299, -0.587, 0.886, 0};
+ADD rst.b, rst.b, tmp.r;
+ADD rst.b, rst.b, tmp.g;
+ADD rst.b, rst.b, tmp.b;
+
+MOV output.rgb, rst;
+
+MOV result.color, output;
+END
diff --git a/FluxID's Filters/YPbPr-luminance2 b/FluxID's Filters/YPbPr-luminance2
new file mode 100644
index 0000000..89f6c4d
--- /dev/null
+++ b/FluxID's Filters/YPbPr-luminance2
@@ -0,0 +1,9 @@
+!!ARBfp1.0
+TEMP output;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+MUL output, output, {0.299, 0.587, 0.114, 1};
+ADD output.r, output.r, output.g;
+ADD output.r, output.r, output.b;
+MOV output.gb, output.r;
+MOV result.color, output;
+END
diff --git a/FluxID's Filters/alpha-fullopacity b/FluxID's Filters/alpha-fullopacity
new file mode 100644
index 0000000..046f51f
--- /dev/null
+++ b/FluxID's Filters/alpha-fullopacity
@@ -0,0 +1,6 @@
+!!ARBfp1.0
+TEMP output;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+MOV output.a, 1.0;
+MOV result.color, output;
+END
diff --git a/FluxID's Filters/alpha-showmask b/FluxID's Filters/alpha-showmask
new file mode 100644
index 0000000..b054c4a
--- /dev/null
+++ b/FluxID's Filters/alpha-showmask
@@ -0,0 +1,7 @@
+!!ARBfp1.0
+TEMP output;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+MOV output.rgb, output.a;
+MOV output.a, 1.0;
+MOV result.color, output;
+END
diff --git a/FluxID's Filters/blue-gray b/FluxID's Filters/blue-gray
new file mode 100644
index 0000000..cd69405
--- /dev/null
+++ b/FluxID's Filters/blue-gray
@@ -0,0 +1,6 @@
+!!ARBfp1.0
+TEMP output;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+MOV output.rg, output.b;
+MOV result.color, output;
+END
diff --git a/FluxID's Filters/blue-null b/FluxID's Filters/blue-null
new file mode 100644
index 0000000..3e9eda0
--- /dev/null
+++ b/FluxID's Filters/blue-null
@@ -0,0 +1,6 @@
+!!ARBfp1.0
+TEMP output;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+MOV output.b, 0.0;
+MOV result.color, output;
+END
diff --git a/FluxID's Filters/blue-only b/FluxID's Filters/blue-only
new file mode 100644
index 0000000..b63f524
--- /dev/null
+++ b/FluxID's Filters/blue-only
@@ -0,0 +1,6 @@
+!!ARBfp1.0
+TEMP output;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+MOV output.rg, 0.0;
+MOV result.color, output;
+END
diff --git a/FluxID's Filters/desaturate b/FluxID's Filters/desaturate
new file mode 100644
index 0000000..d765f10
--- /dev/null
+++ b/FluxID's Filters/desaturate
@@ -0,0 +1,9 @@
+!!ARBfp1.0
+TEMP output;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+ADD output.r, output.r, output.g;
+ADD output.r, output.r, output.b;
+MUL output.r, output, 0.333;
+MOV output.gb, output.r;
+MOV result.color, output;
+END
diff --git a/FluxID's Filters/green-gray b/FluxID's Filters/green-gray
new file mode 100644
index 0000000..0495f18
--- /dev/null
+++ b/FluxID's Filters/green-gray
@@ -0,0 +1,6 @@
+!!ARBfp1.0
+TEMP output;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+MOV output.rb, output.g;
+MOV result.color, output;
+END
diff --git a/FluxID's Filters/green-null b/FluxID's Filters/green-null
new file mode 100644
index 0000000..9566a09
--- /dev/null
+++ b/FluxID's Filters/green-null
@@ -0,0 +1,6 @@
+!!ARBfp1.0
+TEMP output;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+MOV output.g, 0.0;
+MOV result.color, output;
+END
diff --git a/FluxID's Filters/green-only b/FluxID's Filters/green-only
new file mode 100644
index 0000000..f9ef915
--- /dev/null
+++ b/FluxID's Filters/green-only
@@ -0,0 +1,6 @@
+!!ARBfp1.0
+TEMP output;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+MOV output.rb, 0.0;
+MOV result.color, output;
+END
diff --git a/FluxID's Filters/hicontrast b/FluxID's Filters/hicontrast
new file mode 100644
index 0000000..afbf8b7
--- /dev/null
+++ b/FluxID's Filters/hicontrast
@@ -0,0 +1,7 @@
+!!ARBfp1.0
+TEMP output;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+SUB output.rgb, output, 0.5;
+MAD output.rgb, output, 1.7, 0.5;
+MOV result.color, output;
+END
diff --git a/FluxID's Filters/hue b/FluxID's Filters/hue
new file mode 100644
index 0000000..6b3c9b7
--- /dev/null
+++ b/FluxID's Filters/hue
@@ -0,0 +1,16 @@
+!!ARBfp1.0
+TEMP output, tmp;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+
+MAX tmp.x, output.r, output.g;
+MAX tmp.x, tmp.x, output.b;
+MIN tmp.y, output.r, output.g;
+MIN tmp.y, tmp.y, output.b;
+SUB output.rgb, output, tmp.y;
+SUB tmp.z, tmp.x, tmp.y;
+ABS tmp.z, tmp.z;
+RCP tmp, tmp.z;
+MUL output.rgb, output, tmp.z;
+
+MOV result.color, output;
+END
diff --git a/FluxID's Filters/locontrast b/FluxID's Filters/locontrast
new file mode 100644
index 0000000..1d2eeae
--- /dev/null
+++ b/FluxID's Filters/locontrast
@@ -0,0 +1,7 @@
+!!ARBfp1.0
+TEMP output;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+SUB output.rgb, output, 0.5;
+MAD output.rgb, output, 0.3, 0.5;
+MOV result.color, output;
+END
diff --git a/FluxID's Filters/neutrals-alpha b/FluxID's Filters/neutrals-alpha
new file mode 100644
index 0000000..b954ee9
--- /dev/null
+++ b/FluxID's Filters/neutrals-alpha
@@ -0,0 +1,15 @@
+!!ARBfp1.0
+TEMP output, tmp;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+
+MAX tmp.r, output.r, output.g;
+MAX tmp.r, tmp.r, output.b;
+MIN tmp.g, output.r, output.g;
+MIN tmp.g, tmp.g, output.b;
+SUB output.rgb, output, tmp.y;
+SUB tmp.b, tmp.r, tmp.g;
+ABS tmp.b, tmp.b;
+MUL output.a, output.a, tmp.b;
+
+MOV result.color, output;
+END
diff --git a/FluxID's Filters/neutrals-black b/FluxID's Filters/neutrals-black
new file mode 100644
index 0000000..af8bb43
--- /dev/null
+++ b/FluxID's Filters/neutrals-black
@@ -0,0 +1,10 @@
+!!ARBfp1.0
+TEMP output, tmp;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+
+MIN tmp.r, output.r, output.g;
+MIN tmp.r, tmp.r, output.b;
+SUB output.rgb, output, tmp.r;
+
+MOV result.color, output;
+END
diff --git a/FluxID's Filters/neutrals-white b/FluxID's Filters/neutrals-white
new file mode 100644
index 0000000..823ed2c
--- /dev/null
+++ b/FluxID's Filters/neutrals-white
@@ -0,0 +1,11 @@
+!!ARBfp1.0
+TEMP output, tmp;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+
+MAX tmp.r, output.r, output.g;
+MAX tmp.r, tmp.r, output.b;
+SUB tmp.r, 1, tmp.r;
+ADD output.rgb, output, tmp.r;
+
+MOV result.color, output;
+END
diff --git a/FluxID's Filters/psycho b/FluxID's Filters/psycho
new file mode 100644
index 0000000..f1dddf7
--- /dev/null
+++ b/FluxID's Filters/psycho
@@ -0,0 +1,7 @@
+!!ARBfp1.0
+TEMP output;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+MAD output.rgb, output, 2.0, -1.0;
+ABS output.rgb, output;
+MOV result.color, output;
+END
diff --git a/FluxID's Filters/red-gray b/FluxID's Filters/red-gray
new file mode 100644
index 0000000..a0b686a
--- /dev/null
+++ b/FluxID's Filters/red-gray
@@ -0,0 +1,6 @@
+!!ARBfp1.0
+TEMP output;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+MOV output.gb, output.r;
+MOV result.color, output;
+END
diff --git a/FluxID's Filters/red-null b/FluxID's Filters/red-null
new file mode 100644
index 0000000..cb810d2
--- /dev/null
+++ b/FluxID's Filters/red-null
@@ -0,0 +1,6 @@
+!!ARBfp1.0
+TEMP output;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+MOV output.r, 0.0;
+MOV result.color, output;
+END
diff --git a/FluxID's Filters/red-only b/FluxID's Filters/red-only
new file mode 100644
index 0000000..4cca145
--- /dev/null
+++ b/FluxID's Filters/red-only
@@ -0,0 +1,6 @@
+!!ARBfp1.0
+TEMP output;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+MOV output.gb, 0.0;
+MOV result.color, output;
+END
diff --git a/dummy b/dummy
deleted file mode 100644
index fd2878d..0000000
--- a/dummy
+++ /dev/null
@@ -1 +0,0 @@
-Does this work
diff --git a/only-blue b/only-blue
new file mode 100644
index 0000000..a4d3eda
--- /dev/null
+++ b/only-blue
@@ -0,0 +1,6 @@
+!!ARBfp1.0
+TEMP output;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+SUB output.r, output.r, output;
+SUB output.g, output.g, output;
+MOV result.color, output;
diff --git a/only-blue~ b/only-blue~
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/only-blue~
diff --git a/only-green b/only-green
new file mode 100644
index 0000000..6811a76
--- /dev/null
+++ b/only-green
@@ -0,0 +1,6 @@
+!!ARBfp1.0
+TEMP output;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+SUB output.r, output.r, output;
+SUB output.b, output.b, output;
+MOV result.color, output;
diff --git a/only-green~ b/only-green~
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/only-green~
diff --git a/only-red b/only-red
new file mode 100644
index 0000000..963272a
--- /dev/null
+++ b/only-red
@@ -0,0 +1,6 @@
+!!ARBfp1.0
+TEMP output;
+TEX output, fragment.texcoord[0], texture[0], RECT;
+SUB output.b, output.b, output;
+SUB output.g, output.g, output;
+MOV result.color, output;
diff --git a/only-red~ b/only-red~
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/only-red~