How to make a more complex bumpmap

First of all, you'll need to have read the previous tutor, about simple bumpmaps. Now I will introduce the transparency map. It's actually really simple to understand this one. It just tells Bumpy Extreme where to 'bump' and where to put the background color. A black pixel means put down the background color and a white one means 'bump'. In addition to the "transmap" parameter, you'll need the "background" parameter. You'll need to fill in the hex color code of the background here.

Images:

t2c.gif, colormap, 80x40 pixels colormap
t2b.gif, bumpmap, 82x42 pixels bumpmap
t2t.gif, transmap, 80x40 pixels transmap

Html code:

<APPLET code="BumpyExtreme.class" width="160" height="80">
<PARAM name="colormap" value="t2c.gif">
<PARAM name="bumpmap" value="t2b.gif">
<PARAM name="transmap" value="t2t.gif">
<PARAM name="background" value="000000">
</APPLET>

Example:



How to adjust the lights