 - VISualization plug-in POUTIBLOK V1.01  for  WinAMP -

Code: Patapom / BOMB
Last revision: 5 October 1998

Requirements:

 - Windows
 - DirectX 3 at least!
 - A good CPU. Many filters are applied, so a P166 should be a minimum... :)


I won't bother you with technical stuff: I just wanted to say it was my first Windows code. I found WinAmp was quite
a good playground to test everything I had to learn: DirectDraw / Dialog management / ASM inline / Memory protection
You can get the source if you want to by sending me an EMail at Patapom@hotmail.com

I hope you'll enjoy the echo-tunnel trip. It's the only idea I had to make something fun. If you have any cool idea,
don't hesitate to make me know.


                          ----------- You can skip the following if you don't care! -------------


A little note about the Fade-Table slider controls because they might not be very explicit to you... If you're just
a bit familiar with easy mathematics, the formula I use to compute the light intensity is:

           -->  I = FadeOffset + FadeAmplitude * t ^ FadePower  <--

with t being the curve parameter and I the resulting intensity.

The little tick marks in the Fade-Table slider bars (Amplitude and Power) represent the value 1.

Default offset is 0 (The leftmost slider position), if you make it grow, the tunnel will get more and more lighted.
              (The value 1 is useless since everything is fully lighted :)

Default amplitude is 1 (The middle slider position), you can set it down to 0 and up to 2.
              (The value 0 is useless since you could see NO color variation at all)

Default power is 1, the leftmost tick mark of this slider represents a very small value (around 1e-4) and the 
rightmost one represents the maximum value of power which is approximatively 2.7 (The power slider is quite special
since it doesn't increase linearly but rather exponentially)

A power of 1 gives a linear increase of the intensity, a power > 1 tends to privilegiate the higher values so dark
colors get darker whereas a power < 1 tends to privilegiate the lower values so dark colors get brighter.
             ___ 
          __/                    _/                       |
       __/                     _/                        /
      /                      _/                       __/
     /                     _/                      __/
    |                     /                    ___/

     Power < 1            Power = 1             Power > 1


                          ------------------------------------------------------------------------

 MKC
=====

You can find with POUTIBLOK V1.01 a palette generator written by Mick. (A friend of mine)
It's a bit outdated but it works fine and generates palettes in the format RGB with 6 bits per color channel.
The colors are arranged linearly and thus, each entry uses 3 bytes.

MKC.EXE (MaKe Colors)  was written in WATCOM C so it needs DOS4GW.EXE to run properly and because it uses a
VESA 800x600x8 Bits mode, you will need a VESA 2.0 compliant driver like Scitech's UniVBE. It can also work
correctly if you have graphic cards that have the VESA 2.0 embedded. (Matrox Mystique / ATI Rage / ET6000 etc...)
<It absolutely does NOT work under Windows NT!>

Make it run, adjust the curves by dragging and dropping the control boxes in each channel curve.
Quit it by pressing ESCape.
Save your palette by pressing RETURN then enter the name of the file you want to save and then, RETURN again.

                                          ---------------- * ----------------

Comments, suggestions, critics can be sent to Patapom@hotmail.com but I guess I already told that a couple of times :)

Have fun and ragougnaflu!
