home *** CD-ROM | disk | FTP | other *** search
/ Peanuts NeXT Software Archives / Peanuts-2.iso / Unix / graphics / nphoon.README < prev    next >
Encoding:
Text File  |  1991-03-19  |  1.8 KB  |  38 lines

  1. This is an adaptation of the quite clever program by Jef Poskanzer and 
  2. Craig Leres, xphoon.  Most of the code is theirs.  All the windowing
  3. code was very nicely separate from the rest of the program, so all I 
  4. had to do was replace their window code with code to work for the NeXT.
  5.  
  6. Their code has a bitmap compiled into the program, then it hacks the
  7. bitmap to do the shading.  Then we get to the window specific stuff.
  8. What my code does is take the hacked moon bitmap, and output it to a file
  9. in xbitmap format.  Then it runs the xbm through three programs from
  10. the pbmplus package, and finally run the "background" program on the 
  11. file.  Background is by C.D.lane (lane@sumex-aim.stanford.edu) and
  12. Gilles Detillieux (gilles@scrc.UManitoba.CA).  It uses "pft" to set the 
  13. NeXT background window.
  14.  
  15. This was a quick slap together of a weekend.  No guarantees that all
  16. the options work.  It takes a lot longer to run than xphoon, since it
  17. uses all those other programs.  
  18.  
  19. The pbm and background programs are in the "programs" directory, for 
  20. those who don't have them.  These programs were compiled on OS 2.0.
  21.  
  22. COMPILATION
  23.  
  24. Type "make" to make.  Type "make install" to install.  The pbm programs
  25. and background program aren't included in the install process, in case they 
  26. would overwrite your own copies.  I've only compiled this under 2.0, but
  27. there isn't anything that should be OS specific, it should work fine
  28. under 1.0.
  29.  
  30. TODO
  31. 1. It would be best if the output were in eps rather than xbitmap format.
  32. Then the pbm programs could be dispensed with.  Trouble is, I didn't have
  33. the right postscript docs, so I don't know what eps format looks like.  
  34.  
  35. 2. The program should not call the "background" program.  Instead, it 
  36. should incorporate the required code, cat the eps onto the back of it,
  37. and call "pft" with a "system" call, on the resultant file.
  38.