Old 25th November 2003, 15:23   #1
justin
Moderator Alumni
 
Join Date: Apr 2000
Location: USA
Posts: 315
new AVS with mouse/kb support

OK added a new eval function, getkbmouse(), that lets you query the mouse position, button states, and keyboard button states. I'll let you guys figure out the implications of this (interactive presets, games, whatnot). Here's the latest DLL:

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

Word. Try a superscope like this:

code:

mousex=getkbmouse(1);
mousey=getkbmouse(2);
mousea=atan2(mousex,mousey);
x=(i-0.5)*mousex - v *0.5*cos(mousea);
y=(i-0.5)*mousey + v*0.5*sin(mousea);
red=if(getkbmouse(3),0,1);



-Justin

P.S. Edit:
"<THEMike> db|not|at|home: why say "I'll let you guys figure out the implications of this" then tell them what they are?"

Well, because you guys always blow me away, so what I think the implications are and what they will turn out to be will likely be very different =)
justin is offline   Reply With Quote
Old 25th November 2003, 15:24   #2
liquidmotion
Smokes Two Joints
Beta Team
 
liquidmotion's Avatar
 
Join Date: Feb 2001
Location: SFBA
Posts: 3,680
Send a message via ICQ to liquidmotion
mm. my erection can hardly be contained

For a good time: shup | stashbox | my homepage
liquidmotion is offline   Reply With Quote
Old 25th November 2003, 15:32   #3
justin
Moderator Alumni
 
Join Date: Apr 2000
Location: USA
Posts: 315
I made an AVSpaint preset, haha.
Turn off clear framebuffer, set blend mode to additive, and
superscope with n=2:

code:

x=if(i,getkbmouse(1),lastx);
y=if(i,getkbmouse(2),lasty);
red=getkbmouse(3);
blue=red;
green=red;
lastx=if(i,x,lastx);
lasty=if(i,y,lasty);




ha ha.
Attached Images
File Type: png avspaint.png (14.2 KB, 247 views)
justin is offline   Reply With Quote
Old 25th November 2003, 15:41   #4
QuadHeliX
Major Dude
 
QuadHeliX's Avatar
 
Join Date: Jan 2003
Location: Washington State
Posts: 1,133
OMG yes!! The Matrix trilogy skin AVS will be the first to use it, we got some neat Texer 2 stuff in there that needs mouse support!! Justins been eatin his Wheaties.
QuadHeliX is offline   Reply With Quote
Old 25th November 2003, 15:42   #5
Kaboon
Moderator
 
Kaboon's Avatar
 
Join Date: Jun 2000
Location: Netherlands
Posts: 2,494
Send a message via ICQ to Kaboon
Awesome stuff! Going to play with it in a sec!
Kaboon is offline   Reply With Quote
Old 25th November 2003, 16:17   #6
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
now we still need $artist/$track/etc support in render/text
Yathosho is offline   Reply With Quote
Old 25th November 2003, 16:21   #7
justin
Moderator Alumni
 
Join Date: Apr 2000
Location: USA
Posts: 315
And here's my first hacked up game, hehe.
based on unconed's and gaekwad2's presets.
Attached Files
File Type: zip game.zip (16.3 KB, 239 views)
justin is offline   Reply With Quote
Old 25th November 2003, 16:22   #8
Jaak
Major Dude
 
Jaak's Avatar
 
Join Date: Jan 2003
Location: Estonia.
Posts: 851
Thise is sweet Justin, now there is only two things i w8
arrays and vectors

[edit]
oh bloody darn! I just noticed how good is the mouse controlled rotation, fianly I dont have to worry if the face of plyherdon is in correct spot YAY!
And avs games, I am allready expecting something very cool from some ppl :]
A M A Z I N G
[/edit]

Phi = (1+sqrt(5))/2
Jaak is offline   Reply With Quote
Old 25th November 2003, 16:44   #9
QuadHeliX
Major Dude
 
QuadHeliX's Avatar
 
Join Date: Jan 2003
Location: Washington State
Posts: 1,133
hahah nice justin, thanks for the coding of the game saves us time!!
QuadHeliX is offline   Reply With Quote
Old 25th November 2003, 17:04   #10
Jaak
Major Dude
 
Jaak's Avatar
 
Join Date: Jan 2003
Location: Estonia.
Posts: 851
\o/

if i find somewhere how rot. dalay works im gonna do 3d one also
Attached Files
File Type: zip mouse controlled rot (2d).zip (358 Bytes, 211 views)

