xv
to convert the image to an X11 bitmap file (using B&W dithering) then
make as many copies as you have objects in the image and edit each one
with bitmap
setting the bits in the image that corrispond to
the object. Then you must convert the xbm files to raw data (by writing
the resulting filename_bits[]
array to a file using a
C wrapper and the write()
system call).
After that just follow the example in walk.pl
to setup
a gateway for it. You'll end up with a bunch of files called object.mask.
See the walk example source
and the demo that
uses it.
________________________________________ Tony Sanders