Old 13th September 2003, 21:25   #1
justin
Moderator Alumni
 
Join Date: Apr 2000
Location: USA
Posts: 315
avs 2.7pre2 woo hoo

http://genghis.winamp.com/~deadbeef/avs27pre2.zip

Lots of fixes for issues described in the last post, and other stuff:
  • made config change detection a little more accurate
  • made superscope/dmove/shift/etc reinit on edit work right (Now variables are cleared on edit, always, but the init code is run too)
  • made trans / movement only replace usereval with preseteval if editted
  • fixed trans / movement backwards compatible stuff (no crashy at least)
  • updated eval documentation stuff, need people to write docs for it, too.. heheh (see the help then send me the docs)
  • lots of ui cleanups (more edit room!)
  • fixed some fullscreen new fbresize bugs
  • updated fullscreen overlay mode some


-J
justin is offline   Reply With Quote
Old 13th September 2003, 21:30   #2
Jaak
Major Dude
 
Jaak's Avatar
 
Join Date: Jan 2003
Location: Estonia.
Posts: 851
*DROOL*

Mmm... a lot of room in sscs...
This is getting better and better...
*me hands more beer to Justin*

Phi = (1+sqrt(5))/2
Jaak is offline   Reply With Quote
Old 13th September 2003, 21:35   #3
UnConeD
Whacked Moderator
 
UnConeD's Avatar
 
Join Date: Jun 2001
Posts: 2,104
Could you add the beat value to the extended APE sdk too? It's currently passed by value, making a clean Custom BPM II impossible (well I have managed to get around this by declaring ->render(...) as naked and writing into the calling function's stack in the epilog code, but it's an ugly hack to say the least).

UnConeD is offline   Reply With Quote
Old 13th September 2003, 21:36   #4
Montana
Major Dude
 
Montana's Avatar
 
Join Date: Dec 2001
Location: Södertälje, Sweden
Posts: 1,058
Send a message via ICQ to Montana Send a message via AIM to Montana Send a message via Yahoo to Montana
cool, i like this,

about the mini-tuts in the helpfile, ask atero to use the docs & stuff from avs primer1.75

batman
Montana is offline   Reply With Quote
Old 13th September 2003, 21:43   #5
Jaak
Major Dude
 
Jaak's Avatar
 
Join Date: Jan 2003
Location: Estonia.
Posts: 851
I got only one request:

Really useful would be self definable global varjables... to use something like regrx (rotation x) otherways the code will get really messy :P

Phi = (1+sqrt(5))/2
Jaak is offline   Reply With Quote
Old 13th September 2003, 21:49   #6
justin
Moderator Alumni
 
Join Date: Apr 2000
Location: USA
Posts: 315
Quote:
Originally posted by Jack the king
I got only one request:

Really useful would be self definable global varjables... to use something like regrx (rotation x) otherways the code will get really messy :P
Well, I'd suggest you just use globals sparingly.

The main reason I have against self definable global variables, is
scope. Once a preset creates a global variable, does that mean it is there forever? Do we have a limited number of globals? How do you handle these things?

-Justin
justin is offline   Reply With Quote
Old 13th September 2003, 21:51   #7
justin
Moderator Alumni
 
Join Date: Apr 2000
Location: USA
Posts: 315
Quote:
Originally posted by UnConeD
Could you add the beat value to the extended APE sdk too? It's currently passed by value, making a clean Custom BPM II impossible (well I have managed to get around this by declaring ->render(...) as naked and writing into the calling function's stack in the epilog code, but it's an ugly hack to say the least).
Actually there is already a way to do this.
In your render() function, you can return one of the two values (actually you can just set those bits in the return value):

#define SET_BEAT 0x10000000
#define CLR_BEAT 0x20000000

SET_BEAT changes the beat status to "beat", CLR_BEAT clears it to
"no beat"

-Justin
justin is offline   Reply With Quote
Old 13th September 2003, 22:17   #8
justin
Moderator Alumni
 
Join Date: Apr 2000
Location: USA
Posts: 315
Just updated the zip, with a fix to the dynamic distance modifier (it would at certain resolutions at certain times cause a crash). Woot.

