home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / graphics / 14235 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  38.7 KB

  1. Xref: sparky comp.graphics:14235 news.answers:5476 comp.answers:24
  2. Newsgroups: comp.graphics,news.answers,comp.answers
  3. Path: sparky!uunet!nwnexus!ole!quick!sumax.seattleu.edu!news.u.washington.edu!usenet.coe.montana.edu!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!ufo!cerberus!grieggs
  4. From: grieggs@jpl-devvax.jpl.nasa.gov (John T. Grieggs)
  5. Subject: (25Jan93) comp.graphics Frequently Asked Questions (FAQ)
  6. Message-ID: <1993Jan26.214621.15274@jpl-devvax.jpl.nasa.gov>
  7. Followup-To: poster
  8. Originator: grieggs@cerberus
  9. Sender: usenet@jpl-devvax.jpl.nasa.gov (For NNTP so rrn will be able to post)
  10. Nntp-Posting-Host: cerberus
  11. Reply-To: grieggs <grieggs@jpl-devvax.jpl.nasa.gov>
  12. Organization: Jet Propulsion Laboratory, Pasadena, CA
  13. Date: Tue, 26 Jan 1993 21:46:21 GMT
  14. Approved: news-answers-request@MIT.edu
  15. Expires: Tue, 9 Feb 1993 21:46:21 GMT
  16. Lines: 924
  17.  
  18. Archive-name: graphics/faq
  19.  
  20. This message is automatically posted once a week or so in an effort to
  21. cut down on the repetitive junk in comp.graphics.  It was last changed
  22. on 25Jan93.  If you have answers to other frequently asked questions that
  23. you would like included in this posting, please send me mail.  If you
  24. don't want to see this posting every week, please add the subject line
  25. to your kill file.  Thank you.
  26. ---
  27. _john
  28.  
  29.     John Grieggs grieggs@jpl-devvax.jpl.nasa.gov JohnG@portal.com
  30. ---
  31. Last update: 25Jan93
  32.  
  33. What's new?
  34.  
  35. jp@apple.com informs me that one of the FAQ references, "A Programmer's
  36. Geometry", is out of print.  Bummer.  Is there really no new, updated
  37. edition?  If not, is there comparable work available?
  38.  
  39. First cut at a plot program Q, contributed by len@mel.dit.csiro.au and
  40. edited by me.  I would be interested in knowing the official distribution
  41. sites and latest version numbers of any of the packages mentioned.
  42.  
  43. Small correction to item 26 (spl@pitstop.UCSD.EDU).
  44.  
  45. Began cross-posting to comp.answers (jik@pit-manager.MIT.EDU).
  46.  
  47.         grieggs@jpl-devvax.jpl.nasa.gov
  48.  
  49.  
  50.  
  51. Contents:
  52.  
  53.     1) General references for graphics questions.
  54.     2) Drawing three-dimensional objects on a two-dimensional screen.
  55.     3) Quantizing 24 bit images down to 8 bits.
  56.     4) Converting color into grayscale.
  57.     5) Quantizing grayscale to black&white.
  58.     6) Rotating a raster image by an arbitrary angle.
  59.     7) Free image manipulation software.
  60.     8) Format documents for TIFF, IFF, BIFF, NFF, OFF, FITS, etc.
  61.     9) Converting between vector formats.
  62.     10) How to get Pixar films.
  63.     11) How do I draw a circle as a Bezier (or B-spline) curve?
  64.     12) How to order standards documents.
  65.     13) How to FTP by email.
  66.     14) How to tell whether a point is within a planar polygon.
  67.     15) How to tessellate a sphere.
  68.     16) Specific references on ray-tracing and global illumination.
  69.     17) SIGGRAPH information online
  70.     18) SIGGRAPH Panels Proceedings available
  71.     19) Graphics mailing lists
  72.     20) Specific references on file formats
  73.     21) What about GIF?
  74.     22) What is morphing?
  75.     23) How to ray-trace height fields
  76.     24) How to find the area of a 3D polygon
  77.     25) How to join ACM/SIGGRAPH
  78.     26) Where can I find MRI and CT scan volume data?
  79.     27) Specific references on spatial data structures
  80.     28) Where can I get a program to plot XY(Z) data or f(x) data?
  81.  
  82.  
  83. 1) General references for graphics questions:
  84.  
  85.     Computer Graphics: Principles and Practice (2nd Ed.), J.D. Foley,
  86.     A. van Dam, S.K. Feiner, J.F. Hughes, Addison-Wesley 1990, ISBN
  87.     0-201-12110-7
  88.     Procedural Elements for Computer Graphics, David F. Rogers, McGraw
  89.     Hill 1985, ISBN 0-07-053534-5
  90.     Mathematical Elements for Computer Graphics 2nd Ed., David F. Rogers
  91.     and J. Alan Adams, McGraw Hill 1990, ISBN 0-07-053530-2
  92.     Three Dimensional Computer Graphics, Alan Watt, Addison-Wesley 1990, ISBN
  93.     0-201-15442-0
  94.     An Introduction to Ray Tracing, Andrew Glassner (ed.), Academic Press
  95.     1989, ISBN 0-12-286160-4
  96.     Graphics Gems, Andrew Glassner (ed.), Academic Press 1990, ISBN
  97.     0-12-286165-5
  98.     Graphics Gems II, James Arvo (ed.), Academic Press 1991, ISBN
  99.     0-12-64480-0
  100.     Graphics Gems III, David Kirk (ed.), Academic Press 1992, ISBN
  101.     0-12-409670-0 (with IBM disk) or 0-12-409671-9 (with Mac disk)
  102.     Digital Image Warping, George Wolberg, IEEE Computer Society Press
  103.     Monograph 1990, ISBN 0-8186-8944-7
  104.     Digital Image Processing (2nd Ed.), Rafael C. Gonzalez, Paul Wintz,
  105.     Addison-Wesley 1987, ISBN 0-201-11026-1
  106.     A Programmer's Geometry, Adrian Bowyer, John Woodwark, Butterworths 1983,
  107.     ISBN 0-408-01242-0 Pbk
  108.  
  109. An automatic mail handler at Brown University allows users of "Computer
  110. Graphics: Principles and Practice," by Foley, van Dam, Feiner, and
  111. Hughes, to obtain text errata and information on distribution of the
  112. software packages described in the book.  Also, users can send the
  113. authors feedback, to report text errors and software bugs, make
  114. suggestions, and submit exercises.  To receive information describing
  115. how you can use the mail handler, simply mail graphtext@cs.brown.edu
  116. and put the word "Help" in the Subject line.  Use the Subject line
  117. "Software-Distribution" to receive information specifically concerning
  118. the software packages SRGP and SPHIGS.
  119.  
  120. Errata for "An Introduction to Ray Tracing" is available on
  121. wuarchive.wustl.edu in graphics/graphics/books/IntroToRT.errata.
  122.  
  123. Errata for "Digital Image Warping" is in the same directory as
  124. "Digital-Image-Warping.errata".
  125.  
  126. All C code from the "Graphics Gems" series is available via anonymous ftp
  127. from princeton.edu.  Look in the directory pub/Graphics/GraphicsGems for
  128. the various volumes (Gems, GemsII, GemsIII), and get the README file first.
  129.  
  130. Errata to _Graphics Gems_ and _Graphics Gems II is available on
  131. wuarchive.wustl.edu in graphics/graphics/books.
  132.  
  133. A list of computer graphics, computational geometry and image processing
  134. journals is available from Juhana Kouhia, jk87377@cs.tut.fi.
  135.  
  136.  
  137. 2) Drawing three-dimensional objects on a two-dimensional screen.
  138.  
  139. The simple answer is, you divide by the depth.  For a more verbose
  140. explanation, see any of the above references, starting with:
  141.  
  142. The Foley & Van Dam & Feiner & Hughes "Computer Graphics" book is certainly
  143. a good start.  Chapter 6 is "Viewing in 3D", then read chapter 15,
  144. "Visible-Surface Determination".  For more information go to chapter 16 for
  145. shading, chapter 19 for clipping, and branch out from there.
  146.  
  147.  
  148. 3) Quantizing 24 bit images down to 8 bits.
  149.  
  150. Find a copy of "Color Image Quantization for Frame Buffer Display" by
  151. Paul Heckbert, SIGGRAPH '82 Proceedings, page 297.  There are other
  152. algorithms, but this one works well and is fairly simple.  Implementations
  153. are included in most raster toolkits (see item 7 below).
  154.  
  155. A variant method is described in "Graphics Gems", p. 287-293.  Note that
  156. the code from the "Graphics Gems" series is all available from an FTP site,
  157. as described above.
  158.  
  159. Check out John Bradley's "Diversity Algorithm", which is incorporated into
  160. the xv package and described in the back of the manual.
  161.  
  162. The ImageMagick package (see section 7 for where it is) contains another
  163. quantizing algorithm which is presented as "doing a better job than the
  164. other algorithms, but slower".
  165.  
  166. There's also an implementation of:
  167.  
  168. Wan, Wong, and Prusinkiewicz, _An Algorithm for Multidimensional Data
  169. Clustering_, Transactions on Mathematical Software, Vol. 14 #2 (June, 1988),
  170. pp. 153-162.
  171.  
  172. avialable as princeton.edu:pub/Graphics/colorquant.shar.  This code,
  173. in modified form, appears in the Utah Raster Toolkit as well.
  174.  
  175.  
  176. 4) Converting color into grayscale.
  177.  
  178. The NTSC formula is:
  179.  
  180.     luminosity = .299 red + .587 green + .114 blue
  181.  
  182.  
  183. 5) Quantizing grayscale to black&white.
  184.  
  185. The only reference you need for this stuff is:
  186.  
  187.     Digital Halftoning, Robert Ulichney, MIT Press 1987, ISBN 0-262-21009-6
  188.  
  189. But before you go off and start coding, check out the image manipulation
  190. software mentioned in item 7 below.  All of the packages mentioned can do
  191. some form of gray to b&w conversion.
  192.  
  193.  
  194. 6) Rotating a raster image by an arbitrary angle.
  195.  
  196. The obvious but wrong method is to loop over the pixels in the source
  197. image, transform each coordinate, and copy the pixel to the destination.
  198. This is wrong because it leaves holes in the destination.  Instead,
  199. loop over the pixels in the destination image, apply the *reverse*
  200. transformation to the coordinates, and copy that pixel from the source.
  201. This method is quite general, and can be used for any one-to-one
  202. 2-D mapping, not just rotation.  You can add anti-aliasing by doing
  203. sub-pixel sampling.
  204.  
  205. However, there is a much faster method, with antialising included,
  206. which involves doing three shear operations.  The method was originally
  207. created for the IM Raster Toolkit (see below); an implementation is
  208. also present in PBMPLUS.  Reference: "A Fast Algorithm for Raster
  209. Rotation", by Alan Paeth (awpaeth@watcgl.waterloo.edu) Graphics
  210. Interface '86 (Vancouver).  An article on the IM toolkit appears in
  211. the same journal.  An updated version of the rotation paper appears
  212. in "Graphics Gems" (see section [1]) under the original title.
  213.  
  214.  
  215. 7) Free image manipulation software.
  216.  
  217. There are a number of toolkits for converting from one image format to
  218. another, doing simple image manipulations such as size scaling, plus
  219. the above-mentioned 24 -> 8, color -> gray, gray -> b&w conversions.
  220. Here are pointers to some of them:
  221.  
  222.     xv by John Bradley.  X-based image display, manipulation, and format
  223.     conversion package.  XV displays many image formats and permits editing
  224.     of GIF files, among others. The program was updated 5/92; see the file
  225.     contrib/xv-2.21.tar.Z on export.lcs.mit.edu.
  226.  
  227.     PBMPLUS, by Jef Poskanzer.  Comprehensive format conversion and image
  228.     manipulation package.  The latest version is always available via
  229.     anonymous FTP as ftp.ee.lbl.gov:pbmplus*.tar.Z,
  230.     wuarchive.wustl.edu:graphics/graphics/packages/pbmplus/pbmplus*.tar.Z,
  231.     and export.lcs.mit.edu:contrib/pbmplus*.tar.Z.
  232.  
  233.     IM Raster Toolkit, by Alan Paeth (awpaeth@watcgl.uwaterloo.ca).
  234.     Provides a portable and efficient format and related toolkit.  The
  235.     format is versatile in supporting pixels of arbitrary channels,
  236.     components, and bit precisions while allowing compression and machine
  237.     byte-order independence.  The kit contains more than 50 tools with
  238.     extensive support of image manipulation, digital halftoning and format
  239.     conversion.  Previously distributed on tape c/o the University of
  240.     Waterloo, an FTP version will appear someday.
  241.  
  242.     Utah RLE Toolkit.  Conversion and manipulation package, similar to
  243.     PBMPLUS.  Available via FTP as cs.utah.edu:pub/urt-*,
  244.     princeton.edu:pub/Graphics/urt-*, and freebie.engin.umich.edu:pub/urt-*.
  245.  
  246.     Fuzzy Pixmap Manipulation, by Michael Mauldin <mlm@nl.cs.cmu.edu>.
  247.     Conversion and manipulation package, similar to PBMPLUS.  Version 1.0
  248.     available via FTP as nl.cs.cmu.edu:/usr/mlm/ftp/fbm.tar.Z,
  249.     ftp.uu.net:pub/fbm.tar.Z, and ucsd.edu:graphics/fbm.tar.Z.
  250.  
  251.     Img Software Set, by Paul Raveling <raveling@venera.isi.edu>.  Reads and
  252.     writes its own image format, displays on an X11 screen, and does some
  253.     image manipulations.  Version 1.3 is available via FTP as
  254.     export.lcs.mit.edu:contrib/img_1.3.tar.Z, and
  255.     venera.isi.edu:pub/img_1.3.tar.Z along with a large collection of color
  256.     images.
  257.  
  258.     Xim, X Image Manipulator, by Philip R. Thompson.  It does essential
  259.     interactive image manipulations and uses x11r4 and the OSF/Motif toolkit
  260.     for the interface.  It supports images in 1, 8, 24 and 32 bit formats.
  261.     Reads/writes and converts to/from GIF, xwd, xbm, tiff, rle, xim, and
  262.     other formats.  Writes level 2 postscript.  Other utilities and image
  263.     application library are included.  Not a paint package.  Available via
  264.     ftp from gis.mit.edu.
  265.  
  266.     xloadimage, by Jim Frost <madd@std.com>.  Reads in images in various
  267.     formats and displays them on an X11 screen.  Available via FTP as
  268.     export.lcs.mit.edu:contrib/xloadimage*, and in your nearest comp.sources.x
  269.     archive.
  270.  
  271.     xli, by Grame Gill, is an updated xloadimage with numerous improvements
  272.     in both speed and in the number of formats supported.  Available in the
  273.     same places as xloadimage (contrib tape, comp.sources.x archives).
  274.  
  275.     TIFF Software, by Sam Leffler <sam@okeeffe.berkeley.edu>.  Nice
  276.     portable library for reading and writing TIFF files, plus a few tools
  277.     for manipulating them and reading other formats.  Available via FTP as
  278.     ucbvax.berkeley.edu:pub/tiff/*.tar.Z or ftp.uu.net:graphics/tiff.tar.Z
  279.  
  280.     xtiff, an X11 tool for viewing a TIFF file.  It was written to handle
  281.     as many different kinds of TIFF files as possible while remaining
  282.     simple, portable and efficient.  xtiff illustrates some common problems
  283.     with building pixmaps and using different visual classes.  It is
  284.     distributed as part of Sam Leffler's libtiff package and it is also
  285.     available on export.lcs.mit.edu, ftp.uu.net and comp.sources.x.
  286.     xtiff 2.0 was announced in 4/91; it includes Xlib and Xt versions.
  287.  
  288.     ALV, a Sun-specific image toolkit.  Version 2.0.6 posted to
  289.     comp.sources.sun on 11dec89.  Also available via email to
  290.     alv-users-request@cs.bris.ac.uk.
  291.  
  292.     popi, an image manipulation language.  Version 2.1 posted to
  293.     comp.sources.misc on 12dec89.
  294.  
  295.     ImageMagick, an X11 package for display and interactive manipulation
  296.     of images.  Includes tools for image conversion, annotation, compositing,
  297.     animation, and creating montages.  ImageMagick can read and write many of
  298.     the more popular image formats.  Available via FTP as
  299.     export.lcs.mit.edu:contrib/ImageMagick.tar.Z.
  300.  
  301.     Khoros, a huge (~100 meg) graphical development environment based on
  302.     X11R4.  Khoros components include a visual programming language, code
  303.     generators for extending the visual language and adding new application
  304.     packages to the system, an interactive user interface editor, an
  305.     interactive image display package, an extensive library of image and
  306.     signal processing routines, and 2D/3D plotting packages.  Available via
  307.     FTP as pprg.eece.unm.edu:pub/khoros/*.
  308.  
  309.     LaboImage, a SunView-based image processing and analysis package.  It
  310.     includes more than 200 image manipulation, processing and measurement
  311.     routines, on-line help, plus tools such as an image editor, a color
  312.     table editor and several biomedical utilities.  Available via anonymous
  313.     FTP as ads.com:pub/VISION-LIST-ARCHIVE/SHAREWARE/LaboImage_3.1.tar.Z
  314.  
  315.     The San Diego Supercomputer Center Image Tools, software tools for
  316.     reading, writing, and manipulating raster images.  Binaries for some
  317.     machines available via anonymous FTP in sdsc.edu:sdscpub.
  318.  
  319.     The Independent JPEG Group has written a package for reading and
  320.     writing JPEG files.  FTP to ftp.uu.net:graphics/jpeg/jpegsrc.v?.tar.Z
  321.  
  322. Don't forget to set binary mode when you FTP tar files.  For you MILNET
  323. folks who still don't have name servers, the IP addresses are:
  324.  
  325.     ads.com            128.229.30.16
  326.     cs.utah.edu            128.110.4.21
  327.     coral.cs.jcu.edu.au        137.219.17.4
  328.     export.lcs.mit.edu        18.24.0.12
  329.     freebie.engin.umich.edu    141.212.103.21
  330.     ftp.ee.lbl.gov        128.3.112.20
  331.     ftp.uu.net            137.39.1.9 or 192.48.96.9
  332.     gis.mit.edu            18.80.1.118
  333.     gondwana.ecr.mu.oz.au    128.250.70.62
  334.     karazm.math.uh.edu        129.7.7.6
  335.     marsh.cs.curtin.edu.au    134.7.1.1
  336.     nic.funet.fir        128.214.6.100
  337.     ftp.cosy.sbg.ac.at        141.201.2.15
  338.     ftp.ncsa.uiuc.edu        141.142.20.50
  339.     nl.cs.cmu.edu        128.2.222.56
  340.     pprg.eece.unm.edu        129.24.24.10
  341.     princeton.edu        128.112.128.1
  342.     sdsc.edu            132.249.20.22
  343.     ucbvax.berkeley.edu        128.32.133.1
  344.     venera.isi.edu        128.9.0.32
  345.     weedeater.math.yale.edu    128.36.23.17
  346.     wuarchive.wustl.edu        128.252.135.4
  347.     zamenhof.cs.rice.edu    128.42.1.75
  348.  
  349. Please do *not* post or mail messages saying "I can't FTP, could someone
  350. mail this to me?"  There are a number of automated mail servers that will
  351. send you things like this in response to a message.  See item 13 below for
  352. details on some.
  353.  
  354. Also, the newsgroup alt.graphics.pixutils is specifically for discussion
  355. of software like this.  You may find useful information there.
  356.  
  357.  
  358. 8) Format documents for TIFF, IFF, BIFF, NFF, OFF, FITS, etc.
  359.  
  360. You almost certainly don't need these.  Read the above item 7 on free
  361. image manipulation software.  Get one or more of these packages and
  362. look through them.  Chances are excellent that the image converter you
  363. were going to write is already there.  But if you still want one of the
  364. format documents, many such files are available by anonymous ftp from
  365. zamenhof.cs.rice.edu in directory pub/graphics.formats.  It is also
  366. mirrored at ftp.cosy.sbg.ac.at in dir /pub/mirror/file-formats/graphic.
  367.  
  368. These files were collected off the net and are believed to be correct.
  369. This archive includes pixel formats, and two- and three-dimensional object
  370. formats.  The future of this archive is uncertain at the moment, as Mark
  371. Hall <foo@cs.rice.edu> will apparently no longer be maintaining it.
  372.  
  373. A second graphics file format archive is now being actively maintained
  374. by Quincey Koziol (koziol@ncsa.uiuc.edu).  The latest version exists at
  375. ftp.ncsa.uiuc.edu in /misc/file.formats/graphics.formats.  Apparently,
  376. neither of these is complete, you might want to check both.
  377.  
  378. FITS stands for Flexible Image Transport System. It's a file format most
  379. often used in astronomy.  Despite the name, it can contain not only images
  380. but other things as well.  There is a regular monthly FITS basics and
  381. information posting on sci.astro.fits - read it if you want to know more.
  382.  
  383.  
  384.  
  385. 9) Converting between vector formats.
  386.  
  387. A lot of people ask about converting from HPGL to PostScript, or MacDraw
  388. to CGM, or whatever.  It is important to understand that this is a very
  389. different problem from the image format conversions in item 7.  Converting
  390. one image format to another is a fairly easy problem, since once you
  391. get past all the file header junk, a pixel is a pixel -- the basic objects
  392. are the same for all image formats.  This is not so for vector formats.
  393. The basic objects -- circles, ellipses, drop-shadowed pattern-filled
  394. round-cornered rectangles, etc. -- vary from one format to another.
  395. Except in extremely restricted cases, it is simply not possible to do
  396. a one-to-one conversion between vector formats.
  397.  
  398. There is software for converting to and from CGM files on ftp.psc.edu.  The
  399. contributor states that it runs on Unix, MS-Windows, and possibly the Mac.
  400. A better, more specific blurb would be most welcome.
  401.  
  402. On the other hand, it is quite possible to do a close approximation,
  403. rendering an image from one format using the primitives from another.
  404. As far as I know, no one has put together a general toolkit of such
  405. converters, but two different HPGL to PostScript converters have been
  406. posted to comp.sources.misc.  Check the index on your nearest archive
  407. site.
  408.  
  409. A related frequent question is how to convert from some vector format
  410. to a bitmapped image - from PostScript to Sun raster format, or HPGL to
  411. X11 bitmap.  For example, some of the commercial PostScript clones for
  412. PC's allow you to render to a disk file as well as a printer.  Also,
  413. the PostScript interpreters in the NeXT box and in Sun's X11/NeWs can
  414. be used to render to a file if you're clever.  But in general, the
  415. answer is no.  However, if someone were to put together a vector to
  416. vector conversion toolkit, adding a vector to raster converter would be
  417. trivial.
  418.  
  419. GNU ghostscript (from the FSF - current version 2.5.2) includes
  420. drivers for both ppm and gif format files, thus it can be used as
  421. a PostScript to ppm  or a PostScript to GIF filter.  (It implements
  422. essentially all of PostScript level 1 and alot of Display PostScript
  423. and level 2).
  424.  
  425.  
  426. 10) How to get Pixar films.
  427.  
  428. The various John Lasseter / Pixar computer animated shorts are available
  429. on video tape.  You can order them from Direct Cinema Limited:
  430.  
  431.     Film                           Individual Price      Institutional Price
  432.     Luxo, Jr.                $14.95            $50.00
  433.     Red's Dream                $19.95            $75.00
  434.     Tin Toy                $24.95            $75.00
  435.     Knickknack                $24.95            $75.00
  436.     Luxo, Jr./Red's Dream/Tin Toy    $39.95            $100.00
  437.  
  438. All tapes are on 1/2" VHS NTSC.  Add $10/tape for PAL format.  Also
  439. available:
  440.  
  441.     Tin Toy T-shirt            $15.00
  442.     Knickknack 3D T-shirt        $15.00 (includes glasses)
  443.  
  444. For individual orders, add $5 S&H for the first tape or shirt, $2 for
  445. each additional tape or shirt.  For institutional orders, add $5 S&H
  446. for the first tape, $3 for each additional tape.  Foreign shipping, add
  447. $3/tape or shirt.  Call 800-525-0000 (213-396-4774 international,
  448. 213-396-3233 FAX) to charge to your credit card.  Call first to verify
  449. prices and availability.  Or, just write to:
  450.  
  451.     Direct Cinema Limited
  452.     1749 14th Street
  453.     Santa Monica, CA 90404-4342
  454.  
  455. Allan Braunsdorf has this to say:
  456.  
  457. At SIGGRAPH they were selling a tape with all four shorts
  458. for $25.  That was a sale price.  You can get it for slightly
  459. more than that normally.  ($35 maybe.)  I believe it's
  460. available from RenderMan Retail (at Pixar's address).
  461.  
  462.     Pixar
  463.     1001 West Cutting Blvd.
  464.     Richmond, CA. 94804
  465.     (510) 236-4000 
  466.     (510) 236-0388 (FAX)
  467.  
  468. You can obtain a video directly from Pixar which contains "Luxo, Jr.", "Red's
  469. Dream", "Tin Toy" and "Knicknack" for $25.00, plus $2.50 for shipping. They
  470. will take your order over the phone or via FAX with a major credit card. I 
  471. ordered mine just last week and received it several days later. Don't expect 
  472. to be able to rent a copy from your local video store. According to the license
  473. agreement printed on the back cover of the case, it cannot be rented.
  474.  
  475.  
  476. 11) How do I draw a circle as a Bezier (or B-spline) curve?
  477.  
  478. The short answer is, "You can't."  Unless you use a rational spline you
  479. can only approximate a circle.  The approximation may look acceptable,
  480. but it is sensitive to scale.  Magnify the scale and the error of
  481. approximation magnifies.  Deviations from circularity that were not
  482. visible in the small can become glaring in the large.  If you want to
  483. do the job right, consult the article:
  484.  
  485.   "A Menagerie of Rational B-Spline Circles"
  486.   by Leslie Piegl and Wayne Tiller
  487.   in IEEE Computer Graphics and Applications, volume 9, number 9,
  488.   September, 1989, pages 48-56.
  489.  
  490. For rough, non-rational approximations, consult the book:
  491.  
  492.   Computational Geometry for Design and Manufacture
  493.   by I. D. Faux and M. J. Pratt,
  494.   Ellis Horwood Publishers, Halsted Press, John Wiley 1980.
  495.  
  496. For the best known non-rational approximations, consult the article:
  497.  
  498.   "Good Approximation of Circles by Curvature-continuous Bezier Curves"
  499.   by Tor Dokken, Morten Daehlen, Tom Lyche, and Knut Morken
  500.   in Computer Aided Geometric Design, volume 7, numbers 1-4 (combined),
  501.   June, 1990, pages 33-41 [Elsevier Science Publishers (North-Holland)]
  502.  
  503.  
  504. 12) How to order standards documents.
  505.  
  506. The American National Standards Institute sells ANSI standards, and also
  507. ISO (international) standards.  Their sales office is at 1-212-642-4900,
  508. mailing address is 1430 Broadway, NY NY 10018.  It helps if you have the
  509. complete name and number.
  510.  
  511. Some useful numbers to know:
  512.  
  513. CGM (Computer Graphics Metafile) is ISO 8632-4 (1987).  GKS (Graphical
  514. Kernel System) is ANSI X3.124-1985.  PHIGS (Programmer's Hierarchical
  515. Interactive Graphics System) is ANSI X3.144-1988.  IGES is ASME/ANSI
  516. Y14.26M-1987.  Language bindings are often separate but related numbers;
  517. for example, the GKS FORTRAN binding is X3.124.1-1985.
  518.  
  519. Standards-in-progress are made available at key milestones to solicit
  520. comments from the graphical public (this includes you!).  ANSI can let
  521. you know where to order them; most are available from Global Engineering
  522. at 1-800-854-7179.
  523.  
  524.  
  525. 13) How to FTP by email.
  526.  
  527. There are a number of sites that archive the Usenet sources newsgroups
  528. and make them available via an email query system.  You send a message
  529. to an automated server saying something like "send comp.sources.unix/fbm",
  530. and a few hours or days later you get the file in the mail.
  531.  
  532. In addition, there is at least one FTP-by-mail server.  Send mail to
  533. ftpmail@decwrl.dec.com saying "help" and it will tell you how to use
  534. it.  Note that this service has at times been turned off due to abuse.
  535.  
  536.  
  537. 14) How to tell whether a point is within a planar polygon.
  538.  
  539. Consider a ray originating at the point of interest and continuing to
  540. infinity.  If it crosses an odd number of polygon edges along the way,
  541. the point is within the polygon.  If the ray crosses an even number of
  542. edges, the point is either outside the polygon, or within an interior
  543. hole formed from intersecting polygon edges.  This idea is known in
  544. the trade as the Jordan curve theorem; see Eric Haines' article in
  545. Glassner's ray tracing book (above) for more information, including
  546. treatment of special cases.
  547.  
  548. Another method is to sum the absolute angles from the point to all
  549. the vertices on the polygon.  If the sum is 2 pi, the point is inside,
  550. if the sum is 0 the point is outside.  However, this method is about an
  551. order of magnitude slower than the previous method because evaluating the
  552. trigonometric functions is usually quite costly.
  553.  
  554. Code for both methods (plus barycentric triangle testing) can be found in
  555. the Ray Tracing News, Vol. 5, No. 3, available from princeton.edu:
  556. pub/Graphics/RTNews/RTNv5n3.Z.
  557.  
  558.  
  559. 15) How to tessellate a sphere.
  560.  
  561. One simple way is to do recursive subdivision into triangles.  The
  562. base of the recursion is an octahedron, and then each level divides
  563. each triangle into four smaller ones.  Jon Leech <leech@cs.unc.edu>
  564. has posted a nice routine called sphere.c that generates the coordinates.
  565. It's available for FTP on ftp.ee.lbl.gov and princeton.edu.
  566.  
  567. 16) Specific references on ray-tracing and global illumination.
  568.  
  569. Rick Speer maintains a cross-indexed ray-tracing bibliography:
  570.  
  571. Highlights of this edition-
  572.  
  573.     i) more than 500 citations spanning the period from 1968 through
  574.        November '91;
  575.     ii) papers from all Siggraph, Graphics Interface, Eurographics, CG
  576.         International and Ausgraph proceedings through December, '91;
  577.     iii) all citations keyworded for easy lookup;
  578.     iv) cross-indices by keyword and author;
  579.     v)  glossary of the 119 keywords used.
  580.  
  581. The bib is in the form of a PostScript file.  The printout is 41 pages long.
  582. Below is a list of ftp sites and the dirs that contain the file. It's named
  583. "speer.raytrace.bib.ps.Z" and is compressed at most sites-
  584.  
  585.              Site                             Dir
  586.     wuarchive.wustl.edu    graphics/graphics/bib/RT.BIB.Speer/
  587.     karazm.math.uh.edu    pub/Graphics/
  588.     gondwana.ecr.mu.oz.au    pub/papers/
  589.     nic.funet.fi        pub/sci/papers/graphics
  590.     coral.cs.jcu.edu.au     graphics/papers/
  591.  
  592. Eric Haines (erich@eye.com) maintains ray tracing and radiosity/global
  593. illumination bibliographies.  These are in "refer" format, and so can be
  594. searched electronically (a simple awk script to search for keywords is
  595. included with each).  The bibliographies are available at most of the
  596. sites listed above, and the most current versions are maintained at
  597. princeton.edu: pub/Graphics/Papers as "RayBib.*" and "RadBib.*".
  598.  
  599. Tom Wilson (wilson@cs.ucf.edu) has collected over 300 abstracts from ray
  600. tracing related research papers and books.  The information is essentially
  601. in plaintext, and Latex and troff formatting programs are included.  This
  602. collection is available at most of the sites above as "rtabs.*".
  603.  
  604. 17) SIGGRAPH information online
  605.  
  606. [from Steve Cunningham and Ralph Orlick]
  607.  
  608. ACM-SIGGRAPH announces its online information site at  siggraph.org
  609. (128.248.245.250).  This site now provides SIGGRAPH information via both
  610. anonymous ftp and an electronic mail archive server.
  611.  
  612. The anonymous ftp service is very standard, and the ftp directory includes
  613. both conference and publications subdirectories.
  614.  
  615. To retrieve information by electronic mail, send mail to
  616.      archive-server@siggraph.org
  617. and in the subject or the body of the message include the message  send
  618. followed by the topic and subtopic you wish.  A good place to start is with
  619. the command
  620.      send index
  621. which will give you an up-to-date list of available information.
  622.  
  623.  
  624. 18) SIGGRAPH Panels Proceedings available
  625.  
  626. [from Steve Cunningham and Bob Judd]
  627.  
  628. ACM SIGGRAPH announces the availability of the SIGGRAPH '91 Panels Proceedings
  629. at the  siggraph.org  site (128.248.245.250).  The proceedings are available
  630. in three formats:
  631.      text   (ASCII)
  632.      rtf    (rich text format, suitable for many word processors)
  633.      word   (MS Word for the Macintosh)
  634. They may be retrieved from siggraph.org in two ways:
  635.  
  636. (1) by anonymous ftp
  637.     change to one of the directories
  638.        publications/s91/panels_proceedings/[text|rtf|word]
  639.     The text and rtf files may be downloaded in ASCII mode, while the word
  640.     files are stored in MacBinary format and must be downloaded in binary 
  641.     mode.
  642.  
  643.     Each directory contains a Table of Contents file (TOC) that describes the
  644.     contents of each panel file.
  645.  
  646. (2) by electronic mail
  647.     send mail to
  648.        archive-server@siggraph.org
  649.     You can retrieve either the  text  or  rtf  files.  We suggest that you
  650.     first retrieve the index files by putting one of the messages
  651.        send panel91-txt index
  652.        send panel91-rtf index
  653.     in the subject or body of the message.  You will get the necessary
  654.     information to retrieve the actual transcript files.
  655.  
  656.  
  657. 19) Graphics mailing lists
  658.  
  659. There are a variety of graphics-related mailing list out there, each
  660. covering either a single product or a single topic.  I have been an
  661. active participant in one of these for some time now, and find the
  662. focus and expertise which can be brought to bear on an isolated topic
  663. to be nothing short of amazing.
  664.  
  665. Please send me the appropriate information if you have any others you
  666. would like to see added.
  667.  
  668. Name:        Imagine mailing list
  669. Description:    Discussion forum for users of the Imagine 3D Rendering and
  670.         Animation package by Impulse, Inc.
  671. Platforms:    Amiga
  672. Subscription:    imagine-request@email.sp.paramax.com
  673. Posting:    imagine@email.sp.paramax.com
  674.  
  675. Name:        DCTV mailing list
  676. Description:    Discussion forum for users of the Digital Creations DCTV
  677.         box, software, and file formats
  678. Platforms:    Amiga
  679. Subscription:    DCTV-request@nova.cc.purdue.edu
  680. Posting:    DCTV@nova.cc.purdue.edu
  681.  
  682. Name:        Rayshade Users mailing list
  683. Description:    Discussion forum for users of the Rayshade raytracer
  684. Platforms:    Most UNIX boxes, Amiga, Mac, IBM
  685. Subscription:    rayshade-request@cs.princeton.edu
  686. Posting:    rayshade-users@cs.princeton.edu
  687.  
  688. Name:        Lightwave 3D software for Toaster mailing list
  689. Description:    Discussion forum for users of Lightwave, the Video
  690.         Toaster modelling and rendering package
  691. Platforms:    Amiga
  692. Subscription:    lightwave-request@bobsbox.rent.com
  693.         with "subscribe lightwave-l" in your message
  694. Posting:    lightwave@bobsbox.rent.com
  695.  
  696. Name:        POV mailing list
  697. Description:    Discussion forum for DKBTrace and POV renderers
  698. Platforms:    Unix
  699. Subscription:    listserv@trearn.bitnet
  700. Posting:    dkb-l@trearn.bitnet
  701.  
  702. Name:        Mailing List For Massive Parallel Rendering
  703. Description:    same?
  704. Platforms:    Unix
  705. Subscription:    mp-render-request@icase.edu
  706. Posting:    mp-render@icase.edu
  707.  
  708. 20) Specific references on file formats
  709.  
  710.     Graphics File Formats, David Kay and John Levine, Windcrest/McGraw-Hill
  711.       1992, ISBN 0-8306-3059-7 paper, ISBN 0-8306-3060-0 $36.95 hardcover,
  712.       ISBN 0-8306-3059-7 $24.95 paper.  Comments - 26 formats, no software
  713.       (this is good, IMHO - I prefer books which are non-platform-dependent).
  714.       Questions about this book may be sent to gbook@iecc.cambridge.ma.us.
  715.  
  716.  
  717. 21) What about GIF?
  718.  
  719. GIF stands for Graphics Interchange Format.  It is portable and usable upon
  720. a wide variety of platforms.  It is quite limited in some ways (yes, the
  721. keeper of the FAQ has some opinions after all), and in fact, I don't like
  722. it much.  However, it looks to me like the most-Frequently Asked Question
  723. which was not previously covered in this list.  The following is a list
  724. of newsgroups and the like where one could go to find out about GIF.
  725.  
  726. Subject: alt.binaries.pictures FAQ - General info
  727. Subject: alt.binaries.pictures FAQ - OS specific info
  728. Newsgroups: alt.binaries.pictures.d,alt.binaries.pictures.misc,
  729.     alt.binaries.pictures.utilities,alt.binaries.pictures.fractals,
  730.     alt.binaries.pictures.fine-art.d,news.answers
  731.  
  732. Available in the indicated USENET newsgroup(s), or via anonymous ftp from
  733. pit-manager.mit.edu (18.172.1.27) in the files:
  734.  
  735. /pub/usenet/news.answers/pictures-faq/part1
  736. /pub/usenet/news.answers/pictures-faq/part2
  737.  
  738. Also available from mail-server@pit-manager.mit.edu by sending a mail
  739. message containing any or all of:
  740.  
  741. send usenet/news.answers/pictures-faq/part1
  742. send usenet/news.answers/pictures-faq/part2
  743.  
  744. Send a message containing "help" to get general information about the
  745. mail server.
  746.  
  747. Also, you could check out the resources described in sections 7, 8, and
  748. 20 above for more information.
  749.  
  750.  
  751. 22) What is morphing?
  752.  
  753. Warping is the deformation of an image by mapping each pixel to a new
  754. location. Morphing is blending from one image or object to another one.
  755. Valerie Hall has written an excellent introduction to warping and
  756. morphing. This is available for anonymous ftp from marsh.cs.curtin.edu.au
  757. in the directory pub/graphics/bibliography/Morph. There are three files:
  758.  
  759.         morph_intro.ps.Z     (PostScript version, many pictures - 1.5M)
  760.         morph_intro.txt.Z    (text version)
  761.         m_responses.Z        (Responses to morphing questions)
  762.  
  763. The files are compressed, so you must use binary transfer and
  764. uncompress them afterwards.
  765.  
  766.  
  767. 23) How to ray-trace height fields
  768.  
  769. Height fields are a special case in ray-tracing.  They have a number of uses,
  770. such as terrain rendering, and some optimization is possible.  Thus, they
  771. get their own FAQ section.  Note that further references can no doubt be
  772. located via the ray-tracing bibs in section 16 above.
  773.  
  774. The following paper seems to be the definitive reference:
  775.  
  776. F. Kenton Musgrave
  777. Grid Tracing: Fast Ray Tracing For Height Fields
  778. July, 1988
  779. <musg88.ps.Z>
  780.  
  781. This is available as "Research Report YALEU/DCS/RR-639" from Yale University,
  782. it's also in the SIGGRAPH '91 Fractal Modeling in 3D Computer Graphics and
  783. Imaging course notes, and (best of all) it's available on the net:
  784.  
  785.     nic.funet.fi        pub/sci/papers/musg88.ps.Z
  786.     weedeater.math.yale.edu    pub/Papers/musg88.ms.Z
  787.     princeton.edu        pub/Graphics/Papers/musg88.ms.Z
  788.     coral.cs.jcu.edu.au        graphics/papers/musg88.ps.Z
  789.     gondwana.ecr.mu.OZ.AU    pub/papers/musg88.ms.Z and musg88.ps.Z
  790.  
  791. An implementation of this paper may be found in Rayshade.
  792.  
  793. Another paper exists:
  794.  
  795. %A David W. Paglieroni
  796. %A Sidney M. Petersen
  797. %T Parametric Height Field Ray Tracing
  798. %J Proceedings of Graphics Interface '92
  799. %I Canadian Information Processing Society
  800. %C Toronto, Ontario
  801. %D May 1992
  802. %P 192-200
  803.  
  804. And still one more:
  805.  
  806. Musgrave, Kolb, and Mace
  807. "The Synthesis and Rendering of Eroded Fractal Terrains",
  808. Computer Graphics Vol 23, No. 3 (SIGGRAPH '89 procedings) p. 41-50
  809.  
  810.  
  811.  
  812. 24) How to find the area of a 3D polygon
  813.  
  814.     The area of a triangle is given by (in C notation),
  815.  
  816.      area = 0.5 * ( ( x[0] * y[1] ) + ( x[1] * y[2] ) + ( x[2] * y[0] ) -
  817.                 ( x[1] * y[0] ) - ( x[2] * y[1] ) - ( x[0] * y[2] ) );
  818.  
  819. and the area of a planar polygon is given by
  820.  
  821.      area = 0.0;
  822.  
  823.      for ( i = 0; i < n - 1; i++ )
  824.          area += ( x[i] * y[i + 1] ) - ( x[i + 1] * y[i] );
  825.      area += ( x[n - 1] * y[0] ) - ( x[0] * y[n - 1] );
  826.      area /= 2.0;
  827.  
  828. If the area is a negative number, the polygon or triangle is
  829. clockwise, if positive, it is counterclockwise.
  830.  
  831. >From Ronald Golman's Gem (in Graphics Gems II - see section 1 above), "Area
  832.  of Planar Polygons and Volume of Polyhedra:"
  833.  
  834. The area of a polygon P0, P1, P2, ... Pn, not in the x-y plane, is
  835. given by
  836.  
  837.      Area(Polygon) = 1/2 * | N . Sigma { Pk x Pk+1 } |
  838.  
  839. where N is the unit vector normal to the plane and P is a polygonal
  840. vertex.  The . represents the dot product operator and the x
  841. represents the cross product operator.  Sigma represents the summation
  842. operator.  | | represents the absolute value operator.  Pn+1 is equal
  843. to P0.
  844.  
  845.  
  846. 25) How to join ACM/SIGGRAPH
  847.  
  848. Probably the easiest way to join ACM/SIGGRAPH is to trot over to your
  849. local technical library and find a copy of Communications of the ACM.
  850. Somewhere within the first few pages will be an application blank.
  851. Fill it out and mail it in.  ACM membership for students costs $23.00,
  852. Voting or Associate Membership $77.00 (yearly)
  853.  
  854. SIGGRAPH student membership costs an additional $16.00, $26.00 for
  855. Voting or Associate Members (also yearly).  To get TOG (Transactions
  856. on Graphics) it's another $26.00 for students and $31.00 for Voting or
  857. Associate Members.
  858.  
  859. If you just want to join SIGGRAPH without joining ACM, it'll cost you
  860. $59.00 (no student discount).
  861.  
  862. There are surcharges for overseas airmailing of publications.
  863.  
  864. ACM Member services may be contacted via email at acmhelp@acmvm.bitnet. 
  865. Their phone number is (212) 626-0500.  FAX number (212) 944-1318.
  866. Snailmail address:
  867.  
  868.                 ACM
  869.                 PO Box 12114
  870.                 Church Street Station
  871.                 New York, New York 10257
  872.  
  873. SIGGRAPH `93 will be held in Anaheim, California, at the Anaheim
  874. Convention Center (just up the street from Disneyland) on August 1-6, 1993.
  875.  
  876. 26) Where can I find MRI and CT scan volume data?
  877.  
  878. Volume data sets are available from the University of North Carolina at
  879. omicron.cs.unc.edu (152.2.128.159) in /pub/softlab/CHVRTD.  (Commerical
  880. use is prohibited.)
  881.  
  882. Head data - A 109-slice MRI data set of a human head.
  883.  
  884. Knee data - A 127-slice MRI data set of a human knee.
  885.  
  886. HIPIP data - The result of a quantum mechanical calculation of a SOD data
  887. of a one-electron orbital of HIPIP, an iron protein.
  888.  
  889. SOD data - An electron density map of the active site of SOD (superoxide
  890. dismutase). 
  891.  
  892. CT Cadaver Head data - A 113-slice MRI data set of a CT study of a cadaver
  893. head. 
  894.  
  895. MR Brain data -  A 109-slice MRI data set of a head with skull partially
  896. removed to reveal brain.
  897.  
  898. RNA data - An electron density map for Staphylococcus Aureus Ribonuclease.
  899.  
  900.  
  901. 27) Specific references on spatial data structures
  902.  
  903. H. Samet,
  904. The Design and Analysis of Spatial Data Structures,
  905. Addison-Wesley, Reading, MA, 1990.
  906. ISBN 0-201-50255-0.
  907.  
  908. H. Samet,
  909. Applications of Spatial Data Structures:  Computer Graphics, Image Processing, a
  910. nd GIS,
  911. Addison-Wesley, Reading, MA, 1990.
  912. ISBN 0-201-50300-0.
  913.  
  914.  
  915. 28) Where can I get a program to plot XY(Z) data or f(x) data?
  916.  
  917. Gnuplot is a command-driven interactive data/function  plotting program.  It
  918. runs on just about any machine, and is very flexible in terms of supported
  919. output devices.  It is available from many places (e.g. guardian.cs.psu.edu
  920. in /pub/src/gnu).
  921.  
  922. ACE/gr (xmgr - Motif/xvgr - XView) is a data/function plotting tool for 
  923. workstations or X-terminals using X.  Available from ftp.ccalmr.ogi.edu
  924. in /CCALMR/pub/acegr.
  925.  
  926. robotx (Robot) is a general purpose plotting and data analysis program.
  927. Requires XView, X-terminal or workstation.  Available from sunsite.unc.edu
  928. in /pub/academic/data_analysis.
  929.  
  930. Xgraph is a popular two-dimensional plotting program that accepts data in a
  931. form similar to the unix program graph and displays line graphs, scatter plots,
  932. or bar charts on an X11 display.  Available from ic.berkeley.edu in /pub.
  933.  
  934. Drawplot is a program for drawing 2D plots on X10/X11 windows, SUNVIEW
  935. displays, or HP2648 terminals. Available from xcf.berkeley.edu in /src/local.
  936.  
  937. -- 
  938. John T. Grieggs (Telos @ Jet Propulsion Laboratory)
  939. 4800 Oak Grove Drive, Pasadena, Ca. 91109 M/S 525-3660    (818) 306-6506
  940. Uucp: {cit-vax,elroy,chas2}!jpl-devvax!grieggs
  941. Arpa: ...jpl-devvax!grieggs@cit-vax.ARPA
  942.