Old 26th November 2003, 22:36   #1
justin
Moderator Alumni
 
Join Date: Apr 2000
Location: USA
Posts: 315
2.8 alpha 2 :)

http://firehose.net/~deadbeef/avs28alpha2.zip

added eval code for effect lists (heh had to do a big hack to fix the broken
structure of effect list configs)..

also added new text formatting stuff, like $(title), $(reg00), $(playpos), etc.
also fixed the alpha clamping bug in dmove (I think)


I'm gonna take a look at having presets be able to disable most of the keyboard action forwarding to winamp/etc... so a game preset could request that the keyboard stuff be ignored... anyway =)

-Justin
justin is offline   Reply With Quote
Old 26th November 2003, 22:43   #2
Shock Value
Senior Member
 
Shock Value's Avatar
 
Join Date: Aug 2002
Location: USA
Posts: 158
Effect list coding... I was JUST thinking about how this would be useful! Very nice. This makes something I'm working on much better looking and faster. I'll have to check out the text formatting stuff too.

EDIT: That text formatting is nice, but unfortunately the text component itself is kind of hard to use. Setting a position and size is difficult across different resolutions, and besides the text itself, nothing is dynamic. Texer II-like functionality, except with text, would be awesome, but I have no idea how hard this would be to implement. It's just that I don't see myself using the text component much due to these problems. Great work though. AVS is getting so much better with each new release.

Last edited by Shock Value; 26th November 2003 at 23:03.
Shock Value is offline   Reply With Quote
Old 27th November 2003, 00:09   #3
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,347
Re: 2.8 alpha 2 :)

Quote:
Originally posted by justin
also added new text formatting stuff, like $(title), $(reg00), $(playpos), etc.

go justin, go!
Yathosho is offline   Reply With Quote
Old 27th November 2003, 00:40   #4
S-uper_T-oast
Forum King
 
S-uper_T-oast's Avatar
 
Join Date: May 2003
Location: Fnord?!
Posts: 2,657
All i can say is, JUMPING JEEHOZAFET YEAH! Justin you are my god.
S-uper_T-oast is offline   Reply With Quote
Old 27th November 2003, 02:08   #5
[Ishan]
Major Dude
 
[Ishan]'s Avatar
 
Join Date: Mar 2003
Location: India
Posts: 1,156
Send a message via Yahoo to [Ishan]
oh man ! i'm gonna faint Hail Justin!


Amateur AVS'er. All over again.

Last AVS Pack :
Resurgence

[Ishan] is offline   Reply With Quote
Old 27th November 2003, 04:30   #6
Jaak
Major Dude
 
Jaak's Avatar
 
Join Date: Jan 2003
Location: Estonia.
Posts: 851

All this is very nice, but still no vectors, no arrays...
bohoo...





Phi = (1+sqrt(5))/2
Jaak is offline   Reply With Quote
Old 27th November 2003, 04:52   #7
UnConeD
Whacked Moderator
 
UnConeD's Avatar
 
Join Date: Jun 2001
Posts: 2,104
It's not that simple Jaak .

UnConeD is offline   Reply With Quote
Old 27th November 2003, 05:09   #8
[Ishan]
Major Dude
 
[Ishan]'s Avatar
 
Join Date: Mar 2003
Location: India
Posts: 1,156
Send a message via Yahoo to [Ishan]
whats the $(playpos) in the text formatiing??


Amateur AVS'er. All over again.

Last AVS Pack :
Resurgence

[Ishan] is offline   Reply With Quote
Old 27th November 2003, 05:09   #9
sidd
Major Dude
 
sidd's Avatar
 
Join Date: May 2003
Location: Australia
Posts: 1,353
Woow, impressive.

New line character in text would be nice.
Also, how about the trackpos and tracklen available as numerical values in the standard evallib. That way we could make purty slide bars and things with superscope.
sidd is offline   Reply With Quote
Old 27th November 2003, 05:11   #10
Tuggummi
Bin King
 
Tuggummi's Avatar
 
