home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / next / misc / 19046 < prev    next >
Encoding:
Text File  |  1992-08-27  |  11.3 KB  |  263 lines

  1. Newsgroups: comp.sys.next.misc
  2. Path: sparky!uunet!cs.utexas.edu!torn!maccs!nextasy!tlm
  3. From: tlm@nextasy.physics.mcmaster.ca (Tom Marchioro)
  4. Subject: Re: (?) Seeking *ANY* docs for Icon.app
  5. Message-ID: <1992Aug28.014621.27983@maccs.dcss.mcmaster.ca>
  6. Sender: news@maccs.dcss.mcmaster.ca (News account)
  7. Organization: McMaster University, Hamilton, Ontario, Canada.
  8. References: <BtLK16.HJH@mentor.cc.purdue.edu>
  9. Date: Fri, 28 Aug 1992 01:46:21 GMT
  10. Lines: 251
  11.  
  12. ab@nova.cc.purdue.edu (Allen B) writes:
  13. : In article <1992Aug21.190150.19469@cs.uno.edu>
  14. : emurphy@cs.uno.edu (Edward Murphy) writes:
  15. : >so... the way i figure it, somebody has had to ask this question before.  
  16. : >that being the case, if there are any previous references, i'd appreciate  
  17. : >a pointer to them. otherwise, does anyone know of *any* documentation for  
  18. : >Icon (i realize it's an unsupported App, so of course i'm speaking of  
  19. : >un-NeXT-official docs).
  20. : Try looking on sonata/nova in:
  21. :     pub/next/Newsletters/VNUS/IconDoc.ps.Z
  22. : That's a pretty good piece put together by our friends in
  23. : Vancouver. 
  24. : ab
  25.  
  26. Here's an additional document which I grabbed off the usenet a few months
  27. ago.  I repost it "uncredited" since I have no memory who I got it from.
  28.  
  29. [BACK BY POPULAR DEMAND, THIS CLASSIC OF HARDHITTING
  30. DOCU-SPLANATION ...SR]
  31.  
  32. Introduction Keith Ohlf's program for creating and manipulating
  33. TIFF images, Icon, is in the NextDeveloper/Demos directory of every
  34. machine shipped. If you do any programming with Interface Builder,
  35. you should definitely use Icon to create the image for your program's
  36. icon. In fact, you should consider using Icon for much more.  Let
  37. me explain.  The NeXT has an sophisticated way of using multiple
  38. images to create a huge variety of effects, called compositing.
  39. The more you know about compositing, the more you will write programs
  40. that really show off the platform's unique abilities.
  41.  
  42. It is very difficult to understand all of the compositing modes
  43. by reading the documentation provided by NeXT.  You need  experience
  44. with each mode, using actual images.  If you learn to use Icon,
  45. you will also be learning much of what you need to know about
  46. compositing.  There are some problems with Icon. (These comments
  47. apply to the version of Icon released with the 2.0 system software.)
  48. It is officially just a demo, so it is not guaranteed to be robust,
  49. and, in fact, it does sometimes crash. This usually occurs when
  50. you attempt to close a window. It also sometimes takes a very long
  51. time to save an image, giving you a spinning wait cursor for tens
  52. of seconds before finally writing to disk.
  53.  
  54. These problems are not the biggest obstacle to using Icon. When I
  55. first used the program, it seemed counterintuitive. Perhaps there
  56. are other paint programs on other systems that resemble Icon, but
  57. to me it was sui generis. I didn't understand how the marquee tool
  58. worked, or how to select a color. I didn't understand all those
  59. graphic symbols in the control panels.  I considered including
  60. images of all the relevant panels in this article, but I don't
  61. think that's necessary. If possible, read this while simultaneously
  62. running Icon.
  63.  
  64.         Colors 
  65.  
  66. As soon as you begin working in Icon, select Colors in the
  67. Tools submenu. (Or select Show Patterns, which will bring up Colors
  68. too.)This brings up the Colors panel, which is indispensable. Most
  69. of the drawing tools require a color to be selected in the Colors
  70. panel. The default color is usually transparent, which means that
  71. if you do not bring up Colors and select a color, your tools will
  72. seem to be nonfunctional. (Although they will be working fine -
  73. just invisibly!) Unless you have a color system, stick to the color
  74. picker mode selected by the button second from the left at the top
  75. of the Colors panel. Notice the row of small color wells along the
  76. bottom of the panel. Put swatches of colors you use often in these
  77. wells. Icon will save your choices, so when you use the program
  78. again you can click on the wells to select your colors.
  79.  
  80.         Patterns  
  81.  
  82. Show Patterns in the Tools menu brings up an 
  83. addition to the Colors panel. The button on the left lifts 
  84. whatever is selected in the marquee tool into the left pattern 
  85. well. Either pattern well may be selected by clicking on its 
  86. broad lip. Click again to deselect. When the well is selected, 
  87. the pattern in it becomes the current fill, overriding the color 
  88. currently selected.
  89.  
  90. Detail   Tools-->Detail from the main menu gets you a 
  91. detail window. All the tools work in Detail.
  92.  
  93.     The Inspector Panel  
  94.  
  95. This panel toggles between five 
  96. modes: Tools, Gradation, Animation, Image Info, and 
  97. Shapes. This means that you can only use one mode at 
  98. once, which creates problems (see Animation). The 
  99. compositing button is present in all five modes, in the same 
  100. place. This button says Sover when you start Icon. Wherever 
  101. you are in Icon, whatever you are doing, you can access the 
  102. compositing button. It selects the compositing mode used. 
  103. Try them all! I find Satop, Dover and Plus widely useful. Xor 
  104. is fun - try disabling Always Sover Brush and paint with a 
  105. large brush using Xor. Trippy!
  106.  
  107.         Tools  
  108.  
  109. The Tools mode of the Inspector panel itself 
  110. toggles between 14 modes, one for each tool available on 
  111. the tool selection panel, which is always visible. I will start 
  112. with the most tricky, the marquee tool, selected by the lowest 
  113. right button on the tool selection panel.
  114.  
  115.         Marquee  
  116.  
  117. First, you can copy the marquee and paste it into another
  118. window. Try this, because it is important.  The opacity slider on
  119. the marquee tool inspector controls the opacity of the selection.
  120. Use it to make a selection more transparent: it doesn't work the
  121. other way.  The twelve buttons with little pictures on them select
  122. marquee actions. Some only affect the selection; some affect the
  123. underlying image. From left to right, upper row first:
  124.  
  125. 1. Take the image under the marquee and lift it onto 
  126. the marquee. The underlying image is "lifted off" and 
  127. the area becomes clear (transparent.) Anything on 
  128. the marquee before the action is also lost. 
  129. 2.  Same as 1, except the underlying image is not 
  130. disturbed. 
  131. 3. Composite ("drop down") the marquee onto the 
  132. underlying image, using the compositing mode 
  133. selected.
  134. 4. "Drop down" the marquee onto every frame of an 
  135. animation.
  136. 5. Paintbucket: I don't use this. It seems to fill the 
  137. marquee with the selected color or pattern, making it 
  138. equivalent to the Square tool.
  139. 6. Magic Fairy Dust Wand. This seems to invoke the 
  140. Dropper tool -- but why?
  141. 7. Returns the selection to its original size and 
  142. rotation. 
  143. 8. Shear.
  144. 9. Rotation
  145. 10. Scaling.
  146. 11. One kind of flip.
  147. 12. The other kind.
  148.  
  149. To the right of these buttons is a sort of diamond-rosette. 
  150. This is composed of four buttons which move the marquee 
  151. around in little increments.
  152.  
  153. Below are two color wells and associated controls. The button on
  154. the left selects the operation. I have only used Replace. It is
  155. very useful. Suppose you have an little image from a scanner. It
  156. is black on a white background. You want black on transparent
  157. instead. What to do? Select opaque white in Colors: drag a swatch
  158. into the lefthand well. Select transparent and drag a swatch into
  159. the other well. Get your image onto the marquee and click Do It.
  160. Make sure your compositing mode is Copy and drop the marquee back
  161. down. Hit command-1 to see your image in glorious transparency
  162. against a moving granite background.
  163.  
  164. Finally, the bottom button on the marquee inspector panel: 
  165. Effects. Most of these seem to be disabled. 
  166. A final note about the marquee: "marquee" has the same 
  167. first six letters as "Marquette", the name of the obscure 
  168. Northern Michigan town I grew up in. My computer-hacking 
  169. friend in seventh grade, Ted Vielmetti, is mentioned in 
  170. NextAnswer misc.390. Hope this reaches you, Ted.
  171.  
  172.         Other Tools   
  173.  
  174. Many of the other tools should be familiar. 
  175. The paintbrush and airbrush will always be Sovered 
  176. unless you disable this feature, which you sometimes will 
  177. need to. Several tools, such as Circle, have a big color well 
  178. for choosing the outline color. You won't be able to drag a 
  179. color in here if the line width slider to the right is set to 
  180. minimum width. The Circle, Square, Closed Curve and 
  181. Polygon tools will fill with gradation instead of the current 
  182. color if you check Gradation. This is a cool effect controlled 
  183. by the Gradation mode of the Inspector Panel. 
  184. Gradation   Click in the gradation image at upper left and 
  185. drag the mouse around. Click Radial and do it again. Makes 
  186. me think of butterfly ocelli (eye patterns on their wings.) 
  187. Cool, huh?
  188.  
  189.         Animation   
  190.  
  191. Use Image-->Grab from the main menu. 
  192. Grab a fairly small area. Command-a to select the whole 
  193. thing. Doubleclick on the first action button to clear the 
  194. contents.
  195.  
  196. Select your favorite paintbrush. Now toggle down from 
  197. Tool Inspector to Animation. There is a text field titled 
  198. Frames: .  Add a zero after the 1 and hit return. Your image is 
  199. now ten images, which Icon will display in succession. Click 
  200. the Play button, second from the left, and try to paint in the 
  201. image with the mouse. Slow the animation down by clicking 
  202. on the minus sign in the film still picture. You can stop the 
  203. animation and cycle through one by one. You can paint or 
  204. use any other tool -- EXCEPT THE MARQUEE! Why? 
  205. Because when you toggle from Animation back to Tool 
  206. Inspector, the image snaps to the first frame of the 
  207. animation. The marquee cannot be applied to the image 
  208. without the action buttons on the marquee Tool Inspector. If 
  209. you want to make an animation of the Snark moving around, 
  210. you cannot paste him into each frame in a slightly different 
  211. spot, unless you do the following:
  212.  
  213. 1. Create your animation with the required number of 
  214. frames. Use the marquee drop-through button to put 
  215. in any background that will be constant. 
  216. 2. Save your animation as "snark", and close it. It will 
  217. show up as "snark.anim". 
  218. 3. Go to the Workspace and change the suffix to  ".ani".
  219. 4. Open every tiff in the snark.ani directory: 
  220. snark.ani/snark.1.tiff, snark.2.tiff, snark.3.tiff . . .
  221. 5. Lay them out in order and paint, paste, and 
  222. composite into each frame of the animation.
  223. 6. Save and close them all and rename the directory 
  224. to "snark.anim". Doubleclick on the directory and  voila!
  225.  
  226. I think this part of Icon could work a little better. The animation
  227. is really neat, though.  Image Info, Shapes  I don't use these
  228. much. They seem self-explanatory.
  229.  
  230.         Text   
  231.  
  232. The Text panel is called up from the main menu. 
  233. Type the desired text into the field provided. When you click 
  234. on Set, the text will be rendered in the desired font, size and 
  235. so on and placed in the marquee above the current image. 
  236. The more fonts you have, the more fun this will be.
  237. A First Project   Even if you aren't writing apps, you can 
  238. still install cute little icons all over your file system. Save two 
  239. 48 * 48 pixel TIFFs (that's the smallest size Icon will let you 
  240. work with, so use Image-->Grab and mouse a tiny selection 
  241. to get a window this size) in any directory as ".dir.tiff" and 
  242. ".opendir.tiff". The Workspace will use them instead of the 
  243. picture of the folder that opens up, the /me house with the 
  244. door opening, etc. for that directory only. By the time you 
  245. give every directory on your machine its own two little TIFFs, 
  246. you'll definitely be comfortable using Icon!
  247.  
  248.     A Parting Hint:
  249.  
  250. If you usually keep your mouse speed 
  251. high in Preferences, bring it down a notch. You'll get denser 
  252. events on the screen when you draw, which makes some 
  253. tools work more accurately. 
  254.  
  255. >>>>>>>>>>Hope this is Helpful ---- Tom
  256.  
  257.  
  258.  
  259.