Phi = (1+sqrt(5))/2
Jaak is offline   Reply With Quote
Old 25th November 2003, 17:14   #11
QuadHeliX
Major Dude
 
QuadHeliX's Avatar
 
Join Date: Jan 2003
Location: Washington State
Posts: 1,133
nice

very nice
QuadHeliX is offline   Reply With Quote
Old 25th November 2003, 17:26   #12
YtseJam
Forum King
 
YtseJam's Avatar
 
Join Date: Dec 2000
Location: Israel
Posts: 2,398
Send a message via ICQ to YtseJam Send a message via AIM to YtseJam
AVS games? I think once this becomes a trend, I might finally have a reason to install AVS. Very neat...

YtseJam is offline   Reply With Quote
Old 25th November 2003, 17:48   #13
NemoOrange
Senior Member
 
NemoOrange's Avatar
 
Join Date: Jan 2003
Location: Philadelphia, USA
Posts: 135
Send a message via AIM to NemoOrange
so much for music visualization.
NemoOrange is offline   Reply With Quote
Old 25th November 2003, 17:49   #14
UnConeD
Whacked Moderator
 
UnConeD's Avatar
 
Join Date: Jun 2001
Posts: 2,104
"Reason to install AVS?"

Heathen!

By the way, nemo, mousecontrol might still be useful for VJing and such. Don't dismiss the idea.

UnConeD is offline   Reply With Quote
Old 25th November 2003, 18:14   #15
blazer1504
Senior Member
 
blazer1504's Avatar
 
Join Date: Dec 2001
Location: .fi
Posts: 155
WTF!

hey with this version the fps doesn't jam into 32 or 64 animo (like it did with all the earlier versions) !!!! YAY!
blazer1504 is offline   Reply With Quote
Old 25th November 2003, 20:08   #16
UIUC85
Senior Member
 
UIUC85's Avatar
 
Join Date: Oct 2003
Posts: 272
I'm not downloading all this until it is officially released so here's an idea for someone to work with. Since we can make games I think a real time DDR preset would rock
UIUC85 is offline   Reply With Quote
Old 25th November 2003, 20:32   #17
sidd
Major Dude
 
sidd's Avatar
 
Join Date: May 2003
Location: Australia
Posts: 1,353


bestest creation evaarrrr
sidd is offline   Reply With Quote
Old 25th November 2003, 21:03   #18
Raz
Forum King
 
Raz's Avatar
 
Join Date: Dec 2002
Location: Manchester
Posts: 6,470
Hmm, that sonic preset that zevensoft made is seeming like we'll be seeing something good in the not too distant future.

Thanks Justin.

Raz is offline   Reply With Quote
Old 25th November 2003, 21:05   #19
skupers
Senior Member
 
skupers's Avatar
 
Join Date: Aug 2002
Location: the Netherlands
Posts: 207
Send a message via AIM to skupers
Wow, this is sweet. Justin is tha man. A few months ago, all us avsers thought that avs wasn't going to be updated anymore. Now we got things we didn't even dream of. I think I speak for the whole AVS community, when I say: 'Thank you, Justin'!
skupers is offline   Reply With Quote
Old 25th November 2003, 21:18   #20
Deamon
Major Dude
 
Deamon's Avatar
 
Join Date: Nov 2002
Location: Arnhem, the Netherlands
Posts: 927
omfg this is fucking great! Now all I have to do is understand it

.:HyperNation @ winamp:. .:DeviantArt:.
Thermal is now available for download at DeviantArt.
Deamon is offline   Reply With Quote
Old 25th November 2003, 21:20   #21
UIUC85
Senior Member
 
UIUC85's Avatar
 
Join Date: Oct 2003
Posts: 272
If you dont mind me asking, when is Winamp 5 going to be officially released? I thought it was supposed to be in mid October?
UIUC85 is offline   Reply With Quote
Old 25th November 2003, 21:34   #22
Deamon
Major Dude
 
Deamon's Avatar
 
Join Date: Nov 2002
Location: Arnhem, the Netherlands
Posts: 927
Who gives a fuck, as long there is no final version, updates like this can always happen . I love it. Btw, I think I'm getting a hang at this... sweeet .

.:HyperNation @ winamp:. .:DeviantArt:.
Thermal is now available for download at DeviantArt.
Deamon is offline   Reply With Quote
Old 25th November 2003, 23:07   #23
QuadHeliX
Major Dude
 
