Archive: Laser??? WTF???


23rd May 2003 02:01 UTC

Laser??? WTF???
I was poking around in vis_avs.dll with Resource Hacker...and I found the display dialog there...except there was a section on the bottom called Laser.

Does this appear normally in anybody's AVS?


I searched the plugins section, but there was no 'Laser' addon I could find.


23rd May 2003 02:43 UTC

Odd, I never saw that when hex hacking it. Although I did manage to add atan2 to the expressions dialog, and change some other things to be more meaningful.


23rd May 2003 02:46 UTC

Hah. Never went to look in there, but it's definitely there.

It doesn't seem to do anything do. Made an APE to show all hidden stuff (add to preset, then go into Display options).

Perhaps they used it for a custom version of AVS and left it in hidden so they could keep the same resource files for both builds?


23rd May 2003 04:21 UTC

Now I have and Idea. Why not use resource hacker to change the dialog of color fade. Add what the sliders are meant for. Can it be done. I will try.


23rd May 2003 06:41 UTC

Well, using a hex editor, you have to be careful to keep strings the same length, otherwise wacky things start happening. But I think res editors keep the pointers and stuff working. So it may be possible.


23rd May 2003 15:18 UTC

shreyas: um what would you change it TO? it's not like we have a 100% certainty what everything does...


23rd May 2003 16:23 UTC

Using ResourceHack I managed to make ALL of the superscope and DM textboxes take up about 3-4 lines, each with their own scrollbars too. It's a really great program.


23rd May 2003 21:11 UTC

Did you use the quickreply? I should go and do the same to my boxes - that would be really helpful.


24th May 2003 01:52 UTC

A scrollbar might be useful.


24th May 2003 01:56 UTC

you just have to remember to delete all the carraige returns.


24th May 2003 02:31 UTC

http://forums.winamp.com/showthread....hreadid=112121

i got the demo on my hard disk.... i'l upload it for you later

[e] http://home.iprimus.com.au/rcruse/AVSL_web.mpg (15.6Mb)

check it out[/e]


24th May 2003 07:51 UTC

I'm not sure what am I supposed to be right now - happy or mad?
On one side, there's actual development on AVS (and new components - possible that SSC is revamped)... CD-Audio support added...
As for the mad side, let's just say there's a lot of complaints going around in my head...


24th May 2003 09:35 UTC

I have done lots of things the the .dll file. Just add a label stating the color fade options. I think they stand for hue, lum and sat (I am not sure, very doubtful)
But can the updated version be released? That would'nt violate the laws, would it?

edit: I am a Major Dude! I didnt notice...


24th May 2003 09:44 UTC

cd audio should work anyway..... in winamp 2.91
provided that you have aspi drivers installed


24th May 2003 14:24 UTC

shreyas:
The color fade doesnt use HLS, as this wouldnt really effect the way it fades out at all. It is is tad more complicated, and if you read this you will see why Nullsoft didnt even try to explain it to all the n00bs who download AVS.

This is what i have worked out:

The top bar deals with the additive colors, or cyan, magentta and yellow. If it is left of half way across, is timesed by a number between 0 and 1, if more than half way across, it is timesd by a number greater than 1.
Because C,M and Y are comprised of mixes of the base colours (RGB), this method connot make solid cyans etc. Instead, as you increase the slider, the colors apear to lose their base, or their saturation, and eventually fade to white.

The middle slider deals with the base colours, or Red, Green and Blue. It works in the same way as CMY, by multiplying by 0-1, or 1>. Because it is multiplied, not added, and colours connot excede there maximum potential, the colours dont fade to white. Instead, more to the right you put it, the more the original colours will become solid red, green or blue.

The last one sort of works with brightness, luminescence, or the amount of 'white' (whichever does it for you). Works with the same multiplication method as above. This is the most 'normal' and useful: This will make the screen either fade to black or white. At a rate depending on how far to the left or right you place the bar.

A few tips:
the normal fadeout effect can be done by placing all the bars in the same position, and to the left of the center.

You can avoid the CMY bar doing the fading to white thing by makjing sure the RGB bar is always postioned slightly greater.

Remember that the sliders do not actually reprisent the colour values, they are multipliers and such.

If you dont understand the multiplication thingo, it is basically doing this:
if the slider is x units to the left: variable/x
if the slifer is x units to the right: variable*x

[edit] fixed a few misleading sentences


24th May 2003 20:22 UTC

Trans / Colorfade
Technically, it changes the HSL values in a pre-determined fasion.
The algorithm can be tweaked using the three slidebars. Their
function is extremely mysterious, and it takes a little experience to
get out of it what you want, but overall it is an extremely useful
way to make semi-cyclic color pallettes without too much effort
involved.

If anyone knows exactly what this does, please e-mail me at:
therealatero@hotmail.com.

Options:

Normal colorfade (first three slidebars)
The first slidebar controls the evolution of hue towards the primary
colors red, green, and blue (on the left) or towards the secondary
colors cyan, magenta, and yellow (on the right).
The second slidebar controls the evolution of saturation towards
grayscale - low saturation - on the left, or pure color - high
saturation - on the right.
The third slidebar controls the evolution of luminosity towards
black - low luminosity - on the left, and white - high luminosity - on
the right.

OnBeat change (last three slidebars)
This changes the colorfading temporarily every beat, but it also
affects the normal colorfade in ways that I cannot yet explain, so
be careful using it. Apparantly, it is active even when there isn't a
beat.

OnBeat randomize
This *permanently* randomizes the colorfade settings every beat.
Thus using this function makes tweaking the normal colorfade
pointless


This can all be quite confusing, considering the first two slidebars
work simply - changing the saturation and luminosity values linearly -
however the first one has a more complicated function. Just
remember: you'll get used to it eventually. Don't just give up because
you can't figure it out :)

^^^ Excerpt from AVSP 1.0.9 ^^^
Note that none of it's perfect yet and I've not gotten to proofreading/testing either....


25th May 2003 08:09 UTC

Zevensoft :-

Could you pleeease Pm me on the details of the program you used for the text boxes modifications I have been looking for something like that for ages.


25th May 2003 09:43 UTC

sigh.. can you actually read my posts..
the first bar deals with CMY strictly..
if you put it to the left, these colours are decreased, so the colours are bound gradually back to pure RGB's.
Saturation does not have anything todo with it being a pure cooour or not. For example, if you have it on max saturation, it wont result in pure RGB, it will result in white.
You can imagine that if the first slider is all the way to the left, and the second is all the way to the right, and the last one centered. The coluors will be ALMOST pur RGB.

Test it with clear every frame and a nice arangment of colours on screen and youll see what im talking about.

Also, the first two sliders are not linear:
The normal effect is having all three in the middle, left is detrimental, right is augmentive.


25th May 2003 10:14 UTC

play around with this:

oh, and the on beat random works like this:
it picks the random mode on beat, jumps to it immediatly, and then slowly fades each hypothetical slider back to the position governed by the top bars.
The same deal goes for normal on beat mode, exept that no randomising is done, and the on beat mode is specified by the bars on the bottom.
So it does matter what you have in the top three bars no matter what mode you select.


26th May 2003 03:36 UTC

i read your post. it was wrong. hence my posting. got it?

the first bar does NOT deal with solely CMY, it sets a fade towards the base or secondary colors. if your post were correct then putting the top bar all the way to the right would be the same as putting the middle bar all the way to the left.


26th May 2003 04:30 UTC

ok


9th November 2005 16:29 UTC

well i need some laser software do any know here ? or just like visual ?