-J
justin is offline   Reply With Quote
Old 13th September 2003, 22:33   #9
dirkdeftly
Forum King
 
dirkdeftly's Avatar
 
Join Date: Jun 2001
Location: Cydonia, Mars
Posts: 2,651
Send a message via AIM to dirkdeftly
no, you can't make me 1337 by packaging the primer with wa5, i won't allow it! YOU'LL NEVER CATCH ME ALIVE! NEVAR!11



if i get some time next weekend I'll update teh primer...



(and next time could you update teh old thread? kinda pointless to make a new one...)

/me hides from the administrative powers of teh j

"guilt is the cause of more disauders
than history's most obscene marorders" --E. E. Cummings
dirkdeftly is offline   Reply With Quote
Old 13th September 2003, 23:23   #10
justin
Moderator Alumni
 
Join Date: Apr 2000
Location: USA
Posts: 315
Quote:
Originally posted by Atero
no, you can't make me 1337 by packaging the primer with wa5, i won't allow it! YOU'LL NEVER CATCH ME ALIVE! NEVAR!11



if i get some time next weekend I'll update teh primer...



(and next time could you update teh old thread? kinda pointless to make a new one...)

/me hides from the administrative powers of teh j

Hehe if you want to make a trimmed down version of each section,
to put in there, that'd be rad. You could put links to the full primer in there, too, I suppose.

Or if you don't want to, maybe I could edit it? Or if you don't
want that, I'll be sad.

-J
justin is offline   Reply With Quote
Old 14th September 2003, 00:11   #11
zamuz
Senior Member
 
zamuz's Avatar
 
Join Date: Nov 2002
Location: santiago, chile
Posts: 152
again, really nice but, as if you haven't heard this yet, please get rid of the window snapping. i know it'll be gone when wa5 is released, but... well i really hate it.

thanks btw
zamuz is offline   Reply With Quote
Old 14th September 2003, 00:12   #12
dirkdeftly
Forum King
 
dirkdeftly's Avatar
 
Join Date: Jun 2001
Location: Cydonia, Mars
Posts: 2,651
Send a message via AIM to dirkdeftly
Why can't you just package the full thing with it? It's not like you have to put each file in the config dialogue. Just put a help menu up there and make one of the options "Help on [currently selected component]" or something.
And since I know jack diddly about windows help files you'll have to do it yourself

"guilt is the cause of more disauders
than history's most obscene marorders" --E. E. Cummings
dirkdeftly is offline   Reply With Quote
Old 14th September 2003, 01:16   #13
Raz
Forum King
 
Raz's Avatar
 
Join Date: Dec 2002
Location: Manchester
Posts: 6,470
I'm very, very very pished but i must comment./ must must must comment, so much backsapacing alreadfy. ah tho shell with it. JUsdtinh, you pwn teh.. uhh place. just is teh pqwnage, ja that will do. Now i must return tpo my lair and perform certain deeds involving females and some sort of booze.... god damn readin through this is like agrammmatical nightmare of sme sort, involving the simpsonms and principal skinner amd his thing, erm, shuit#

anyway, JYSRTIUN IS TEH PWMAGE,

Raz is offline   Reply With Quote
Old 14th September 2003, 01:31   #14
dirkdeftly
Forum King
 
dirkdeftly's Avatar
 
Join Date: Jun 2001
Location: Cydonia, Mars
Posts: 2,651
Send a message via AIM to dirkdeftly
omg. how much did you drink anyway?



on second thought i don't think i want to know. just...stay in bed...and don't break anything....

"guilt is the cause of more disauders
than history's most obscene marorders" --E. E. Cummings
dirkdeftly is offline   Reply With Quote
Old 14th September 2003, 01:38   #15
anubis2003
Forum King
 
anubis2003's Avatar
 
Join Date: Dec 2002
Location: middle of somewhere
Posts: 5,564
Send a message via AIM to anubis2003
You think that was bad - look at his thread in the Recycle Bin(the new forum on these forums).

It makes even less since.
anubis2003 is offline   Reply With Quote
Old 14th September 2003, 02:45   #16
sidd
Major Dude
 
sidd's Avatar
 
Join Date: May 2003
Location: Australia
Posts: 1,353
Those 'ol superscope examples dont load until you edit the boxes...

Nice new help .

btw, is the fact that the recycling bin forum is listed in the vis category meant to be some sniggered remark towards us visjunkies?
sidd is offline   Reply With Quote
Old 14th September 2003, 03:53   #17
anubis2003
Forum King
 
anubis2003's Avatar
 
Join Date: Dec 2002
Location: middle of somewhere
Posts: 5,564
Send a message via AIM to anubis2003
it's not in the vis group.

It's not in any group. They just get thrown down to the end.

If you notice - there is a slight difference - there is some gray space to the left of the AVS forums and such, but white space to the left of the recycle bin.
anubis2003 is offline   Reply With Quote
Old 14th September 2003, 06:34   #18
[Ishan]
Major Dude
 
[Ishan]'s Avatar
 
Join Date: Mar 2003
Location: India
Posts: 1,156
Send a message via Yahoo to [Ishan]
hehe this is awesome


Amateur AVS'er. All over again.

Last AVS Pack :
Resurgence

[Ishan] is offline   Reply With Quote
Old 14th September 2003, 08:31   #19
Jaak
Major Dude
 
Jaak's Avatar
 
Join Date: Jan 2003
Location: Estonia.
Posts: 851
Quote:
Originally posted by justin
Well, I'd suggest you just use globals sparingly.

The main reason I have against self definable global variables, is
scope. Once a preset creates a global variable, does that mean it is there forever? Do we have a limited number of globals? How do you handle these things?

-Justin
Oh well... all is true
Seems we just must start using // and /* */

Phi = (1+sqrt(5))/2
Jaak is offline   Reply With Quote
Old 14th September 2003, 09:10   #20
Deamon
Major Dude
 
Deamon's Avatar
 
Join Date: Nov 2002
Location: Arnhem, the Netherlands
Posts: 927
I love the round up/round down function with blur

[edit]
Is it possible to make the Color modifier work with coords? To make things like "red=if(above(x,0),1,0);" (for example) possible? Shouldn't be to hard, it works in Superscopes, I bet it can work this way as well.

Hope you can find some time to do this.
[/edit]

[edit2]
Beat detection doesn't seem to work correctly over here with Color Modifier, though I'm not sure yet how to use it correctly. Maybe somebody could post a simple preset which uses color modifier with Beat Detection?
[/edit2]

[edit3]
Never mind edit 2, I think I got it now. Sorry for the inconvience
[/edit3]

.:HyperNation @ winamp:. .:DeviantArt:.
Thermal is now available for download at DeviantArt.

Last edited by Deamon; 14th September 2003 at 09:42.
Deamon is offline   Reply With Quote
Old 14th September 2003, 10:08   #21
anubis2003
Forum King
 
anubis2003's Avatar
 
Join Date: Dec 2002
Location: middle of somewhere
Posts: 5,564
Send a message via AIM to anubis2003
I was also wondering why color modifier doesn't have the ability to use x and y. I think that could make things really cool. Would make it pretty easy to make some nice morphing alpha-blended channels. Fun.
anubis2003 is offline   Reply With Quote
Old 14th September 2003, 10:13   #22
sidd
Major Dude
 
sidd's Avatar
 
Join Date: May 2003
Location: Australia
Posts: 1,353
there is probably 4 or 5 posts scattered around the forums at the moment which explain why the color mod cant use coords.

And there is a preset here using color mod and beat detection:
http://forums.winamp.com/showthread....hreadid=149154

[edit]
i fealt rude saying that...so.. this thread http://forums.winamp.com/showthread....hreadid=149042 explains the color mod pretty well. the bottom line is, it doesnt work witht he individual pixels when recoloring, it just uses a color-map-like method.
[/edit]
sidd is offline   Reply With Quote
Old 14th September 2003, 10:41   #23
anubis2003
Forum King
 
anubis2003's Avatar
 
Join Date: Dec 2002
Location: middle of somewhere
Posts: 5,564
Send a message via AIM to anubis2003
thanks sidd. That thread must have slipped passed me, as a lot has these last couple of days.
anubis2003 is offline   Reply With Quote
Old 14th September 2003, 16:59   #24
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
i think the new avs version should have some often used dynamic movements in a preset list (similiar to movement). most people here might disagree, but think of the non-techies too! i'm particularly thinking of basic DMs, like rotation, zooms etc.

this would allow newbies to have some more variety (and maybe stop using water/rotoblitter/mirror combinations only).
Yathosho is offline   Reply With Quote
Old 14th September 2003, 17:00   #25
mikm
Major Dude
 
mikm's Avatar
 
Join Date: May 2001
Location: somewhere else
Posts: 1,286
Or the ability to add custom DMs/SSCs to the list (to make it easier to add the 3D conversion template).

powered by C₈H₁₀N₄O₂
mikm is offline   Reply With Quote
Old 14th September 2003, 17:02   #26
Raz
Forum King
 
Raz's Avatar
 
Join Date: Dec 2002
Location: Manchester
Posts: 6,470
Or just add a funtion to roto blitter to move on the x and y axis.

Raz is offline   Reply With Quote
Old 14th September 2003, 17:41   #27
nixa
Senior Member
 
Join Date: Jul 2002
Posts: 149
Globals, 256 vars, subdirs, color modifier - im getting so horny

And it would be possible to make a coloring tool using x,y,d,r just relpace alpha blend whith red,green and blue channels
nixa is offline   Reply With Quote
Old 14th September 2003, 18:16   #28
Jaak
Major Dude
 
Jaak's Avatar
 
Join Date: Jan 2003
Location: Estonia.
Posts: 851
Quote:
Originally posted by siddhartha_one
there is probably 4 or 5 posts scattered around the forums at the moment which explain why the color mod cant use coords.

And there is a preset here using color mod and beat detection:
http://forums.winamp.com/showthread....hreadid=149154

[edit]
i fealt rude saying that...so.. this thread http://forums.winamp.com/showthread....hreadid=149042 explains the color mod pretty well. the bottom line is, it doesnt work witht he individual pixels when recoloring, it just uses a color-map-like method.
[/edit]
Somehow i dont think so... it wouöd be same as dm with rgb and THAT would be slow as hell

Phi = (1+sqrt(5))/2
Jaak is offline   Reply With Quote
Old 15th September 2003, 05:55   #29
Tuggummi
Bin King
 
Tuggummi's Avatar
 
Join Date: Mar 2001
Location: Finland
Posts: 2,179
So Justin...
Are you going to force me to use wa2.9x or the other wa3 half-breeds or are you going to make this new AVS version compatible with the old&true wa2 versions? (like 2.81, which i happen to like&use and wouldn't change for anything)

Texer Resources

Im retarded... err i mean retired!
Probably both...
Tuggummi is offline   Reply With Quote
Old 15th September 2003, 10:05   #30
fsk
Senior Member
 
fsk's Avatar
 
Join Date: Aug 2002
Location: right around the corner
Posts: 223
Tugg I think it works with w8.1 already (at least it does for me).

Justin could you give ColorMod a recalculate on beat thing.
That could make some stuff faster IMHO?

I hate signatures!!
*bangs his head on the keyboard in hope of getting an idea*
Ufihreevf43n98pevfr
fsk is offline   Reply With Quote
Old 15th September 2003, 10:15   #31
Tuggummi
Bin King
 
Tuggummi's Avatar
 
Join Date: Mar 2001
Location: Finland
Posts: 2,179
Well the first pre version didn't work with my 2.81 and since there isn't any mentioning about it in this post i just assumed that this new version doesn't work either with wa2.81 (or older versions)

Texer Resources

Im retarded... err i mean retired!
Probably both...
Tuggummi is offline   Reply With Quote
Old 15th September 2003, 10:24   #32
sidd
Major Dude
 
sidd's Avatar
 
Join Date: May 2003
Location: Australia
Posts: 1,353
they all work on my 2.92

but thats really not the issue is it.. :\
sidd is offline   Reply With Quote
Old 15th September 2003, 10:48   #33
Tuggummi
Bin King
 
Tuggummi's Avatar
 
Join Date: Mar 2001
Location: Finland
Posts: 2,179
Quote:
but thats really not the issue is it.. :\
Wow, and you figured that out all by yourself?!

Texer Resources

Im retarded... err i mean retired!
Probably both...
Tuggummi is offline   Reply With Quote
Old 15th September 2003, 11:27   #34
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
Quote:
Originally posted by Tuggummi
So Justin...
Are you going to force me to use wa2.9x or the other wa3 half-breeds or are you going to make this new AVS version compatible with the old&true wa2 versions? (like 2.81, which i happen to like&use and wouldn't change for anything)
hello? on what lonely island were you hiding the last year? winamp 2.81 had a serious vulnerability. and there's no real reason why winamp 2.9 should be any slower (if you have a slow computer, don't install the media library).
Yathosho is offline   Reply With Quote
Old 15th September 2003, 11:48   #35
Tuggummi
Bin King
 
Tuggummi's Avatar
 
Join Date: Mar 2001
Location: Finland
Posts: 2,179
Three things i don't have on my comp:

1) Any kind of Net connection.
2) WindowsXP
3) Mp3's that have been downloaded in the past 2 years...