QuadHeliX's Avatar
 
Join Date: Jan 2003
Location: Washington State
Posts: 1,133
Dec 4 is justins date

.plan
QuadHeliX is offline   Reply With Quote
Old 26th November 2003, 00:11   #24
Shock Value
Senior Member
 
Shock Value's Avatar
 
Join Date: Aug 2002
Location: USA
Posts: 158
Very nice! Blazer's right, no more locking to 64fps. Mouse controls - awesome! Check it out. Click and hold to ignite, use mouse position to control direction.

EDIT: I just hope you get the crashy bugs out of this version of AVS before it is released. So far it has crashed three times today while editing presets. Unfortunately I couldn't find any specific causes - just out of nowhere a hang, and then an end program popup. Again though, great work Justin!
Attached Files
File Type: zip fire.zip (1.6 KB, 209 views)

Last edited by Shock Value; 26th November 2003 at 01:22.
Shock Value is offline   Reply With Quote
Old 26th November 2003, 01:34   #25
sidd
Major Dude
 
sidd's Avatar
 
Join Date: May 2003
Location: Australia
Posts: 1,353
ack, sob... this just revolutionises avs.

sob

so many uses
...

however.. i still stand by the idea that vis' should be just a sit back and watch thingo.

but games are different, w00t!
sidd is offline   Reply With Quote
Old 26th November 2003, 02:32   #26
[Ishan]
Major Dude
 
[Ishan]'s Avatar
 
Join Date: Mar 2003
Location: India
Posts: 1,156
Send a message via Yahoo to [Ishan]
yay!!!!!! oh man this is just so f*cking sweet
oooh mouse sentivity would kick ass!!!


Amateur AVS'er. All over again.

Last AVS Pack :
Resurgence

[Ishan] is offline   Reply With Quote
Old 26th November 2003, 05:19   #27
Tuggummi
Bin King
 
Tuggummi's Avatar
 
Join Date: Mar 2001
Location: Finland
Posts: 2,179
Quote:
Originally posted by NemoOrange
so much for music visualization.
I think that says it all.
I've got a gut feeling that this will tear apart the avs community into the "gamers" and into the "visualizers". Just like devart now has the more artistic avsters and the forums the more technical ones

But i know i might get a bit over-dramatic sometimes, so i will of course test it first. But aah, i don't want to be a test bunny. I will still wait for the final wa5, thank you.

But seems like you really pushed the forumers buttons ( heh heh ) with this justin, points for you on that

Texer Resources

Im retarded... err i mean retired!
Probably both...
Tuggummi is offline   Reply With Quote
Old 26th November 2003, 05:39   #28
WhiteRayven
Major Dude
 
WhiteRayven's Avatar
 
Join Date: Aug 2003
Posts: 682
Man I dont make avs's. I dont have the time. But I cant wait to see what you guys can do with this.

Why make something idiot proof?? Someone will only make a better idiot!
WhiteRayven is offline   Reply With Quote
Old 26th November 2003, 06:52   #29
Deamon
Major Dude
 
Deamon's Avatar
 
Join Date: Nov 2002
Location: Arnhem, the Netherlands
Posts: 927
it's going to be awesome .

.:HyperNation @ winamp:. .:DeviantArt:.
Thermal is now available for download at DeviantArt.
Deamon is offline   Reply With Quote
Old 26th November 2003, 07:01   #30
[Ishan]
Major Dude
 
[Ishan]'s Avatar
 
Join Date: Mar 2003
Location: India
Posts: 1,156
Send a message via Yahoo to [Ishan]
just one problem tho, in fullscreen you cant use the click function(getkbmouse(3)) cause it closes if we do.


Amateur AVS'er. All over again.

Last AVS Pack :
Resurgence

[Ishan] is offline   Reply With Quote
Old 26th November 2003, 07:11   #31
pure-krypton
Member
 
pure-krypton's Avatar
 
Join Date: Jul 2003
Location: Mooloolaba, Australia
Posts: 60
Think about the possabliites, a 3d maze controled by keyboard, a mini rpg game or a mouse contoled DM bump
w00t w00t w00t

just imagine fragmer's Hybridium controled by mouse having a certain time limit to kill a certain amount of fish
pure-krypton is offline   Reply With Quote
Old 26th November 2003, 07:21   #32
Tuggummi
Bin King
 
Tuggummi's Avatar
 
