home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / w / wowpix / !Wowpix / !Help < prev    next >
Text File  |  1993-12-28  |  5KB  |  121 lines

  1. Wowpix! documentation (version 0.45 28-Dec-93)
  2.  
  3. Public domain, enjoy!
  4.  
  5. No, I don't like writing documentation (who does? contact me, I could get
  6. you lots of work), but sometimes it's got to be done so here goes!
  7.  
  8. What is a Wowpix?
  9. =================
  10.  
  11. Wowpix is my name for autostereograms, those 'dotty' (ha, ha!) pictures
  12. which contain a 3D image when viewed correctly. I first came across them
  13. when a friend showed my an article about them in the October 93 issue of New
  14. Scientist. The article included an algorithm in C for generating an example
  15. and I couldn't resist. Apparently though, they've been around in computer
  16. circles for quite some time now, but I've been blissfully ignorant. I call
  17. them Wowpix because Wow! is what most of my friends seem to say when they
  18. get the hang of looking at them.
  19.  
  20. How to see Wowpix
  21. =================
  22.  
  23. You need to learn to 'uncross' your eyes, look 'through' the page rather
  24. than at it, a bit like looking in a mirror. You can also 'cross' your eyes
  25. but then you see an inverted image. It can take some time if you have never
  26. come across one before (it took me about 20 minutes the first time) so do
  27. persevere, it's not a joke. A small proportion of the population are unable
  28. to see them for physical reasons, but you will almost certainly know if that
  29. is the case. If you are stuck here is a method which works for quite a few
  30. people (print out the picture first!):
  31.  
  32. 1 Hold the picture right up against your face - literally touching your
  33. nose!
  34.  
  35. 2 Relax and defocus your eyes.
  36.  
  37. 3 Slowly move the paper away from your face. The point at which the 3D image
  38. is visible is reached before you can focus on the page itself. As long as
  39. you keep relaxed, you should soon be saying Wow! And if at first you don't
  40. succeed...
  41.  
  42.  
  43. The Program
  44. ===========
  45.  
  46. What my program does is take a sprite file generated by a suitable package
  47. (PAINT for instance) and treat the colour information as different depth
  48. levels, where colour 0 is the background, colour 1 the next layer forward
  49. and so on. This enables simple Wowpix! to be generated very quickly. The
  50. program sets the palette of the output sprite such that colour 0 is white
  51. and colour 1 is black. I did this originally to facilitate the creation of
  52. two colour sprites for space saving purposes, but I have shelved this idea
  53. for now. One side effect of this is that the program will report an error if
  54. the input sprite does not have a palette, but it will still carry on to do
  55. the processing, you just end up with white and very light grey dots instead
  56. of white and black!
  57.  
  58. The program works in one of two ways, depending on whether you supply a
  59. pattern sprite or not.
  60.  
  61.  
  62. Without a pattern:
  63. ==================
  64.  
  65. The input sprite file must contain just a single sprite. Load this into the
  66. program in any of the usual ways and a window is displayed showing your
  67. sprite image. Call up the main menu and click on PROCESS. You will receive a
  68. message if your sprite has no palette which you should acknowledge. The
  69. hourglass will then appear showing the percentage of the image processed
  70. until complete. When complete the Wowpix is displayed. You may then use the
  71. save option on the menu to save this image as normal.
  72.  
  73.  
  74. With a pattern:
  75. ===============
  76.  
  77. Your sprite file should contain two sprites, the first is the image, the
  78. second is a pattern to incorporate into the finished Wowpix. The size of the
  79. pattern sprite is not critical, but be aware that only the first 91 pixels
  80. (width) counting from the right will be used in the image. If the sprite is
  81. narrower than this it is repeated. If the height of the pattern is greater
  82. than the image then the extra at the top is discarded. If it is smaller then
  83. again a repeat comes into action. How the pattern effects the finished image
  84. is actually quite simple. For any given point in the output, the colour
  85. number of the pattern to be used at that point is added to the 0 or 1 of the
  86. original process, thus producing different 'pairs' of colours. It is
  87. recommended that the palette of the output image is adjusted after
  88. processing (using PAINT or similar) to achieve the most pleasing effect.
  89. Process and save as for the image without a pattern.
  90.  
  91. The PICTURE option on the main menu just gives you a bit of useful(?)
  92. information about the image loaded.
  93.  
  94. Printing
  95. ========
  96.  
  97. The images created with this program can be printed out using PAINT or
  98. similar. The 3D effect is retained, although black and white printing of
  99. certain colours can produce odd effects if dithering is used. Also beware of
  100. scaling the image this can destroy the 3D properties.
  101.  
  102.  
  103. Other
  104. =====
  105.  
  106. I have RISC-OS 3.1, but as far as I am aware it should work normally under
  107. RISC-OS 2 as well. If it doesn't, let me know!
  108.  
  109.  
  110. Since writing this program, I have just read an article in Archimedes World
  111. (Jan 94 issue) which describes a similar (but hidden) feature in
  112. Pro-Artisan. It seems that great minds think alike! At least mine is free!
  113.  
  114.  
  115. I am absolutely fascinated by these things and plan to do quite a bit more
  116. to this program in the future, watch this space! If you have a similar
  117. interest, mail me.
  118.  
  119. Comments, suggestions, criticisms, bugs to Arcade, user #130, Taipan.
  120.  
  121.