Old 30th June 2005, 08:43   #1
nNemethon
Junior Member
 
Join Date: Jun 2005
Location: Ballarat, Australia
Posts: 10
3+ colour gradient in SSC - how to?

I am basically trying to create the standard, VERY boring led-style spectrum with red at y=1, yellow at y=0 and yup, green at y=-1.

I've noticed some gradients use circular/Pi progression, some sin/cos varients and others that I need to go back to school to remember! :P (Oi, just turned 32, mind failing and getting grumpier at teenagers!)

If there is someone that can show a nice and simple way of doing this, I'd be much grateful.

Cheers and ty.

Oh, and am I right in believing that d is a stencilling/alpha operand? :s
nNemethon is offline   Reply With Quote
Old 30th June 2005, 14:56   #2
Warrior of the Light
Forum King
 
Warrior of the Light's Avatar
 
Join Date: Aug 2002
Location: The Netherlands
Posts: 4,072
D stands for distance from the center.
(0=center; 1=corners)

I recommend you take a look at the tutorials about these basic questions

See attachment for templates for what you requested.

Good luck and welcome to AVS!
Attached Files
File Type: zip wotl - ledbar.zip (809 Bytes, 138 views)

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 1st July 2005, 01:13   #3
nNemethon
Junior Member
 
Join Date: Jun 2005
Location: Ballarat, Australia
Posts: 10
Thank you Wotl.

Helps very muchly. I didn't even think of above(), below() - still getting used to this side of programming. (I am *much* better with hex-editors and decompilers!)

The first place I went to was the tutes links, but not for lack of trying, I couldn't get what I was after. I ended up with this basic gradient which blends them very nicely when used in conjuction with vert move and fade:

red=1-y;
green=1+y;
blue=0;

Thank you again.

Erik
nNemethon is offline   Reply With Quote
Old 3rd July 2005, 08:30   #4
MaTTFURY
Major Dude
 
MaTTFURY's Avatar
 
Join Date: Jun 2004
Location: Australia,
Posts: 1,356
by the looks of things i wouldn't get too comfortable with AVS it has become open-source and the other projects that are now starting...

i am not normal, no really.
MaTTFURY is offline   Reply With Quote
Old 3rd July 2005, 09:25   #5
nNemethon
Junior Member
 
Join Date: Jun 2005
Location: Ballarat, Australia
Posts: 10
Yeh, I read the threads on that. :|

Whether it's a good thing or bad is up to be seen. Could just make a mess of things like all the versions of html out there. Hope not.

nNem
nNemethon is offline   Reply With Quote
Old 5th July 2005, 11:48   #6
Jaak
Major Dude
 
Jaak's Avatar
 
Join Date: Jan 2003
Location: Estonia.
Posts: 851
thats just bullshit, AVS is open source, but absolutely no work has been done on it. From the other end, if we start working on it, we will keep it compatible with old presets, otherways there would be no point on working on it, would there?

Phi = (1+sqrt(5))/2
Jaak is offline   Reply With Quote
Old 8th July 2005, 08:54   #7
MaTTFURY
Major Dude
 
MaTTFURY's Avatar
 
Join Date: Jun 2004
Location: Australia,
Posts: 1,356
tweaks in graphics, adding the optimization(s)? or even adding the ape's into the actual avs itself... (a broad selection, triangle, avstrans etc., etc.,)

i am not normal, no really.
MaTTFURY is offline   Reply With Quote
Old 8th July 2005, 17:21   #8
TomyLobo
Major Dude
 
TomyLobo's Avatar
 
Join Date: Feb 2004
Location: Germany
Posts: 580
adding triangle to avs wouldnt help a lot. the code is a mess

If you can't say something nice, say something surrealistic.
TomyLobo is offline   Reply With Quote
Old 9th July 2005, 00:03   #9
nNemethon
Junior Member
 
Join Date: Jun 2005
Location: Ballarat, Australia
Posts: 10
needs a 'make me uber' button!

Although it may get messy if pple start working on the open source, I still like it as is as it gives me another interest on the comp (including the other 200 that are sitting idle! )

Being a gfx nut, I can use the effects in renders and the like.

And as for new effects etc., there's always these forums to help - (*whine* How do I make a great avs with moving particle and the new render 'ultrascope' etc. [grin])

Cheers

nNem
nNemethon 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