Go Back   Winamp Forums > Visualizations > AVS

Reply
Thread Tools Search this Thread Display Modes
Old 21st September 2002, 06:17   #1
cfp
Member
 
cfp's Avatar
 
Join Date: Dec 2001
Location: oxford, uk
Posts: 60
final version of convolution filter ape

attached is the final version of my convolution filter ape.

it includes documentation and example files.

hope you enjoy it.

tom
Attached Files
File Type: zip convolution.zip (10.1 KB, 268 views)
cfp is offline   Reply With Quote
Old 21st September 2002, 07:03   #2
jheriko
Forum King
 
jheriko's Avatar
 
Join Date: Aug 2002
Location: a twist in the fabric of space
Posts: 2,149
Send a message via ICQ to jheriko
this thing definately has some cool potential. there is glaring big one bug though. you didn't put the new ape in the zip file!!!

-- Jheriko

'Everything around us can be represented and understood through numbers'

Last edited by jheriko; 21st September 2002 at 07:24.
jheriko is offline   Reply With Quote
Old 21st September 2002, 11:20   #3
UnConeD
Whacked Moderator
 
UnConeD's Avatar
 
Join Date: Jun 2001
Posts: 2,104
btw maybe you should make a quick re-release which puts the .Cff files into a subdirectory? The AVS directory is already supercluttered, with bitmaps, presets, apes, etc.

UnConeD is offline   Reply With Quote
Old 21st September 2002, 12:40   #4
jheriko
Forum King
 
jheriko's Avatar
 
Join Date: Aug 2002
Location: a twist in the fabric of space
Posts: 2,149
Send a message via ICQ to jheriko
am i the only one getting everything but the ape in this zip file?

-- Jheriko

'Everything around us can be represented and understood through numbers'
jheriko is offline   Reply With Quote
Old 21st September 2002, 13:01   #5
CrazYdoC
Junior Member
 
CrazYdoC's Avatar
 
Join Date: May 2002
Posts: 4
Send a message via ICQ to CrazYdoC
Jheriko is right, I also didn't find the ape in the zip, but if it really does what is promised in the documentation, then it's definitely neat stuff
CrazYdoC is offline   Reply With Quote
Old 21st September 2002, 13:06   #6
UnConeD
Whacked Moderator
 
UnConeD's Avatar
 
Join Date: Jun 2001
Posts: 2,104
Well there is a development version in another thread, but it's probably best to wait for cfp to repost because they might not be compatible.

UnConeD is offline   Reply With Quote
Old 21st September 2002, 13:08   #7
jheriko
Forum King
 
jheriko's Avatar
 
Join Date: Aug 2002
Location: a twist in the fabric of space
Posts: 2,149
Send a message via ICQ to jheriko
They aren't compatible, i've tried the presets from the zip and I have the development version. The last development version was a bit crashy.

-- Jheriko

'Everything around us can be represented and understood through numbers'
jheriko is offline   Reply With Quote
Old 21st September 2002, 13:46   #8
cfp
Member
 
cfp's Avatar
 
Join Date: Dec 2001
Location: oxford, uk
Posts: 60
sorry about that...

i'm a muppet, i'd been up all night writing the documentation and doing the examples so i wasn't really thinking straight...

here's the final version, with ape (^_^)
cfp is offline   Reply With Quote
Old 21st September 2002, 13:49   #9
cfp
Member
 
cfp's Avatar
 
Join Date: Dec 2001
Location: oxford, uk
Posts: 60
no here is the final version with ape.

is there no end to my muppetry?
Attached Files
File Type: zip convolution.zip (33.2 KB, 230 views)
cfp is offline   Reply With Quote
Old 21st September 2002, 16:10   #10
jheriko
Forum King
 
jheriko's Avatar
 
Join Date: Aug 2002
Location: a twist in the fabric of space
Posts: 2,149
Send a message via ICQ to jheriko
Thank you.

I love this thing, you can use it to make mini bitmaps for particles made from superscopes, its only gonna be 7x7 pixels but thats enough for me... I'm gonna go make something now.