Join Date: Mar 2001
Location: Finland
Posts: 2,173
Thanks Justin

Texer Resources

Im retarded... err i mean retired!
Probably both...
Tuggummi is offline   Reply With Quote
Old 27th November 2003, 06:10   #11
Magic.X
Major Dude
 
Magic.X's Avatar
 
Join Date: Feb 2002
Location: Leipzig / Germany
Posts: 859
!

OMFG THIS IS SO COOL!!!

I took a look at the new effect lists and found out that values for enabled are not stored permantently.

To code a simple onbeat on/off switch, the following code should be sufficient:


FRAME:
enabled=if(beat,bnot(enabled),enabled);


Instead i had to code the following to make it work:


INIT:
e=enabled;
FRAME:
e=if(beat,bnot(e),e);
enabled=e;


It seems as if enabled was reinitialized from the checkbox each frame.

And could you please use b instead of beat? I've gotten used to b (which is still missing in normal movements) and having two diffrent expressions will confuse the hell out of newbies.



-=[The Ultimate VJ-Tool for AVS]=-

Hotlist 2.3 developement thread (old)
Magic.X is offline   Reply With Quote
Old 27th November 2003, 06:11   #12
skupers
Senior Member
 
skupers's Avatar
 
Join Date: Aug 2002
Location: the Netherlands
Posts: 207
Send a message via AIM to skupers
I can hardly keep up with all those new features. It'll take months before we've seen what all these features are capable of. And I would like to thank you for this.
skupers is offline   Reply With Quote
Old 27th November 2003, 06:17   #13
UnConeD
Whacked Moderator
 
UnConeD's Avatar
 
Join Date: Jun 2001
Posts: 2,104
MagicX: normal movements are *static*. They don't use onbeat. By the way, overriding by UI-settable options has always been the standard (e.g. red/green/blue in scope).

UnConeD is offline   Reply With Quote
Old 27th November 2003, 06:18   #14
Tuggummi
Bin King
 
Tuggummi's Avatar
 
Join Date: Mar 2001
Location: Finland
Posts: 2,173
Magic, nobody uses B Well nobody else anyway Why use it when you can just define it yourself? I've never quite understanded it...

Texer Resources

Im retarded... err i mean retired!
Probably both...
Tuggummi is offline   Reply With Quote
Old 27th November 2003, 06:21   #15
Magic.X
Major Dude
 
Magic.X's Avatar
 
Join Date: Feb 2002
Location: Leipzig / Germany
Posts: 859
Me too!

Some ideas for render/text

I'd like to access
$(artist)
$(album)
$(streamname)
too.

Positioning should be codeable and optional word wrapping should be available.


-=[The Ultimate VJ-Tool for AVS]=-

Hotlist 2.3 developement thread (old)
Magic.X is offline   Reply With Quote
Old 27th November 2003, 07:41   #16
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,347
Quote:
Originally posted by siddhartha_one
New line character in text would be nice.
i'm wondering if jheriko is (still) working on text ii. that was a completely overworked text renderer supporting multiline text and text-pages (like frames, more advanced than the current ";").
Yathosho is offline   Reply With Quote
Old 27th November 2003, 13:27   #17
Deamon
Major Dude
 
Deamon's Avatar
 
Join Date: Nov 2002
Location: Arnhem, the Netherlands
Posts: 927
omfg sweet

.:HyperNation @ winamp:. .:DeviantArt:.
Thermal is now available for download at DeviantArt.
Deamon is offline   Reply With Quote
Old 27th November 2003, 13:37   #18
[Ishan]
Major Dude
 
[Ishan]'s Avatar
 
Join Date: Mar 2003
Location: India
Posts: 1,156
Send a message via Yahoo to [Ishan]
can anyone explain me about $playpos and all?


Amateur AVS'er. All over again.

Last AVS Pack :
Resurgence

[Ishan] is offline   Reply With Quote
Old 27th November 2003, 14:06   #19
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,347
Quote:
Originally posted by [Ishan]
can anyone explain me about $playpos and all?
you could've found out yourself by simply putting $(playpos) into the render/text. it displays the play position of the sound file you listen to
Yathosho is offline   Reply With Quote
Old 27th November 2003, 23:36   #20
Shock Value
Senior Member
 
Shock Value's Avatar
 
Join Date: Aug 2002
Location: USA
Posts: 158
I don't know if this has been said, but there are issues with getkbmouse(1) and getkbmouse(2) and pixel doubling. When in doubling mode, the mouse x and y values are centered in the upper left quadrant of the window, instead of the center of the window.
Shock Value is offline   Reply With Quote
Old 28th November 2003, 04:00   #21
horse-fly
Account Closed
 
horse-fly's Avatar
 
Join Date: Apr 2001
Posts: 2,360
Quote:
Originally posted by S-uper_T-oast
All i can say is, JUMPING JEEHOZAFET YEAH! Justin you are my god.
that was from a satellite tv commercial!!!

btw: those text options will rock my socks

EDIT: what does $(playpos:2) do?

Last edited by horse-fly; 28th November 2003 at 04:16.
horse-fly is offline   Reply With Quote
Old 28th November 2003, 12:46   #22
[Ishan]
Major Dude
 
[Ishan]'s Avatar
 
Join Date: Mar 2003
Location: India
Posts: 1,156
Send a message via Yahoo to [Ishan]
how silly of me!


Amateur AVS'er. All over again.

Last AVS Pack :
Resurgence

[Ishan] is offline   Reply With Quote
Old 28th November 2003, 22:50   #23
S-uper_T-oast
Forum King
 
S-uper_T-oast's Avatar
 
Join Date: May 2003
Location: Fnord?!
Posts: 2,657
Quote:
Originally posted by Horse-Fly
that was from a satellite tv commercial!!!
That commercial is Hilarious.

$(playpos) gives the current playpos counting up
$(playpos.n) gives the current playpos with n digits after the second spot (miliseconds, decisecond?, etc...)(maximum three)

Don't know about $(playpos:) though, maybe a typo?
S-uper_T-oast is offline   Reply With Quote
Old 28th November 2003, 23:01   #24
zamuz
Senior Member
 
zamuz's Avatar
 
Join Date: Nov 2002
Location: santiago, chile
Posts: 152
keep em coming justin, maybe one of these days i'll actually try using these new features
zamuz is offline   Reply With Quote
Old 29th November 2003, 02:31   #25
UnConeD
Whacked Moderator
 
UnConeD's Avatar
 
Join Date: Jun 2001
Posts: 2,104
By the way, the parameter that defines the key is not an ASCII code, but a virtual key code. I've attached the list for those who don't have MSDN handy .
Attached Files
File Type: zip keycodes.zip (7.3 KB, 2708 views)

UnConeD is offline   Reply With Quote
Old 29th November 2003, 09:23   #26
Deamon
Major Dude
 
Deamon's Avatar
 
Join Date: Nov 2002
Location: Arnhem, the Netherlands
Posts: 927
thanks for that one UCD . This comes in handy.

.:HyperNation @ winamp:. .:DeviantArt:.
Thermal is now available for download at DeviantArt.
Deamon is offline   Reply With Quote
Old 29th November 2003, 18:54   #27
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
Quote:
Originally posted by killahbite
i'm wondering if jheriko is (still) working on text ii. that was a completely overworked text renderer supporting multiline text and text-pages (like frames, more advanced than the current ";").
I forgot about that ages ago, might be an idea to go back to it if the final AVS2.8 is lacking more text features.

-- Jheriko

'Everything around us can be represented and understood through numbers'
jheriko is offline   Reply With Quote
Old 2nd December 2003, 21:17   #28
UnConeD
Whacked Moderator
 
UnConeD's Avatar
 
Join Date: Jun 2001
Posts: 2,104
By the way, my list shows key values in hexadecimal. You will need to convert them to decimal for use in AVS, e.g. using the Windows calculator.

UnConeD 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