Join Date: Mar 2001
Location: Finland
Posts: 2,179
Code controlled effect lists. With the ability to turn off&on the el's with global variables or other vars. Now this would truly allow to make some real games without the lost of fps... Im just saying this because if there is really going to be avs games, then there should atleast be the tools to make some decent ones...

[edit]
okay, maybe not so real games, but a step more complex than pong's, worm or shooter games atleast...
[/edit]

Texer Resources

Im retarded... err i mean retired!
Probably both...
Tuggummi is offline   Reply With Quote
Old 26th November 2003, 08:14   #33
sidd
Major Dude
 
sidd's Avatar
 
Join Date: May 2003
Location: Australia
Posts: 1,353
well, i think tug and nemo are being a tad dramatic.

I think this has definatly opened up a completely new avs field, but i dont think it will cause a split in the population. Myself, im planning on using it, no doubt about it, but that doesnt change how much i like to sit back and watch a good set of presets, without pressing buttons and moving the mouse.

Plus, this isnt the only new tool about, dont forget the countless evallib fixes and additions, colormod, global reg's etc, all of which arent really being explored by avsers yet, because they arent officially released.

I think you boys need to lighten up. This is a good thing. If people decide to switch to making games etc only, then they cant have been very good at visualisations in the first place, so it would be no great loss to the community.
sidd is offline   Reply With Quote
Old 26th November 2003, 09:01   #34
Magic.X
Major Dude
 
Magic.X's Avatar
 
Join Date: Feb 2002
Location: Leipzig / Germany
Posts: 859
I guess this is usefull as a kind of optional use for vj'ing like UCD pointed out. Somehow similar to what i want do do with LiveFX, but not exactly.

Justin, we've got one bug here: if i use the mouse or keys, the standard actions will still be executed like popup menu opening on rightclick or switching to fullscreen/editor opening on double leftclick.
These should be disabled as soon as thei're defined within the code.


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

Hotlist 2.3 developement thread (old)
Magic.X is offline   Reply With Quote
Old 26th November 2003, 10:32   #35
Warrior of the Light
Forum King
 
Warrior of the Light's Avatar
 
Join Date: Aug 2002
Location: The Netherlands
Posts: 4,121
I've got some feeling UnConeD is going to upgrade his Wolfenstein...


Justin, you rule. This is just ... (GREAT*10^infinity)

And I agree with Magic and all the above when it comes to mouseclicking. Just keep the [Esc] function working, or else you can't return to normal mode.

Jesus loves you [yes, you] so much, he even died for you so that you will not need to die, but live forever
Warrior of the Light is offline   Reply With Quote
Old 26th November 2003, 11:51   #36
skupers
Senior Member
 
skupers's Avatar
 
Join Date: Aug 2002
Location: the Netherlands
Posts: 207
Send a message via AIM to skupers
An attempt at a interface for one of my presets. Go to the left-top corner and click 'Mouse 1' for control over the rotation, click 'Mouse 2' for size and color control. Texer II is required for this preset.
Attached Files
File Type: zip skupers - mouseinterface demo.zip (6.1 KB, 210 views)
skupers is offline   Reply With Quote
Old 26th November 2003, 14:05   #37
[Ishan]
Major Dude
 
[Ishan]'s Avatar
 
Join Date: Mar 2003
Location: India
Posts: 1,156
Send a message via Yahoo to [Ishan]
hehe man! with these new features the AVS-world is gonna change considerably.


Amateur AVS'er. All over again.

Last AVS Pack :
Resurgence

[Ishan] is offline   Reply With Quote
Old 26th November 2003, 14:35   #38
Raz
Forum King
 
Raz's Avatar
 
Join Date: Dec 2002
Location: Manchester
Posts: 6,470
Hmmm... Jack, think mathword polyhedra models, the way they're mouse controlled?

Raz is offline   Reply With Quote
Old 26th November 2003, 16:15   #39
QuadHeliX
Major Dude
 
QuadHeliX's Avatar
 
Join Date: Jan 2003
Location: Washington State
Posts: 1,133
justin will this for sure be in winamp 5 AVS?
QuadHeliX is offline   Reply With Quote
Old 26th November 2003, 21:49   #40
Nic01
Major Dude
 
Nic01's Avatar
 
Join Date: Mar 2002
Location: The Biggest Little City
Posts: 508
Send a message via AIM to Nic01
I'm happy and all, but please change the shortcut for fullscreen from doubleclick to something else. It really messes things up...

[soon to leave, sirs]
Nic01 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