-- Jheriko

'Everything around us can be represented and understood through numbers'
jheriko is offline   Reply With Quote
Old 22nd September 2002, 18:18   #11
Karnov
Senior Member
 
Karnov's Avatar
 
Join Date: Aug 2002
Location: Narok<Where I live<Valhalla
Posts: 165
this truely is awsome

check out what i made with it
Attached Files
File Type: zip karnov - avs hell.zip (884 Bytes, 189 views)
Karnov is offline   Reply With Quote
Old 22nd September 2002, 19:12   #12
Jaheckelsafar
Major Dude
 
Join Date: Feb 2002
Location: home
Posts: 1,318
Well, Karnov posted his, so I'll post a link to mine.

http://forums.winamp.com/showthread....hreadid=106507

Stoke me a clipper. I'll be back for Christmas.

- Arnold Rimmer
Red Dwarf
Jaheckelsafar is offline   Reply With Quote
Old 22nd September 2002, 19:57   #13
dirkdeftly
Forum King
 
dirkdeftly's Avatar
 
Join Date: Jun 2001
Location: Cydonia, Mars
Posts: 2,651
Send a message via AIM to dirkdeftly
BUG: Sometimes the filter phuxup the RGB channels; when there's a WHITE render it'll somehow take a tiny bit out of one or two of the channels. The first time this happened I thought it was just the red channel (things were going red/cyan), but just today I had it going rygcbm (which meant that two of the channels where being changed, which means it's probably not a code error).
Also, could you have the load button default to open the last folder you loaded a CCF from, not the last folder you loaded a file to the WA playlist from?
Lastly, could you have a button that will let you get rid of that annoying 'all data will be lost' pop-up when you load a new CCF? Not the one saying 'really clear data,' because that's rather important...Wish the -main button would have that

"guilt is the cause of more disauders
than history's most obscene marorders" --E. E. Cummings
dirkdeftly is offline   Reply With Quote
Old 22nd September 2002, 21:58   #14
cfp
Member
 
cfp's Avatar
 
Join Date: Dec 2001
Location: oxford, uk
Posts: 60
could you tell me exactly what you were doing when it went wrong?
e.g. values of the filter entries. + did the error seem to spread from any particular point on the screen?

there is also an error where winamp may come up with an error box while you're doing something completely unrelated to the ape. i can think of no reason why it should do this as if you do not have its dialog box visible it will not be changing its code or anything, so this may be a winamp bug.

however if this happens YOU CAN SAVE before you leave winamp.

just thought that'd be useful to know.

i'll try and fix any bug people point out to me, but i'm going back to uni this week so i'm not going to be devoting quite the amount of time to it i have recently.

as people are posting there convolution avs's here's mine (just to prove i'm not just a coder (^_^) )

tom
Attached Files
File Type: zip silicon avs.zip (809 Bytes, 210 views)
cfp is offline   Reply With Quote
Old 22nd September 2002, 23:11   #15
dirkdeftly
Forum King
 
dirkdeftly's Avatar
 
Join Date: Jun 2001
Location: Cydonia, Mars
Posts: 2,651
Send a message via AIM to dirkdeftly
That's the thing - it wasn't one specific action that made it do that. I think the first time I was switching 2-pass off, and the second time I was docking it in the window. So it's not an AVS thing, it's just a glitch.

The winamp window comes up when you overload the variables (you have too many variables in a specific component).

"guilt is the cause of more disauders
than history's most obscene marorders" --E. E. Cummings
dirkdeftly is offline   Reply With Quote
Old 23rd September 2002, 00:20   #16
cfp
Member
 
cfp's Avatar
 
Join Date: Dec 2001
Location: oxford, uk
Posts: 60
here is a version of the filter (without any of the documentation) which remembers your save directory etc in most situations.

tom

p.s. if you want a link to quote for people to download this ape, i guess it's going to have be my http:\\cfp.begeek.net address, however lame it is.
Attached Files
File Type: zip convolution no docs.zip (21.5 KB, 184 views)
cfp is offline   Reply With Quote
Old 23rd September 2002, 00:22   #17
cfp
Member
 
cfp's Avatar
 
Join Date: Dec 2001
Location: oxford, uk
Posts: 60
and here's a version which includes all the docs.
Attached Files
File Type: zip convolution.zip (32.5 KB, 177 views)
cfp is offline   Reply With Quote
Old 23rd September 2002, 00:53   #18
Xion(810)
Major Dude
 
Xion(810)'s Avatar
 
Join Date: Aug 2002
Location: Gran Da Val Island, Ragol
Posts: 1,020
Nice!

Although this is just a more advanced version of the Custom Filter, right? I'm gonna stick with the custom filter because it's basic!
Xion(810) is offline   Reply With Quote
Old 23rd September 2002, 01:13   #19
cfp
Member
 
cfp's Avatar
 
Join Date: Dec 2001
Location: oxford, uk
Posts: 60
i would not advise using "custom filter". have you compared their speeds?? custom filter may be simpler but it's only a fraction of the speed of convolution.
cfp is offline   Reply With Quote
Old 23rd September 2002, 03:36   #20
jheriko
Forum King
 
jheriko's Avatar
 
Join Date: Aug 2002
Location: a twist in the fabric of space
Posts: 2,149
Send a message via ICQ to jheriko
All those pretty presets, I just thought I'd have to add my piece to it all. This is a particle-ish superscope which uses the convolution matrix to turn all of the pixels into nice little circles, it's one of the best uses i've found for this thing outside of all of the usual graphics things.

(This is one of the presets from my up and coming Pack VI)
Attached Files
File Type: zip 76 - the final analysis.zip (1.6 KB, 178 views)

-- Jheriko

'Everything around us can be represented and understood through numbers'
jheriko is offline   Reply With Quote
Old 23rd September 2002, 04:27   #21
Zevensoft
Major Dude
 
Zevensoft's Avatar
 
Join Date: Apr 2002
Location: Ballarat, Australia
Posts: 529
Wow, the convulution filter is

Good job!

UnConeD should redo some of his presets, which could use this for faster edge detect.

BTW, the APE still stalls AVS when scale is set to 0 or lower.

Last edited by Zevensoft; 23rd September 2002 at 04:43.
Zevensoft is offline   Reply With Quote
Old 23rd September 2002, 14:17   #22
cfp
Member
 
cfp's Avatar
 
Join Date: Dec 2001
Location: oxford, uk
Posts: 60
here's the negative scale bug cured for the second time. you know the problem was pretty much the same as it was last time. i really should learn to test for bugs before releasing things (^_^).

however, all a negative scale does is to swap the sign of every entry. it doesn't allow you to do anything you couldn't already.

tom
Attached Files
File Type: zip convolution no docs.zip (21.5 KB, 170 views)
cfp is offline   Reply With Quote
Old 23rd September 2002, 14:20   #23
cfp
Member
 
cfp's Avatar
 
Join Date: Dec 2001
Location: oxford, uk
Posts: 60
and here's the full release again.
Attached Files
File Type: zip convolution.zip (32.5 KB, 192 views)
cfp is offline   Reply With Quote
Old 23rd September 2002, 14:59   #24
jheriko
Forum King
 
jheriko's Avatar
 
Join Date: Aug 2002
Location: a twist in the fabric of space
Posts: 2,149
Send a message via ICQ to jheriko
As long as your bug fixes are all backward compatible then I'm happy.

This thing is turning out to be really useful, I've used it in 4 presets in my Pack VI now.

-- Jheriko

'Everything around us can be represented and understood through numbers'
jheriko is offline   Reply With Quote
Old 23rd September 2002, 17:46   #25
dirkdeftly
Forum King
 
dirkdeftly's Avatar
 
Join Date: Jun 2001
Location: Cydonia, Mars
Posts: 2,651
Send a message via AIM to dirkdeftly
Why is it that scales of powers of 2 are so much faster than others?



Edit: W00T W00T *fweeeeeeeeeee* 400th POST W00T!!!!!!!!! ...

"guilt is the cause of more disauders
than history's most obscene marorders" --E. E. Cummings
dirkdeftly is offline   Reply With Quote
Old 23rd September 2002, 17:54   #26
cfp
Member
 
cfp's Avatar
 
Join Date: Dec 2001
Location: oxford, uk
Posts: 60
cos if it's a power of two it does a bit shift rather than a mult.

this makes an even bigger difference for division because there is no mmx division instruction so the number of instructions goes from 1 to about 20. and that is with a still highly optimised fixed point division algorithm which doesn't actually use the slow div operation.

tom
cfp is offline   Reply With Quote
Old 24th September 2002, 12:23   #27
cfp
Member
 
cfp's Avatar
 
Join Date: Dec 2001
Location: oxford, uk
Posts: 60
slightly faster version.
no docs.
Attached Files
File Type: zip convolution no docs.zip (21.6 KB, 176 views)
cfp is offline   Reply With Quote
Old 24th September 2002, 12:25   #28
cfp
Member
 
cfp's Avatar
 
Join Date: Dec 2001
Location: oxford, uk
Posts: 60
slightly faster version.
with docs.
Attached Files
File Type: zip convolution.zip (32.6 KB, 171 views)
cfp is offline   Reply With Quote
Old 8th October 2002, 18:39   #29
dirkdeftly
Forum King
 
dirkdeftly's Avatar
 
Join Date: Jun 2001
Location: Cydonia, Mars
Posts: 2,651
Send a message via AIM to dirkdeftly
I found it!

Whenever you use 2-pass and either wrap-around or absolute, the very top-left pixel turns blue. You can see this by using the 'accurate lapachian' preset with a render ring or something.

"guilt is the cause of more disauders
than history's most obscene marorders" --E. E. Cummings
dirkdeftly is offline   Reply With Quote
Old 8th October 2002, 19:31   #30
cfp
Member
 
cfp's Avatar
 
Join Date: Dec 2001
Location: oxford, uk
Posts: 60
i've played around with it and i think it's a problem with bias when 2 pass mode is enabled. i think i've found the bug in the code too so expect a bug fix in a bit.

tom
cfp is offline   Reply With Quote
Old 8th October 2002, 19:41   #31
nixa
Senior Member
 
Join Date: Jul 2002
Posts: 149
I noticed that sometimes when I used 2 pass colors chainge very much.
Is this a bug?If not how do you set the color you want?
In attached preset white turns to yelow.
Attached Files
File Type: zip convolution.zip (247 Bytes, 163 views)
nixa is offline   Reply With Quote
Old 8th October 2002, 19:52   #32
cfp
Member
 
cfp's Avatar
 
Join Date: Dec 2001
Location: oxford, uk
Posts: 60
i checked your avs with the bug fixed version and it's fine.

the file will be up here in a min. just fixing the forgeting file extension bug while i'm at it.

tom
cfp is offline   Reply With Quote
Old 8th October 2002, 20:13   #33
cfp
Member
 
cfp's Avatar
 
Join Date: Dec 2001
Location: oxford, uk
Posts: 60
bug fixed version. includes all docs.

bugs fixed:
problems with bias when 2-Pass is enabled.
forgetting file extensions after saving then loading or closing the avs window.

tom
Attached Files
File Type: zip convolution.zip (32.9 KB, 232 views)
cfp is offline   Reply With Quote
Old 12th October 2002, 07:31   #34
dirkdeftly
Forum King
 
dirkdeftly's Avatar
 
Join Date: Jun 2001
Location: Cydonia, Mars
Posts: 2,651
Send a message via AIM to dirkdeftly
The reason it's turning yellow is because it's inverting the blue.

Thanx CFP

"guilt is the cause of more disauders
than history's most obscene marorders" --E. E. Cummings
dirkdeftly is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Visualizations > AVS

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump