Archive: avs 2.7pre2 woo hoo


13th September 2003 22:25 UTC

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:



-J

13th September 2003 22:30 UTC

*DROOL*

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


13th September 2003 22:35 UTC

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).


13th September 2003 22:36 UTC

cool, i like this,

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


13th September 2003 22:43 UTC

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


13th September 2003 22:49 UTC

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

13th September 2003 22:51 UTC

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

13th September 2003 23:17 UTC

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


13th September 2003 23:33 UTC

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

:D

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


14th September 2003 00:23 UTC

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

:D

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

14th September 2003 01:11 UTC

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 :)


14th September 2003 01:12 UTC

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 :p


14th September 2003 02:16 UTC

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,


14th September 2003 02:31 UTC

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....


14th September 2003 02:38 UTC

You think that was bad - look at his thread in the Recycle Bin(the new forum on these forums).

It makes even less since.


14th September 2003 03:45 UTC

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?


14th September 2003 04:53 UTC

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.


14th September 2003 07:34 UTC

hehe this is awesome:D


14th September 2003 09:31 UTC

Quote:


14th September 2003 10:10 UTC

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]


14th September 2003 11:08 UTC

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.


14th September 2003 11:13 UTC

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]


14th September 2003 11:41 UTC

thanks sidd. That thread must have slipped passed me, as a lot has these last couple of days.


14th September 2003 17:59 UTC

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).


14th September 2003 18:00 UTC

Or the ability to add custom DMs/SSCs to the list (to make it easier to add the 3D conversion template).


14th September 2003 18:02 UTC

Or just add a funtion to roto blitter to move on the x and y axis.


14th September 2003 18:41 UTC

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


14th September 2003 19:16 UTC

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

15th September 2003 06:55 UTC

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)


15th September 2003 11:05 UTC

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?


15th September 2003 11:15 UTC

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)


15th September 2003 11:24 UTC

they all work on my 2.92

but thats really not the issue is it.. :\


15th September 2003 11:48 UTC

but thats really not the issue is it.. :\
Wow, and you figured that out all by yourself?! :igor: :p

15th September 2003 12:27 UTC

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).

15th September 2003 12:48 UTC

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...


15th September 2003 13:30 UTC

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!


15th September 2003 14:15 UTC

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:D (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:D but i think it is.
And that is one of the reasons why the idea isnt a good one:).


15th September 2003 14:28 UTC

Yeah i always knew you're a liar, i bet you lied about your preset being nothing more than simple stuff used allover again :p

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.


15th September 2003 14:47 UTC

I was just wondering whther we could get multiply and minimum blend modes for buffer save?(justin?)


15th September 2003 20:33 UTC

Originally posted by Ishan_Rocky
I was just wondering whther we could get multiply and minimum blend modes for buffer save?(justin?)
Will do. :)

15th September 2003 21:11 UTC

also good idea would be HSV support for CMo
:D


15th September 2003 21:23 UTC

Can be handy, though I expect that the RGB2HSV code used with scopes can be easily implented in the CMo.


15th September 2003 23:18 UTC

How can I get it to work with Winamp3 ? It won't show up in the thinger. I tried renaming it to avs.wac but it didn't work.


16th September 2003 00:34 UTC

i think i found a bug/missing feature in 2.7pre2 (or is it just me).

when i choose a folder for the random mode, and navigate through the presets with U, the first preset doesnt get loaded when you're pressing U viewing the final preset.

please change that back, i wanna jump from LAST to FIRST!


16th September 2003 08:33 UTC

please! *sigh* Some people never learn... ;)


16th September 2003 09:54 UTC

Yesterday I DL the pre2 version and I checked the SSC UI and a big smile visited my face. Triple hura for all the new UIs. May I ask why is it better if beat and frame blocks are switched?. And Init could be executed on sizechange in all all components IMHO, or even better the 'main' could have an 'on resize' block.

The SSC bug I was talkin about on the other thread is in fact an overlay bug.For some reason the color chanells don't align right!? You can see this as ugly stuff on borders between colors. This is a real pain in the ass when I project AVS in clubs, since overlay is the only way to do it and still have the editor open. Im not sure this doesnt only happen on my computer.
I noticed one on the SSC too (if the line goes offscreen on the bottom or right side it doesnt draw the last line of pixels on the bottom or right side).
I attached a preset that shows these two bugs and the text one.
Another very anoying one is the main list not showing everything in correct order all the time.

And two things that would realy kick ass:
codable linewidth - a realy usefull one IMO
antialiseing - a major SSC cosmetic fix (now all SSC stuff is either blured beyond recognition or jagged as hell:D + a lot of my presets look ugly :cry: )

Enough whineing:), 2.7 version kicks lammas balls, Im still trying to contemplate how all the new stuff will effect presets from here on. Looking forward to W5 and the first packs.

edit> just read a post by unconed in the other thread(dunno how I missed it last time). He sais that overlay thing isnt a bug at all and that it's suposed to be that way :cry:. Just ignore that part then:).


16th September 2003 10:02 UTC

To Justin :

I don't know if someone else has already done a translation of the previous versions, so it may be a stupid request ...

In order to make the translations easier, is it possible to have all the strings (specially the new helps) at the same place (in the resource would be the best) rather than dispatched in the (binary) code ?


Anyway, it's a nice job ...

Congratulations !


18th September 2003 01:10 UTC

Could somebody please help me.


18th September 2003 02:51 UTC

Why do you use Winamp3 Hungryskull? That's a better question....


19th September 2003 00:33 UTC

Can anyone answer my question?


19th September 2003 08:23 UTC

You cannot get it to work with Winamp 3. Winamp 3 does not use vis_avs.dll but a .wac file. You have to download winamp 2 or 5 to run AVS 2.7.


3rd October 2003 17:16 UTC

Cool man, I am wait for final version...



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 /* */
:(