Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2001-11-26 | Needs x11.buildlink.mk (at least with xpkgwedge) | abs | 1 | -1/+2 | |
2001-10-31 | Move pkg/ files into package's toplevel directory | zuntum | 2 | -1/+1 | |
2001-07-15 | Install the referenced water.txt file. | jlam | 2 | -2/+6 | |
2001-07-10 | Initial import of water-1.0 | zuntum | 4 | -0/+37 | |
This is a very cool water effect, written by Scott Scriven. This code uses palette tricks to do the height mapping, and assumes an image size of 320x200. This means that if you want to use your own images, you'll need to create them as 320x200x8 images with a palette that ranges from darker colors at entry 0 to lighter colors at palette entry 255. I really like this demo, so be sure and read water.txt to see what keys enable what effects and how it's all done. |