home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / softsys / khoros / 2906 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  60.8 KB

  1. Path: sparky!uunet!sun-barr!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!mimbres.cs.unm.edu!pprg.unm.edu!daemon
  2. From: sauer@chama.eece.unm.edu (Tom Sauer)
  3. Newsgroups: comp.soft-sys.khoros
  4. Subject: Khoros FAQ
  5. Message-ID: <41672@pprg.eece.unm.edu.pprg.unm.edu>
  6. Date: 16 Nov 92 17:41:43 GMT
  7. Sender: news@pprg.unm.edu
  8. Lines: 1338
  9.  
  10.  
  11.  
  12.         FREQUENTLY ASKED QUESTIONS ABOUT KHOROS
  13.  
  14.                 last updated:
  15.                      Sept Oct 3, '92 -- total reorganization
  16.                                                         moved some questions
  17.                              to Compile FAQ 
  18.         ( Please Read!  Please Redistribute! )
  19.  
  20.         ( Also - Please See the Khoros FAQ for Compiling )
  21.  
  22.       Contents:  Questions 1 - 47
  23.          
  24.              * Introductory Khoros
  25.              * Mailing List, News Group, User Support, Etc
  26.              * General Khoros
  27.              * Manuals, Documentation, Man Pages
  28.              * 24 Bit Displays
  29.              * Problems With Displaying Images
  30.              * Problems with SGI 
  31.              * Annotations, Editimage, Xprism2/3, Animate  
  32.              * Problems with Graphical User Interface 
  33.              * and more
  34.  
  35. ------- Introductory Khoros (obtaining Khoros, patches) -----
  36.  
  37. Q1.  What is the Khoros System?
  38.  
  39. Q2.  How do I obtain the Khoros system?
  40.      What is the most recent version of Khoros?
  41.  
  42. Q3.  What is a "Patch"? What does "Patch Level" mean?  
  43.  
  44. Q4.  How can I find out what patch level our Khoros system is at?  
  45.  
  46. Q5.  How do I get the latest patch to Khoros?
  47.  
  48. Q6.  Do I want the most recent patch?  What changes have been made 
  49.      in the patches to Khoros?
  50.  
  51. Q7.  What if I don't have access to the net / don't have the
  52.      ftp program / don't want to bother with ftp / but still want Khoros?
  53.  
  54. -------  Mailing list, News Group, User Support, Etc -----
  55.  
  56. Q8.  I want to get on / off the khoros mailing list,
  57.      I want to get on / off the digestified mailing list.
  58.  
  59. Q9.  Is there a network news group that I can read which talks about Khoros?
  60.      Is there a mail archive of the news group that I can get?
  61.  
  62. Q10. I have a question to ask.
  63.  
  64. Q11. I have a bug to report.
  65.  
  66. Q12. I have a desired enhancement I would like you to know about.
  67.  
  68. Q13. Is there a book on Khoros that I can get?
  69.  
  70. Q14. What support is provided for Khoros by the Khoros group at UNM?  
  71.      What if I need additional support?
  72.  
  73. -------  General Khoros -----
  74.  
  75. Q15. What is the Khoros Consortium?  What are the benefits of joining
  76.      the Consortium?  How much does it cost?
  77.  
  78. Q16. What machines does Khoros currently run on? 
  79.  
  80. Q17. Does Khoros work with shared libraries? 
  81.  
  82. Q18. Can you use C++ with Khoros?  How?
  83.  
  84. Q19. What file formats are supported by Khoros?  If Khoros doesn't support
  85.      my file format, is there any way to get my data into the Khoros system?
  86.  
  87. Q20. I have some GIF images that I would like to use with Khoros.  Is
  88.      there a GIF to VIFF converter?
  89.  
  90. Q21. I would like to remove all of Khoros that is not needed to 
  91.      actually run it, in order to free up disk space.   What can
  92.      be removed without compromising the integrity of the runtime 
  93.      operation of Khoros?
  94.  
  95. Q22. Is it possible to get only a subset of Khoros?  I realize that
  96.      Khoros has a core of utility routines that must be obtained, but
  97.      I was hoping that one could pick and choose the routines one wanted
  98.      on an as-needed basis.
  99.  
  100.  
  101. -------  Manuals, Documentation, Man Pages --------------
  102.     
  103. Q23. Can I buy the manuals separately?
  104.  
  105. Q24. How do I print the documentation?
  106.  
  107. Q25. I want to read the Khoros man pages, but vman doesn't seem to work.
  108.      What's the problem?
  109.  
  110. Q26. I can not regenerate the Khoros manual on a Sun Workstation
  111.      because soelim for .so lines in the roff files, limits the
  112.      file length to 64 characters.
  113.  
  114.  
  115. -------  24 bit displays --------------
  116.  
  117. Q27. Does Khoros work with 24-bit displays?  Can I expect any particular
  118.      problems when I run Khoros applications on my 24-bit display?
  119.  
  120. Q28. Is there a way to load a 24-bit image, display it on an 8-bit display 
  121.      (using 3-3-2, or 7 levels each of rgb), and allow LUT manipulations, 
  122.      histograms, etc, to be done on the original values?  
  123.  
  124. -------  Problems with Displaying Images --------------
  125.  
  126. Q29. I'm on a SUN architecture, using OpenWindows.  When I display images,
  127.      they come up  with colored speckles in them, or strangely colored in
  128.      some way. This condition rights itself when I move the cursor into 
  129.      the image, but then the colors in my user interface get messed up -
  130.      sometimes I can't see anything but the image.  Is this a bug in Khoros?
  131.  
  132. Q30. When I display an image that has a large number of colors in it
  133.      the colors will not be displayed correctly unless
  134.      I move my mouse into the image;  then, all my other windows lose
  135.      their colors.  How can I get rid of this "techno-flash" phenomenon?
  136.      NOTE: there is a difference between this problem and the one mentioned
  137.      in Q15.  In Q15, the graphical user interface is lost;  here, the
  138.      graphical user interface is preserved, but colors in other windows
  139.      are lost.
  140.  
  141. -------  Problems with SGI --------------
  142.  
  143. Q31. The Khoros display programs are not working on SGI machines.  The 
  144.      symptom is that when displaying images a title bar will appear, but 
  145.      no window -- just an hole where the image should be.  
  146.  
  147. Q32. On our SGI (NCD terminal with an SGI server), when the Khoros 
  148.      applications come up, they have extremely large graphical user 
  149.      interfaces.  The user interface is so large, it doesn't even fit 
  150.      on the screen!  What can I do?
  151.  
  152.  
  153. -------  Annotations, Editimage, Xprism2/3, Animate  --------------
  154.  
  155. Q33. I have a problem with the annotations capability in editimage (xprism).
  156.      When I move the image (plot), the annotations don't move accordingly.
  157.      It seems that they are tied to the device coordinates of the screen,
  158.      rather than the pixels in the image (world coordinates of the plot)
  159.      as they should be.
  160.  
  161. Q34. I am trying to load 3D data into xprism3 from an ASCII file.
  162.      When I try to plot the data, a pop-up window states that there 
  163.      is 1 row and (total # data points) columns, and asks for the correct
  164.      number of rows. What is going on?
  165.  
  166. Q35. What does the "*" mean after a pixel value at the bottom of
  167.      the editimage window?
  168.  
  169. Q36. I am running animate on a DecStation 5000/200.  Animate is so slow that
  170.      it is unusable.  Occasionally, it even seems to lock up the display.
  171.      What is the problem?
  172.  
  173. Q37. When plotting raw ASCII data specified in XYZ format, does the data 
  174.      have to be rectangular, or can I provide irregular data?  Does each 
  175.      row have to have the same number of elements?  Is there anyway to plot 
  176.      3D data that has a varied number of points per row?
  177.  
  178. -------  Problems with Graphical User Interface --------------
  179.  
  180. Q38. I have a version of Khoros installed on a DecStation running the 
  181.      dxwm window manager (DecWindows).  I have problems with running
  182.      Khoros programs -- some of the buttons do not work at all, while
  183.      others sometimes lock the program, or otherwise do not act properly.
  184.      What's wrong?
  185.  
  186. Q39. I'm using khoros on a monochrome monitor. I have connected up some glyphs
  187.      in the cantata workspace, but the connections don't appear on the screen,
  188.      even though the workspace executes correctly.
  189.  
  190.  
  191. -------  Writing New Programs in Khoros --------------
  192.  
  193. Q40. I have finished writing my new program under Khoros, and now
  194.      I would like to install it into a toolbox, and integrate it 
  195.      into the cantata visual language.  How do I go about doing this?
  196.  
  197. Q41. Is there a tutorial describing how to create and install an xvroutine?
  198.  
  199. Q42. Can user-written routines be installed under existing buttons on
  200.      the Cantata workspace? For example, if I have written a new
  201.      signal processing routine, can I fix things so that it appears
  202.      on the menu under the Signal Processing button, or do I have to
  203.      install it in a new toolbox?
  204.  
  205. -------  Miscellaneous --------------
  206.  
  207. Q43. Where did you get the name "Khoros"? Is it an acronym?
  208.  
  209. Q44. I would like to do 3D object modelling, with multiple light sources,
  210.      animation, and so on.  Does Khoros do this?
  211.  
  212. Q45. I heard about the audio cantata demo, and would like to hear it.
  213.      How do I go about this?
  214.  
  215. Q46. Is there a way to convert VIFF images with 3 color bands (rgb) to
  216.      images with only one band and a colormap?  What about vice versa?
  217.  
  218. Q47. We are trying to run cantata on an NCD Xterminal as the display, 
  219.      and the program fails, exiting with the following error:
  220.  
  221.      X Error:  BadAlloc
  222.        Request Major code 65 ()
  223.        Request Minor code 0
  224.        ResourceID 0x2400085
  225.        Error Serial #1576
  226.        Current Serial #1582
  227.     Major X error encountered for display ':0'! Unable to recover.
  228.  
  229. Q48. When I try to use my double or double complex viff image that came from
  230.      another kind of machine, the program always gives an error.  What gives?
  231.  
  232.  
  233. ==============================================================================
  234.  
  235. ============= Introductory Khoros (obtaining Khoros, patches) ================
  236.  
  237.  
  238.     Q1. What is the Khoros system?
  239.  
  240.     A1. Khoros is an integrated software development environment for 
  241.         information processing and visualization, based on X11R4.  Khoros 
  242.         components include a visual programming language, code generators 
  243.         for extending the visual language and adding new application packages 
  244.         to the system, an interactive user interface editor, an interactive 
  245.         image display package, an extensive library of image processing,
  246.         numerical analysis and signal processing routines, and 2D/3D
  247.         plotting packages.
  248.  
  249.         *  X Windows Applications:
  250.         Animate - Interactive Image Sequence Display Tool
  251.         Cantata - Extensible Visual Programming Language
  252.         Concert - A system for distributed X user interfaces (groupware)
  253.         Editimage - Interactive Image Display & Manipulation Program
  254.         Xprism2 and Xprism3 - Comprehensive 2D and 3D Plotting Packages
  255.         Viewimage - A basic interactive program for surface rendering
  256.         Warpimage - An interactive program for registering and warping images
  257.  
  258.         *  Data Processing Algorithms:
  259.         Khoros contains over 260 programs, in the following
  260.         categories: arithmetic, classification, color conversion,
  261.         data conversion, file format conversion, feature extraction,
  262.         frequency filtering, matrix algebra (LINPACK and EISPACK),
  263.         spatial filtering, morphology filtering, geometric manipulation, 
  264.     histogram manipulation, statistics, signal generation,
  265.         linear operations, segmentation, spectral estimation, sub-
  266.         region, and transforms. Khoros supports the following file
  267.         formats: TIFF, pbm, BIG, DEM, DLG, ELAS, FITS, MATLAB, Sun
  268.         raster, TGA, and xbm.
  269.  
  270.         *  User Interface Tools
  271.         Preview  - Graphical User Interface Display Tool
  272.         Composer - Interactive Graphical User Interface Editor
  273.         Conductor - Code Generation Tool for a Graphical User Interface
  274.         Ghostwriter - Code Generation Tool for a Command Line User Interface
  275.         Source Configuration & Management - Tools to install and maintain a
  276.                                     distributed source tree.
  277.  
  278.     For complete details, please read the "announce.ftp" and "khoros.ftp"
  279.         documents that are available in the khoros release/ directory.
  280.         These documents can be obtained via anonymous ftp from any official
  281.         Khoros ftp site (see Q2).
  282.         
  283.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  284.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  285.  
  286.     Q2. How do I obtain the Khoros system?
  287.     What is the most recent version of Khoros?
  288.  
  289.     A2.              ----  anonymous  ftp ----
  290.     The most recent version of Khoros, Khoros 1.0 Patch 5, can be 
  291.     obtained free of charge via anonymous FTP.
  292.     Our official FTP site from which you can get
  293.     the Khoros system is listed below.   
  294.  
  295.         USA:             ftp pprg.eece.unm.edu  (129.24.24.10)        
  296.     (University of     Login:  anonymous  (or ftp)
  297.          New Mexico)    Password: user_name@machine
  298.                       cd /pub/khoros
  299.  
  300.         In all cases, we recommend that you first obtain the "install.ftp",
  301.         "install.ms", or "install.ps" installation document found in the
  302.         release/ directory, and read it before attempting to obtain the 
  303.         Khoros system.  The Khoros system is large, and fewer mistakes will 
  304.         be made if the proper documentation is read beforehand.
  305.  
  306.                     ----  USA tape orders ----
  307.     If you are not on the network, or do not want to use ftp for some
  308.     reason, you may order a tape of Khoros and printed manuals for a 
  309.     fee of $250 from:
  310.  
  311.     The Khoros Group
  312.     Room 110  EECE Dept.
  313.     University of New Mexico, 
  314.     Albuquerque, NM 87131
  315.     email: khoros-request@chama.eece.unm.edu
  316.  
  317.     Please mail khoros-request@chama.eece.unm.edu to obtain the order
  318.     form that must be filled out to place your order.
  319.  
  320.                     ----  Europe tape orders ----
  321.     In Europe, you may order a tape from:
  322.  
  323.     Pascal ADAM
  324.     DTA / LETI / DEIN / SIR
  325.     CEN SACLAY
  326.     91191 Gif / Yvette Cedex FRANCE
  327.     tel: 33 1 69 08 82 91
  328.     fax: 33 1 69 08 83 95
  329.     email: padam@fauvette.saclay.cea.fr
  330.  
  331.  
  332.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  333.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  334.  
  335.    Q3. What is a "Patch"?  What does "Patch Level" mean?  
  336.  
  337.    A3. Periodically, we release "patches" to the Khoros system.  In general,
  338.        a "patch" to a program means that the author made one or more bug fixes
  339.        to the program.  These bug fixes are then made available to users of the 
  340.        program in the form of context diff files, which are applied to the
  341.        original program with the public domain "patch" program in order to 
  342.        bring it up to date. In general, patches are small, fixing a few 
  343.        reported bugs and nothing more;  they are released frequently following 
  344.        the release of a software package, as the author(s) endeavor to make 
  345.        the original program solid and reliable before moving on work on the 
  346.        next version of the program.
  347.  
  348.        When used with respect to the Khoros system, however, the term "Patch"
  349.        is used rather loosely.  "Patches" to the Khoros system would more 
  350.        suitably be termed "minor releases".  They are made available to users
  351.        in the form of large tar files, and the use of the "patch" program used
  352.        on context diff files was abandoned after the first try, as it was 
  353.        simply not sufficient to address the number of changes that were 
  354.        included.  Patches to the Khoros system are large, fixing dozens of
  355.        bugs and introducing major enhancements to the Khoros system;  they
  356.        are released infrequently, often with 2-3 months elapsing between
  357.        patches, as the authors attempt to make new capabilities available
  358.        to users.
  359.  
  360.        In any case, "Patch Level" refers to the number of patches that
  361.        have been applied to the software at a certain site;  for example,
  362.        if three patches have been acquired and applied to the software, that
  363.        software would be said to be "at Patch Level 3".   In addition to
  364.        making patches available to users who already have the Khoros system,
  365.        we also apply the same patches to the Khoros system which is available
  366.        via public ftp.  Thus, if you acquired the Khoros system after Patch 3
  367.        was released, your software would still be said to be "at Patch Level 3",
  368.        regardless of the fact that you had never actually applied any patches.
  369.  
  370.  
  371.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  372.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  373.  
  374.     Q4. How can I find out what patch level our Khoros system is at?  
  375.        
  376.     A4. If you do not know what patch level your version of Khoros is at,
  377.         look in $KHOROS_HOME/src for a file called "PatchLevel".  The one-line
  378.         contents of this file will tell you what patch level the system is at.
  379.         If the file does not exist, you probably have the original
  380.         Khoros 1.0 with no patches applied,  although some sites may still 
  381.         have the Beta version of Khoros.  The Khoros Manuals will indicate 
  382.         if you still have Khoros Beta.
  383.  
  384.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  385.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  386.  
  387.     Q5. How do I get the latest patch to Khoros?
  388.  
  389.     A5. If you are acquiring the Khoros system for the first time, see Q2.
  390.     The distributed version of Khoros on pprg.eece.unm.edu always has
  391.         the most recent patch incorporated.  If you have an existing version
  392.         of Khoros, do an anonymous ftp to pprg.eece.unm.edu  (129.24.24.10);
  393.         the most recent patch is in /pub/khoros/patch/patchN, where patchN
  394.         is the most recent patch.  Follow the instructions in the README found 
  395.     in that directory for installing the patch.  ONLY install patchN onto
  396.         a Khoros system which is currently at Patch Level N-1. If your version
  397.     of Khoros is at Patch Level N-2 or earlier, re-acquire the entire 
  398.     system from scratch as explained in Q2.
  399.  
  400.     IMPORTANT:  You must ALWAYS have the same release of "system" to go 
  401.     with either a release of "source" or a release of "binaries".  
  402.  
  403.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  404.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  405.         
  406.    Q6.  Do I want the most recent patch?  What changes have been made
  407.         in the patches to Khoros?
  408.  
  409.    A6.  Of course you will want the most recent patch if you want to stay 
  410.         up to date with what we are doing with the Khoros system.  The changes 
  411.         that have been made in each patch are too extensive to list here;  
  412.         however, a complete list of changes that were made during Patch N can 
  413.         be obtained by ftp'ing to pprg.eece.unm.edu (129.24.24.10), and getting 
  414.     /pub/khoros/patch/patchN/README.
  415.  
  416.        
  417.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  418.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  419.  
  420.    Q7.  What if I don't have access to the net / don't have the
  421.     ftp program / don't want to bother with ftp?
  422.  
  423.    A7.    If you don't want to ftp the system yourself, you may
  424.     get a tape and printed documentation from UNM. It will cost 
  425.         $250 if you are in the United States or Canada, $350 internationally.
  426.  
  427.     MAIL ORDERS:
  428.     First, get an order form.   You may ftp to of the sites listed 
  429.     above and get the announce.ftp document (which contains the order
  430.     form), or mail khoros-request@chama.eece.unm.edu and request an order
  431.     form.  Fill out the order form and send it to the 
  432.     address listed on it with a check or purchase order for 
  433.     $250 made out the University of New Mexico.
  434.     
  435.         FAX ORDERS:
  436.     You can FAX orders to UNM at 505-277-1439
  437.  
  438.     CREDIT CARD ORDERS:    
  439.     You can use your credit card to order Khoros, provided that you
  440.     specify all the necessary information (name, credit card number,
  441.     expiration data, daytime phone number) on your order form.
  442.         We do not accept American Express.
  443.  
  444.     ORDER INFORMATION:
  445.     email khoros-request@chama.eece.unm.edu
  446.  
  447.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  448.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  449.  
  450. ============= Mailing list, News Group, User Support, Etc =====================
  451.  
  452.     Q8. I want to get on / off the khoros mailing list,
  453.     I want to get on / off the digestified mailing list.
  454.  
  455.     A8. PLEASE don't mail these requests to khoros@chama.eece.unm.edu!
  456.         Over 1000 people who don't care will be getting your request.
  457.         Mail to khoros-request@chama.eece.unm.edu, and we will process
  458.         your request as soon as we can.
  459.  
  460.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  461.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  462.  
  463.     Q9. Is there a network news group that I can read which talks 
  464.         about Khoros?  Is there a mail archive of the news group
  465.         that I can get?
  466.  
  467.     A9. Yes.  We have our own news group, comp.soft-sys.khoros.
  468.         Note that all messages to the mailing list are cross-posted to the
  469.         news group and vice versa;  thus, you may want to be on the mailing
  470.         list or read the news group, but it is not necessary to do both.
  471.  
  472.         We do have a mail archive, but it is unfortunately not updated 
  473.         automatically;  at this time, it is only updated when patches are
  474.         released.  However, on the philosophy that something is better than
  475.         nothing, you can do an anonymous ftp to pprg.eece.unm.edu (129.24.24.10)
  476.     and get the files found in /pub/khoros/mail_archive.
  477.  
  478.     For researching previously-posted mail to comp.soft-sys.khoros, 
  479.     you can also make use of the WAIS server for Khoros mail, provided
  480.     by Mathew Yeates of the Image Analysis Systems Group, JPL.  
  481.     WAIS - The Wide Area Information Servers system, is a set of products 
  482.     supplied by different vendors to help end-users find and retrieve 
  483.     information over networks.   It can be obtained from think.com.
  484.  
  485.     The server is running at henry.jpl.nasa.gov on port 1025 and the 
  486.     database name is khorosmail. As an example:
  487.  
  488.     % waissearch -p 1025 -h henry.jpl.nasa.gov -d khorosmail ansi
  489.  
  490.     This gives a list of mail containing the keyword "ansi". Next, you may
  491.     choose which mail to read (xwais is a better interface).  
  492.     Please direct any questions about WAIS to alt.wais, not 
  493.     comp.soft-sys.khoros.
  494.  
  495.     This is a temporary service provided for members of the Khoros 
  496.     community by Mathew Yeates, and may go away at any time, depending
  497.     on any adverse effects that it may have on his machine.  Thanks go
  498.     to Mathew (mathew@elroy.jpl.nasa.gov) for providing this service.
  499.     
  500.  
  501.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  502.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  503.  
  504.    Q10. I have a question to ask.
  505.  
  506.    A10. If you have a question, mail to our mailing list: 
  507.         khoros@chama.eece.unm.edu.  When mailing questions, please follow 
  508.         the proper mail etiquette by including enough information for us 
  509.         to understand your situation.  Indicate what machine architecture 
  510.         and operating system you are using.  Include complete details so as 
  511.         to exactly describe your problem.  Do not mail long files to the
  512.         mailing list, such as make.World files, or saved cantata workspaces.
  513.  
  514.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  515.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  516.  
  517.    Q11. I have a bug to report.
  518.  
  519.    A11. If you have a bug report, mail to khoros-bugs@bullwinkle.eece.unm.edu.
  520.         Please use the Bug Report form found in $KHOROS_HOME/repos/BugReport.
  521.     It is very difficult for us to trace bugs when we don't have enough
  522.     background information.  Also, it will help if you first read
  523.     $KHOROS_HOME/repos/BugList, which lists currently known bugs in Khoros.
  524.     We rarely respond to reports mailed to khoros-bugs;  however, we do
  525.     log them in our list of bugs to be dealt with. In the future, we hope 
  526.     to implement an automatic reply so that you know your mail was received.
  527.     Please *DO* send bug reports on any documentation errors you may find,
  528.     no matter how "nit-picky" they may seem!  We don't have a professional
  529.     proof reader, so any reports you make are *truly* appreciated!
  530.         Please *don't* send questions to khoros-bugs -- they probably will not 
  531.     be answered, as this account is for logging of bugs & desired 
  532.     enhancements only.  
  533.  
  534.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  535.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  536.  
  537.    Q12. I have a desired enhancement that I would like you to know about.
  538.  
  539.    A12. If you would like to request an enhancement to a program,
  540.      mail to khoros-bugs@bullwinkle.eece.unm.edu.  You don't need to use
  541.     the Bug Report form, but please be clear and give enough information
  542.     so that we will exactly what the enhancement is.  We cannot promise
  543.     that desired enhancements will be implemented. 
  544.  
  545.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  546.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  547.  
  548.    Q13. Is there a book on Khoros that I can get?
  549.  
  550.    A13. Not at this time, but there is a book scheduled to begin development 
  551.         this year by Carla Williams, PhD.  An outline of the book has been 
  552.     decided on;  it will include writings from a number of authors, 
  553.     and will address the solution of various scientific problems using
  554.     the Khoros system.
  555.  
  556.     We do recommend "AN INTRODUCTORY GUIDE TO SCIENTIFIC VISUALIZATION",
  557.     by R. A. Earnshaw (University of Leeds) and and N. Wiseman (Natural 
  558.     Environment Research Council), published by Springer-Verlag, 157 pp, 
  559.     which was published in July 1992.  It has a low price and popular 
  560.     presentation style, and it does include information on Khoros in 
  561.     Chapter 8, section 8.1.  A summary of this book appears below:
  562.  
  563.     This volume is intended for readers new to the field of scientific
  564.     visualization, and who require a quick and easy-to-read summary of what
  565.     the field is  and what it can do. Written in a popular journalistic 
  566.     style with many illustrations, it will enable readers to appreciate 
  567.     the benefits of scientific visualization and how current tools can be 
  568.     exploited in many application areas.  This volume is indispensable 
  569.     for scientists and research workers who have never used computer 
  570.     graphics or other visual tools before, and who wish to find out the 
  571.     benefits and advantages of the new approaches.  This guide is concerned
  572.     with answering the following questions -
  573.  
  574.     o What is Scientific Visualization?
  575.     o What can it do?
  576.     o What do the technical terms and jargon really mean?
  577.     o What products are currently available?
  578.     o What kind of hardware do I need?
  579.     o What are the costs?
  580.     o What do I get?
  581.     o Where do I go next to find out more, or explore current
  582.           possibilities?
  583.     o What are the prospects for the future?
  584.  
  585.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  586.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  587.  
  588.    Q14. What support is provided for Khoros by the Khoros group at UNM?  
  589.         What if I need additional support?
  590.  
  591.    A14. The best we can do here at UNM is to try to answer your mail to
  592.         khoros@chama.eece.unm.edu, and to post to our new news group,
  593.         comp.soft-sys.khoros -- a big job in itself for our small group.
  594.         We have decided that the best way to provide additional support
  595.         is via the Consortium.  Hopefully, in the future, one or more of
  596.         the Consortium members will take the initiative to provide Khoros
  597.         support.  
  598.          
  599.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  600.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  601.  
  602.  
  603. ========================== General Khoros ====================================
  604.  
  605.  
  606.    Q15. What is the Khoros Consortium?  What are the benefits of joining
  607.         the Consortium?  How much does it cost?
  608.  
  609.    Q15. The Khoros Consortium will oversee the distribution of the
  610.         Khoros software and the continued research and development
  611.         of the Khoros project.  There are two levels of membership
  612.     in the Consortium: a Supporting Member at $50,000/year, and an
  613.     Affiliate Member at $5000/year. Affiliate Members have the right
  614.     to redistribute the Khoros system and early access to enhancements
  615.         and updates;  Supporting Members have the right of redistribution and
  616.     early access to updates; they also participate on an advisory group 
  617.     as well as participate in staff exchange, and training sessions. 
  618.     For more information about joining the Consortium, send email 
  619.     to: consort@chama.eece.unm.edu
  620.      
  621.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  622.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  623.    
  624.    Q16. What machines does Khoros currently run on? 
  625.    A16. Please see the Khoros FAQ for Compiling, Q1.
  626.  
  627.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  628.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  629.  
  630.    Q17. Does Khoros work with shared libraries?  
  631.    A17. Please see the Khoros FAQ for Compiling, Q9.
  632.  
  633.  
  634.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  635.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  636.  
  637.    Q18. Can you use C++ with Khoros?  How?
  638.  
  639.    A18. Klamer Schutte, of the Faculty of Electrical Engineering at the 
  640.     University of Twente, The Netherlands, (klamer@mi.el.utwente.nl, 
  641.     SMTP: klamer@utelmi01.el.utwente.nl) provides the following answer:
  642.  
  643.     I am doing this now on a regular basis with Sun C++ 2.1. I use composer 
  644.     & ghostwriter to generate a main() with command line handling. The C++ 
  645.     function does the real thing.
  646.  
  647.     One problem: Sun C++ 2.1 needs a C++ main, not a C main. So I have a
  648.  
  649.     #define        main    my_main
  650.  
  651.     as a #define in the ghostwriter-generated C main. 
  652.     Also, I have a simple wrapper
  653.     in C++ for the main function:
  654.  
  655.     extern "C" my_main(int argc, char *argv[]);
  656.  
  657.     main(int argc, char *argv[])
  658.     {
  659.             return my_main(argc,argv);
  660.     }
  661.  
  662.     The library function also needs the extern "C" directive.
  663.  
  664.     Recently, I tried the same method with g++ 2.{1,2} and 
  665.     it worked similarly.
  666.  
  667.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  668.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  669.  
  670.    Q19. What file formats are supported by Khoros?  If Khoros doesn't support
  671.         my file format, is there any way to get my data into the Khoros system?
  672.  
  673.    A19. Khoros supports Sun Raster, Terra-Mar BIG, TGA, DEM, DLG, FITS, PBM,
  674.         and ELAS images;  there are routines to convert each of these file
  675.         formats to the VIFF format used by Khoros.  In addition, there are
  676.         also routines to convert ascii data and raw data to the VIFF format.
  677.         If your file format is not one of these, you can still import the 
  678.         image data to Khoros provided you can display the image.  Once any 
  679.         image is displayed on an X11 screen, the "getimage" program can be
  680.         used to store it as a VIFF image. 
  681.  
  682.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  683.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  684.  
  685.    Q20. I have some GIF images that I would like to use with Khoros.  Is
  686.         there a GIF to VIFF converter?
  687.  
  688.    A20. Currently, we do not have a gif2viff program, although we may put
  689.     one out in the future.   For the time being, you can convert your 
  690.     GIF image to PBM (Portable Bit Map) and then use the
  691.         khoros routine 'pbm2viff' to get it from PBM into VIFF format.
  692.         To convert your GIF image to PBM, the pbmplus package is very useful.
  693.         The pbmplus package is a public domain package that can obtained via
  694.         anonymous ftp on pprg.eece.unm.edu or export.lcs.mit.edu in the file
  695.         'pub/pbmplus.tar.Z'.
  696.  
  697.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  698.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  699.  
  700.    Q21.  I would like to remove all of Khoros that is not needed to 
  701.          actually run it, in order to free up disk space.   What can
  702.          be removed without compromising the integrity of the runtime 
  703.      operation of Khoros?
  704.  
  705.    A21.  The minimum set of directories that you need to run Khoros are:
  706.              bin     - of course for executables
  707.              repos   - user interface files
  708.         dotfiles- dotfiles for khoros environment
  709.  
  710.          You may also want to keep:
  711.             doc     - on line help
  712.             man     - man pages used by vman
  713.             manual  - printed manual
  714.  
  715.       You do not need the following for only a "runable" khoros:
  716.                src     - needed for compiling
  717.             lib     - needed for compiling
  718.             include - needed for compiling
  719.             data    - examples
  720.             release - documentation
  721.  
  722.  
  723.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  724.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  725.  
  726.    Q22. Is it possible to get only a subset of Khoros?  I realize that
  727.     Khoros has a core of utility routines that must be obtained, but
  728.     I was hoping that one could pick and choose the routines one wanted
  729.     on an as-needed basis.
  730.  
  731.    A22. No, sorry.  At this time, you must get the ENTIRE distribution to 
  732.         begin with.  After you have the system, you may selectively delete
  733.     programs that you are not interested in.  We do recommend that you
  734.     be very careful when deleting libraries, as deleting a library that 
  735.     existing routines link against may be fatal.  Making the distribution
  736.     of Khoros more modular has high priority for Khoros 2.0;  we understand
  737.     that it would be much more convenient to be able to acquire only those
  738.     programs in which one is interested. 
  739.  
  740.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  741.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  742.  
  743. ================ Manuals, Documentation, Man Pages =============================
  744.  
  745.  
  746.     Q23. Can I buy the manuals separately?
  747.     A23. Yes.  For a cost of $100 / set, you can order printed manuals from
  748.          us here at UNM.  See A7 for details.
  749.     
  750.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  751.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  752.  
  753.     Q24. How do I print the documentation?
  754.     Q24. Use the "prnmanual" program.  It is an interactive program
  755.       which will take you through a series of prompts in order to
  756.      print the desired portion of the manual.
  757.     
  758.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  759.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  760.  
  761.    Q25. I want to read the Khoros man pages, but vman doesn't seem to work.
  762.         What's the problem?
  763.  
  764.    A25. Be sure that you have run  the "customize" program before attempting 
  765.     to use "vman".  The "customize" program sets paths correctly so 
  766.     that "vman" knows where to go to find man pages.  
  767.  
  768.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  769.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  770.  
  771.    Q26. I can not regenerate the Khoros manual on a Sun Workstation
  772.         because soelim for .so lines in the roff files, limits the
  773.         file length to 64 characters.
  774.  
  775.    A26. This is a bug and has been reported to Sun, but not expected
  776.         to be fixed until the release after 4.1.2 (maybe). We are
  777.         distributing a public domain version of the soelim program.
  778.         If you think or know that your OS has this problem, then make
  779.         sure you have the "SoeLim" symbol set to YES in your sun.cf file.
  780.  
  781.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  782.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  783.  
  784. ==================  24 Bit Displays ===========================================
  785.  
  786.    Q27. Does Khoros work with 24-bit displays?  Can I expect any particular
  787.         problems when I run Khoros applications on my 24-bit display?
  788.  
  789.    A27. Yes, Khoros works with 24-bit displays.  As of patch 2, increased
  790.     support was added for 24-bit displays - most xvroutines should display
  791.     graphics and images on 24 bit displays without problem.   One drawback
  792.     of editimage is that the position widget (displayed under the image,
  793.     in [X x Y = Z] format) should display 3 components when used with a 
  794.     24 bit image;  we did not have time to update this as of yet.
  795.     Similarly, the Pixel Print capability should also treat the lookup
  796.     as 3 decomposed RGB values. 
  797.  
  798.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  799.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  800.  
  801.    Q28. Is there a way to load a 24-bit image, display it on an 8-bit display 
  802.     (using 3-3-2, or 7 levels each of rgb), and allow LUT manipulations, 
  803.     histograms, etc, to be done on the original values?  
  804.  
  805.    A28. Allowing such manipulations to be done on the original values of 24-bit 
  806.     images would have many advantages. We would like to do this in the 
  807.         future, as well as allow the manipulation of integer and short images.  
  808.     As time permits, we will be adding these kind of capabilities in the 
  809.     near and long term.  Our goal is to provide a merged display and 
  810.     graphics library that is flexible and is easy for the user to build 
  811.     new applications, and that handles this situation (among others) 
  812.     automatically.  
  813.  
  814.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  815.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  816.  
  817. ==================  Problems With Displaying Images   =========================
  818.  
  819.  
  820.    Q29. I'm on a SUN architecture, using OpenWindows 2.0. When I display images,
  821.         they come up  with colored speckles in them, or strangely colored in
  822.     some way. This condition rights itself when I move the cursor into 
  823.     the image, but then the colors in my user interface get messed up -
  824.     sometimes I can't see anything but the image.  Is this a bug in Khoros?
  825.  
  826.    A29. No, it is a result of us having to work around a bug in the X server 
  827.     which will cause the server to dump when any display routine attempts 
  828.     to create a private colormap.  We managed to work around the bug,
  829.     but at the cost of user interface colors no longer being defined as 
  830.     the original colors.  This implies that with any display routine, your 
  831.     user interface colors will be undefined if the programs cannot use 
  832.     the default colormap;  in this case, your user interface colors may 
  833.     disappear, may be arbitrarily defined, or may have their colors 
  834.     re-defined according to the current colormap.  The best you can do
  835.     is try to limit the colors used in your image, thus leaving more
  836.     color cells "left over" for the user interface to use.
  837.     Note that this bug has been fixed in OpenWindows 3.0.
  838.  
  839.  
  840.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  841.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  842.  
  843.    Q30. When I display an image that has a large number of colors in it
  844.     the colors will not be displayed correctly unless
  845.     I move my mouse into the image;  then, all my other windows lose
  846.     their colors.  How can I get rid of this "techno-flash" phenomenon?
  847.     NOTE: there is a difference between this problem and the one mentioned
  848.     in Q29.  In Q29, the graphical user interface is lost;  here, the
  849.     graphical user interface is preserved, but colors in other windows
  850.     are lost.
  851.  
  852.    A30. The number of colors that may be displayed nicely is X server 
  853.     dependent -- it also depends on the number of colors currently 
  854.     used by other windows on your display.
  855.  
  856.     For color rgb (3-band) images, use the vgamut program to reduce the 
  857.     number of  colors, using the [-n] option to specify the number of 
  858.     colors you want in the compressed image. 
  859.  
  860.     For psuedocolor images, you first must use the vmapdata program to 
  861.     convert the image into a temporary 3-band rgb image; use this
  862.     temporary image as input to vgamut, as described above. 
  863.  
  864.     For grey scale images with no map, you may want to use 
  865.     v1bgamut (one-band gamut) to reduce the number of colors.
  866.     Another method is to use vconvert to convert the image to type 
  867.     BYTE, scale by 0.5, and multiply by 2.0, thus quantizing the grey 
  868.     levels to 7 bits (even values 0-254).
  869.  
  870.     There are a very large number of ways that images can
  871.     be modified to use a reduced number of pixels;  explanations of
  872.     other methods are omitted here.  To begin with, the user should see
  873.     man pages on vgamut, v1bgamut, vmapdata, vconvert, and vmsquish. 
  874.     
  875.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  876.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  877.  
  878. ================  Problems With SGI  ==========================================
  879.  
  880.    Q31. The Khoros display programs are not working on SGI machines.  The 
  881.         symptom is that when displaying images a title bar will appear, but 
  882.         no window -- just an hole where the image should be.  
  883.  
  884.    A31. We have found what appears to be a bug with SGI's Xsgi server.  
  885.         The bug is with the shape window extension and seems to only appear 
  886.         on machines that are running either the 3.3.1 or 3.3.2 maintenance 
  887.         update.  It does work however with the original 3.3 distribution.  
  888.         To identify what version of the Xsgi server is installed on your 
  889.         machine, run the following command:
  890.  
  891.         % /usr/sbin/versions long | grep Xsgi
  892.  
  893.         If "versions" returns the string below then all should be well:
  894.  
  895.         f 39751  1569 eoe2.sw.X11             usr/bin/X11/Xsgi
  896.  
  897.         If "versions" returns either of these two strings then the display 
  898.         routines will not work:
  899.  
  900.         f 34353  1569 maint1.eoe2_sw.X11      usr/bin/X11/Xsgi
  901.         f 34353  1569 maint2.eoe2_sw.X11      usr/bin/X11/Xsgi
  902.  
  903.     In the 4.0 version of the operating system, this the bug is fixed.  
  904.     Patch 1 of Khoros fixed the problem by totally disabling the shape 
  905.     option for SGI servers.
  906.  
  907.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  908.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  909.  
  910.    Q32. On our SGI (NCD terminal with an SGI server), when the Khoros 
  911.     applications come up, they have extremely large graphical user 
  912.     interfaces.  The user interface is so large, it doesn't even fit 
  913.     on the screen!  What can I do?
  914.  
  915.    A32. A bug in the SGI 3.3.x X Server prevents default fonts being 
  916.     read from the .Xdefaults file by the xvforms library, causing 
  917.     Khoros applications to come up with unpredictable fonts.   To find 
  918.     out which fonts are available on your display, use:
  919.  
  920.         % xlsfonts 
  921.  
  922.     Then, use your favorite font with the [-fn] option that is provided 
  923.      with all Khoros applications that have a graphical user interface.  
  924.     We recommend the "fixed" font, if it is available.  For example,
  925.  
  926.         % editimage -fn fixed
  927.  
  928.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  929.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  930.  
  931. ================= Annotations, Editimage, Xprism2/3, Animate ==================
  932.  
  933.  
  934.    Q33.  I have a problem with the annotations capability in editimage (xprism).
  935.      When I move the image (plot), the annotations don't move accordingly.
  936.      It seems that they are tied to the device coordinates of the screen,
  937.      rather than the pixels in the image (world coordinates of the plot)
  938.      as they should be.
  939.  
  940.    A33.  This is true.  You are noticing a design limitation in the annotations
  941.      implementation.  Annotations were originally created to work on device
  942.      coordinates, with future plans to upgrade them to work on the pixels
  943.      in the image / world coordinates of the plot.  Unfortunately, we still 
  944.      have not added this capability.   We hope to rectify this for 
  945.      Khoros 2.0.
  946.  
  947.  
  948.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  949.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  950.  
  951.    Q34. I am trying to load 3D data into xprism3 from an ASCII file.
  952.         When I try to plot the data, a pop-up window states that there 
  953.     is 1 row and (total # data points) columns, and asks for the correct
  954.         number of rows. What is going on?
  955.  
  956.    Q34. When you input data points into xprism3, there is nothing in the data 
  957.     to indicate how many rows and columns are included in the data.
  958.  
  959.         While row & column information is not needed to do a scatter
  960.         plot, for instance,  it is required in order to draw a mesh plot, a
  961.         surface plot, and others.
  962.  
  963.     Suppose you have 200 data points.  Xprism3 does not know
  964.         whether you want 1 long row of 200 points, or 2 rows of 100 points
  965.     each, or 5 rows of 40 points, etc:  so, you have to *tell* it what
  966.         you mean.  If you are providing the data file as input from the
  967.         command line, you would specify the number of rows with the [-rows]
  968.         option, as in the following data file containing 5 rows of 38
  969.         points (columns) each:
  970.  
  971.         % xprism3 -i11 data2.pts -rows11 5
  972.  
  973.         If you input the data file from the "Input File" pane of the "Plot"
  974.         subform, you will be prompted by a pop-up window noting that the 
  975.      default is to have 1 row of 200 columns (one long row with 200 points 
  976.         in it).  If you really wanted 5 rows of 40 points (columns) each, you 
  977.      would correct xprism3 by substituting a 5 for the 1 in the pop-up 
  978.     window.  From that point on, the default action would be for xprism3 
  979.     to assume that all subsequent sets of data points all have 5 rows;  
  980.     the number of points in each row (the number of columns) is computed 
  981.     as the total number of points divided by the number of rows specified.  
  982.     If you then enter a set of data points that has, say, 2 rows, you will 
  983.     have to correct xprism3 again by entering "2" in the pop-up window.
  984.  
  985.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  986.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  987.  
  988.    Q35. What does the "*" mean after a pixel value at the bottom of
  989.         the editimage window?
  990.  
  991.    A35. This is an indication of whether the pixel was _actually_ allocated. 
  992.     If a "*" is displayed, this means that the pixel being displayed has 
  993.     really been mapped to its closest available neighbor.  On an 8-plane
  994.     display, an application can only have up to 256 colors; this means that 
  995.     the application and the image must share these colors.  So, if you
  996.     display a byte image with 254 colors, you will only have 2 colors left
  997.         for the user interface colors and special application displays.  For
  998.         editimage, special colors like red, green, blue, white, black, yellow,
  999.         cyan, magenta, and gray are used with the application display
  1000.         components such as LUT and PSEUDO.  But, you have only 2 colors left --
  1001.     what should be done?   What editimage does to deal with this problem
  1002.     is to allocate all the special colors and user interface colors first,
  1003.     to ensure that the user interface will not be corrupted; image colors 
  1004.     are allocated next.  When the image needs more colors than are 
  1005.     available, the xvdisplay library will find the closest available colors 
  1006.     from the previously allocated pixels;  thus, a particular pixel being
  1007.     displayed on the screen may actually represent 2 or more actual pixel
  1008.     values from the image data.  Thus, when you move the mouse around the 
  1009.     image, these special pixels have a "*" displayed to indicate this 
  1010.     situation where it occurs.
  1011.  
  1012.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  1013.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  1014.  
  1015.    Q36. I am running animate on a DecStation 5000/200 PX or PXG.  Animate is 
  1016.     so slow that it is unusable.  Occasionally, it even seems to lock up 
  1017.     the display.  What is the problem?
  1018.  
  1019.    A36. There is only limited pixmap hardware memory available on the PX and
  1020.     PXG.  The default action of animate is to use a pixmap Use animate 
  1021.         with the [-pixmap false] option.
  1022.  
  1023.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  1024.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  1025.  
  1026.    Q37. When plotting raw ASCII data specified in XYZ format, does the data 
  1027.         have to be rectangular?  Does each row have to have the same 
  1028.     number of elements?  Is there anyway to plot 3D data that has a 
  1029.     varied number of points per row?
  1030.  
  1031.    A37. Currently, xprism3 does allow you to have unevenly spaced 
  1032.         points, but the number of points in each row must be the same in order
  1033.     to do a mesh, colormesh, surface, horizon, contour 2D or 3D plot.  You
  1034.     can do a 3D scatter plot with a varying number of points in each row:
  1035.     simply tell xprism3 that you have 1 long row of (total number) points. 
  1036.     To get an accurate plot in this situation, however, you are limited
  1037.     to scatter plots.
  1038.     
  1039.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  1040.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  1041.  
  1042. ==================  Problems with Graphical User Interface ==================
  1043.  
  1044.    Q38. I have a version of Khoros installed on a DecStation running the 
  1045.         dxwm window manager (DecWindows).  I have problems with running
  1046.         Khoros interactive programs such as cantata, xprism2/3, etc -- 
  1047.     some of the buttons do not work at all, while others sometimes lock 
  1048.     the program, or otherwise do not act properly.  What's wrong?
  1049.  
  1050.    A38. Khoros does not behave well at all under dxwm (DecWindows).
  1051.     What usually happens is that the application in question needs 
  1052.     to pop up a warning message, error message, or other pop-up window;  
  1053.     but dxwm does not map the pop-up message for some reason.  
  1054.     So the application sits there and waits for you to acknowledge an 
  1055.     error message that never came up -- thus giving the impression that 
  1056.     nothing is happening.  Since we can't provide you with advice on how 
  1057.     to fix the problem, we recommend obtaining a copy of either twm 
  1058.     (Tab Window Manager) or mwm (Motif Window Manager) and using that 
  1059.     instead of dxwm.  DEC is phasing out dxwm and migrating to mwm.
  1060.  
  1061.  
  1062.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  1063.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  1064.  
  1065.    Q39. I'm using khoros on a monochrome monitor. I have connected up some
  1066.         glyphs in the cantata workspace, but the connections don't appear
  1067.         on the screen, even though the workspace executes correctly.
  1068.  
  1069.    A39. You need to set up your X resources so that the connections and
  1070.         workspace background appear different.  Cantata defaults to using X
  1071.         resources that are appropriate for color screens, and which may be
  1072.         inappropriate for monochrome monitors.  The file
  1073.  
  1074.               $KHOROS_HOME/dotfiles/Xdefaults.monochrome
  1075.  
  1076.         contains the appropriate resources.  Include this file (or as many
  1077.         lines of the cantata.???? as you want) in your .Xdefaults file, and
  1078.         reload the X resource database (xrdb -merge ~/.Xdefaults).  This
  1079.         should solve the problem.
  1080.  
  1081.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~~ ~ ~ ~ ~ ~
  1082.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~~ ~ ~ ~ ~ ~
  1083.  
  1084. ==================  Writing New Programs Under Khoros ========================
  1085.  
  1086.  
  1087.    Q40. I have finished writing my new program under Khoros, and now
  1088.     I would like to install it into a toolbox, and integrate it 
  1089.     into the cantata visual language.  How do I go about doing this?
  1090.  
  1091.    A40. First of all, you must create and install your toolbox.
  1092.     At the end of Chapter 1 ("Writing Programs") of Volume II of
  1093.         the Khoros Manuals ("The Khoros Programmer's Manual") is a 
  1094.         section on "The Use of Toolboxes"; this is required reading
  1095.     for those who wish to learn to use toolboxes. Also, there
  1096.     is an application called "kraftsman" that will help you
  1097.     create and manage your toolbox. Consult Volume II, Chapter 11
  1098.     of the Khoros Manual for more information.
  1099.     
  1100.     Next, you will want to modify the cantata UIS form in your toolbox 
  1101.     to include your new program(s). This also covered in Chapter 1 
  1102.     ("Writing Programs") of the  Khoros Programmer's Manual, in the
  1103.     section entitled, "INTEGRATING THE NEW PROGRAM INTO CANTATA".
  1104.     
  1105.     Finally, you will want to make use of your new, modified cantata UIS 
  1106.     form instead of the original. using:
  1107.  
  1108.     % cantata -restore {toolbox name}/repos/cantata/cantata.form
  1109.  
  1110.     or by specifying this alternative cantata.form file in your
  1111.     .Xdefaults file, as in:
  1112.  
  1113.     cantata.Form: {toolbox name}/repos/cantata/cantata.form
  1114.  
  1115.  
  1116.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  1117.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  1118.  
  1119.    Q41. Is there a tutorial describing how to create and install an xvroutine?
  1120.  
  1121.    A41. Yes, the tutorial was created and provided by Carla Williams
  1122.         (carla@chama.eece.unm.edu).  Here is what she has to say:
  1123.  
  1124.     "For your edification and entertainment I have created a 'cook-book'
  1125.      style tutorial that will take you through the steps required to
  1126.      create a new vroutine (based on an existing one), test it in cantata,
  1127.      install in a toolbox, and access via the main cantata menu.  
  1128.      It is a supplement to Volume II the Khoros Programmer's Manual.
  1129.  
  1130.      The tutorial is available for ftp in the contrib directory on pprg:
  1131.          ftp to  pprg.eece.unm.edu
  1132.          cd to  /pub/khoros/contrib
  1133.  
  1134.          You will find the two files:
  1135.  
  1136.          README.vroutine_tutorial
  1137.          vroutine_tutorial
  1138.  
  1139.          If you decide to try it out, please give me feed-back (both positive
  1140.          and negative!) as I plan to use it as part of a training course on 
  1141.          using Khoros.
  1142.  
  1143.          Enjoy!
  1144.  
  1145.          Carla Williams
  1146.          carla@chama.eece.unm.edu
  1147.  
  1148.  
  1149.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~~ ~ ~ ~ ~ ~
  1150.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~~ ~ ~ ~ ~ ~
  1151.  
  1152.    Q42.  Can user-written routines be installed under existing buttons on
  1153.          the Cantata workspace? For example, if I have written a new
  1154.          signal processing routine, can I fix things so that it appears
  1155.          on the menu under the Signal Processing button, or do I have to
  1156.          install it in a new toolbox?
  1157.  
  1158.    A42.  Brad Castalia, of the University of Arizona 
  1159.      (castalia@gaea.lpl.arizona.ed) provides the following answer:
  1160.  
  1161.          While individual routines can be added to the Khoros base structure
  1162.          (e.g. new library functions and/or libraries, new executables,
  1163.          and new forms), this is probably not advisable except in
  1164.          extraordinary situations as the resulting upgrades will be a
  1165.          management nightmare. Thus using the toolbox mechanism should
  1166.          be used whenever possible. the following procedure offers a
  1167.          general outline of how to add general access toolboxes into the
  1168.          cantata environment:
  1169.      
  1170.          After building and testing the new software to the point of
  1171.          satisfaction (or obtaining a user-contributed toolbox), the new
  1172.          software is installed as a general access toolbox in a
  1173.          subdirectory of the $KHOROS_HOME/toolboxes directory (this
  1174.          location is not necessary, it's just convenient for management
  1175.          purposes). Be sure that you do NOT name the subdirectory the
  1176.          same name (regardless of case) as the name of the toolbox (due
  1177.          to an unfortunate bug in the software management tools)! If the
  1178.          toolbox is user-contributed, you will at least need to be sure
  1179.          the KHOROS_USER and LOCAL_SRC_TOP variables are correctly set
  1180.          in the repos/config/src_conf/<toolbox>_mf file. Checking
  1181.          pathname references in UIS files is a good idea too.
  1182.      
  1183.          Update the $KHOROS_HOME/repos/cantata/cantata.form file (you
  1184.          should probably work on a copy). About a third of the way into
  1185.          the file you will encounter the groups of -D/-u lines that
  1186.          define the main toolbox collection buttons that appear across
  1187.          the top of the cantata workspace. Pick the collection where
  1188.          you would like the toolbox to appear (e.g. SIGNAL PROCESSING)
  1189.          and add a duplicate of one of the -u lines at the point in the
  1190.          list where your new toolbox should be listed (e.g. duplicate
  1191.          the line containing 'Spectral Estim.' if you want to add your
  1192.          toolbox to the end of the list). Change the descriptive name
  1193.          (inside single quotes) to an appropriate descriptive name for
  1194.          your toolbox (this need not be identical to the toolbox name
  1195.          itself). NOTE THE POSITION OF THIS NEW -u LINE IN THE LIST.
  1196.          Proceed down to the last third of the cantata.form file to
  1197.          where the long list of -k lines is located. Duplicate the -k
  1198.          line corresponding to the -u line you duplicated above (you
  1199.          MUST get the order right %-(, count the lines to be sure). To
  1200.          make this easier, add comment lines (beginning with a #
  1201.          character), containing the same toolbox collection names on the
  1202.          -D lines from above, to delineate the -k lines into
  1203.           recognizable groups. Change the -k line to reference your
  1204.          toolbox .sub UIS file. For example, to add a toolbox called
  1205.          FILMWRITER to the end of the OUTPUT collection list, after the
  1206.          line
  1207.      
  1208.              -k KHOROS_HOME/repos/cantata/subforms/output_dither/dither.sub
  1209.      
  1210.          add
  1211.      
  1212.              -k $FILMWRITER/repos/cantata/subforms/filmwriter.sub
  1213.      
  1214.          Notice the reference to the toolbox name variable in the
  1215.          pathname.
  1216.      
  1217.          Update the $KHOROS_HOME/repos/Toolboxes file. This may already
  1218.          have been done for you if you used kinstall. It should have a
  1219.          line beginning with your toolbox name (e.g. FILMWRITER in the
  1220.          example above), with other descriptive fields following (follow
  1221.          the model of the other lines in the file). Be sure the second
  1222.          field (after the colon following the toolbox name) contains the
  1223.          path to the directory where the new toolbox is located.
  1224.      
  1225.          Add links in $KHOROS_HOME/bin that point to the executable
  1226.          files in the new toolbox (usually in the bin subdirectory of
  1227.          the toolbox directory structure).
  1228.      
  1229.          Run cantata to check out the new installation.
  1230.      
  1231.  
  1232.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~~ ~ ~ ~ ~ ~
  1233.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~~ ~ ~ ~ ~ ~
  1234.  
  1235. ======================   Miscellaneous  =======================================
  1236.      
  1237.      
  1238.    Q43. Where did you get the name "Khoros"? Is it an acronym?
  1239.  
  1240.    A43. Khoros is not an acronym; rather, it is the greek word for
  1241.         "chorus". A definition of a "chorus" is: a company of
  1242.         singers or dancers who sing or dance in concert.
  1243.         We chose the name "Khoros" because we felt that it was symbolic
  1244.         of our objectives for our software system.  The "singers or dancers"
  1245.         are the many programs in the Khoros system;  our objective is to
  1246.         provide a group of programs that will, when used in concert,
  1247.         provide a harmonious environment for the the user.
  1248.  
  1249.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  1250.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  1251.  
  1252.    Q44. I would like to do 3D object modelling, with multiple light sources,
  1253.     animation, and so on.  Does Khoros do this?
  1254.  
  1255.    A44. No, sorry.  At this time, Khoros is geared more towards imaging than
  1256.     volume modelling or rendering.  We suggest you try AVS or Explorer for
  1257.     this types of work.  Both packages provide excellent object modelling 
  1258.     and rendering.  
  1259.  
  1260.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  1261.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  1262.  
  1263.    Q45. I heard about the audio cantata demo, and would like to hear it.
  1264.         How do I go about this?
  1265.  
  1266.    A45. First of all, you have to be on a SparcStation (SUN4), and
  1267.         you must have the raw2audio program installed.  raw2audio is a
  1268.         program distributed by SUN; it is not part of Khoros.
  1269.  
  1270.         Go to /usr/demo/SOUND, and compile the code that is there using
  1271.         the Makefile provided.   Note that in this directory is the file
  1272.         raw2audio.c -- when you compile this directory, you will get the
  1273.         raw2audio* executable.  Then you may use the dsp.Z workspace with
  1274.         cantata to hear the demo.
  1275.  
  1276.         Note that if /usr/demo/SOUND does not exist on your SUN system, you
  1277.         must install it -- it should be available on the SUN OS 4.1.1
  1278.         distribution tape.
  1279.  
  1280.     The cantata workspace to run the sound demo file is available
  1281.         anonymous ftp from pprg.eece.unm.edu (129.24.24.10) in the 
  1282.         directory /pub/khoros/misc/workspaces;  it is called dsp.Z.  Be sure you
  1283.         have bin set (ftp> bin) before acquiring the compressed workspace.
  1284.  
  1285.  
  1286.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  1287.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  1288.  
  1289.    Q46. Is there a way to convert VIFF images with 3 color bands (rgb) to
  1290.     images with only one band and a colormap?  What about vice versa?
  1291.  
  1292.    A46. To convert VIFF images with 3 color bands (rgb) to images with only 
  1293.     one band and a colormap, use the vgamut program, using the [-n] option 
  1294.     to specify the number of colors you want in the compressed image.  
  1295.     Many of the Khoros routines will require that you use vgamut on your 
  1296.     3-band image before using them.
  1297.  
  1298.     To convert a single-band VIFF image with a colormap (a pseudocolor 
  1299.     image) to an RGB image, you can use vmapdata to map the image data 
  1300.     through the maps, which will result in an RGB image. However, the 
  1301.     colors will still be quantified to 256 values as they were in the 
  1302.     psuedocolor image (your " VIFF-with-colormap") -- therefore, the 
  1303.     resulting will not look the same as the original image did (assuming 
  1304.     the "original" image was an RGB image, and that is where the 
  1305.     psuedocolor image originated from).  You cannot go back to the full, 
  1306.     original RGB information given only a psuedocolor image. After using 
  1307.     vmapdata (which creates a single image), if you want 3 separate images, 
  1308.     you can then use vbandspt3 to extract the 3 bands from the image and 
  1309.     create 3 new images, each containing one of the R, G, and B bands.
  1310.  
  1311.  
  1312.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  1313.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  1314.  
  1315.    Q47. We are trying to run cantata on an NCD Xterminal as the display, 
  1316.         and the program fails, exiting with the following error:
  1317.  
  1318.         X Error:  BadAlloc
  1319.           Request Major code 65 ()
  1320.           Request Minor code 0
  1321.           ResourceID 0x2400085
  1322.           Error Serial #1576
  1323.           Current Serial #1582
  1324.        Major X error encountered for display ':0'! Unable to recover.
  1325.  
  1326.    A47. You are probably running out of memory.  One solution is, of course,
  1327.         to inquire and install more memory.  However, you are especially likely
  1328.         to run out of memory if you have Backing Store and/or Save Unders on.  
  1329.         If you look at the system setup you can see how much remaining memory 
  1330.         remains before starting cantata or displaying images.  You should be 
  1331.         able to set whether you want backing store "on demand", "always", or 
  1332.         "off".  You may want to try setting it to "on demand" or "off".
  1333.  
  1334.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  1335.     ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  1336.  
  1337.    Q48. When I try to use my double or double complex viff image that came from
  1338.         another kind of machine, the program always gives an error.  What gives?
  1339.  
  1340.    A48. The support for double and double complex machine format translation 
  1341.         is not complete.  Unlike all other data types, which will be 
  1342.         transparently converted to the current architecture when loaded, 
  1343.         reading double precision data that was generated by another 
  1344.         architecture will cause an error in the translation code.  Presently, 
  1345.         no translation code for double precision exists.
  1346.  
  1347.  
  1348.