Texer Resources

Im retarded... err i mean retired!
Probably both...
Tuggummi is offline   Reply With Quote
Old 15th September 2003, 12:30   #36
Adasha
Member
 
Join Date: Feb 2001
Location: down the pub
Posts: 98
I have a Q:

the global vars seem to persist after the preset is changed - does that open up the possibility of presets morphing into each other or am i being silly?

if so, maybe we could decide on standard meanings for them (eg i've got reg00 set to the aspect ratio, or reg2* holds various y rotation things) so that they'd all be 'compatible'?

ps. I just changed a synched preset over into globals, and jumped from 18 to 26fps! yay!
Adasha is offline   Reply With Quote
Old 15th September 2003, 13:15   #37
fsk
Senior Member
 
fsk's Avatar
 
Join Date: Aug 2002
Location: right around the corner
Posts: 223
Tugg im sory but I forgot that I instaled it on W2.9x and it doesnt work in older ones like I said, Im a big fat liar (realised it when i got home).

adasha:
I had the same idea when Justin mentioned it with the first previev, but it seems that if you change the value of any Greg in your preset
that Greg will get cleared on load.
But you can for example do this:

first preset:
reg00=blabla;

second preset:
init{ reg01=reg00 }
must not have any reg00=blabla in it.

That way you catch the value.
Im not comleatly sure that what im saying is true but i think it is.
And that is one of the reasons why the idea isnt a good one.

I hate signatures!!
*bangs his head on the keyboard in hope of getting an idea*
Ufihreevf43n98pevfr
fsk is offline   Reply With Quote
Old 15th September 2003, 13:28   #38
Tuggummi
Bin King
 
Tuggummi's Avatar
 
Join Date: Mar 2001
Location: Finland
Posts: 2,179
Yeah i always knew you're a liar, i bet you lied about your preset being nothing more than simple stuff used allover again

But anyway, is it really that hard to make it compatible? Tho im prolly the only who would need it, i can understand if you don't want to apply such thing because of one user.

Texer Resources

Im retarded... err i mean retired!
Probably both...
Tuggummi is offline   Reply With Quote
Old 15th September 2003, 13:47   #39
[Ishan]
Major Dude
 
[Ishan]'s Avatar
 
Join Date: Mar 2003
Location: India
Posts: 1,156
Send a message via Yahoo to [Ishan]
I was just wondering whther we could get multiply and minimum blend modes for buffer save?(justin?)


Amateur AVS'er. All over again.

Last AVS Pack :
Resurgence

[Ishan] is offline   Reply With Quote
Old 15th September 2003, 19:33   #40
justin
Moderator Alumni
 
Join Date: Apr 2000
Location: USA
Posts: 315
Quote:
Originally posted by Ishan_Rocky
I was just wondering whther we could get multiply and minimum blend modes for buffer save?(justin?)
Will do.
justin is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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