home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / graphic / qrt / specific.doc < prev    next >
Text File  |  1989-03-26  |  10KB  |  397 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.         
  8.                         QRT Machine Specific Instructions
  9.         
  10.         
  11.         The QRT ray  tracer  is  designed  to  run  on  any computer with
  12.         sufficient  graphics  capabilities.   The  machine  should have a
  13.         resolution of at least 128K  dots/screen,  and be able to display
  14.         color graphics.  At least 256 simultaneous  colors are needed for
  15.         acceptable  images;  however,  it  may  be  possible  to  display
  16.         rudimentary images with as little as 64 colors.
  17.         
  18.         The QRT program itself is the same across computers; only the QRT
  19.         post processor differs.  QRT computes the image internally with a
  20.         much higher color resolution than most computers have (16 million
  21.         simultaneous colors), and the  post  processor maps this image to
  22.         the  available  palette.  This  document  describes  the  machine
  23.         dependent details of the post processor.
  24.         
  25.         On most computers the following naming convention is recommended:
  26.         
  27.                                                                
  28.              File                  Suffix              Example      
  29.         
  30.           QRT input                .QRT                IMAGE.QRT
  31.           QRT text output          .OUT                IMAGE.OUT
  32.           QRT bitmap output        .RAW                IMAGE.RAW
  33.           QRTpost converted file   .PIC                IMAGE.PIC
  34.         
  35.         
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.         QRT Ray Tracer               Page 1             Machine Specifics
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.         Commodore Amiga
  74.            
  75.            QRT was designed and written  on  the Commodore Amiga.  Unlike
  76.            many machines, the Amiga  has  a  very  standard graphics file
  77.            format which nearly any graphics  program can read.  Two steps
  78.            are necessary to transform the QRT output file to the graphics
  79.            file format (IFF/HAM).  First, the  QRT post processor is run.
  80.            Second,  a  separate   program   (RAY2)  compresses  the  post
  81.            processor output into  IFF  file  format  for viewing with any
  82.            "iff-show" type program.
  83.            
  84.            QRT can be run in the  background  on the Amiga.  It should be
  85.            run  with a low task priority  so  that  it will not interfere
  86.            with normal operation of the computer.   At least one megabyte
  87.            is recommended, and the QRT  output  file  should be sent to a
  88.            RAM disk or hard drive.  It is possible to send it to a floppy
  89.            disk, but  the  disk  will  constantly  be  accessed  for  the
  90.            duration of the  image  creation  time.   It  will probably be
  91.            necessary to increase the default  process stack size with the
  92.            STACK command.  A stack size of  40K or more is recommended to
  93.            avoid stack overflow errors;  however,  some images require as
  94.            much as 80k of stack space.
  95.            
  96.            Color Resolution:
  97.            
  98.               4096 colors from palette of 4096
  99.            
  100.            QRT Output File Size
  101.            
  102.               Approx. 400K bytes
  103.            
  104.            Commands to run QRT
  105.            
  106.               SetTaskPriority -5
  107.               run QRT <IMAGE.QRT >IMAGE.OUT
  108.               SetTaskPriority 0
  109.            
  110.            Commands to run QRTPost
  111.            
  112.               QRTPost IMAGE.RAW IMAGE.TMP
  113.               RAY2 IMAGE.TMP
  114.            
  115.            File Naming Restrictions
  116.            
  117.               Length <= 63 Characters
  118.            
  119.               May include special symbols: ex. '_', '#', etc.
  120.            
  121.               Although the operating system  supports  imbedded spaces in
  122.            files, neither QRT nor QRTPost does.
  123.            
  124.  
  125.  
  126.         QRT Ray Tracer               Page 2             Machine Specifics
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.         Data General MV10000
  140.            
  141.            The Data General DG1000 terminal  has a high display and color
  142.            resolution, so the resulting  QRT  output  file is large.  QRT
  143.            should  be  run  in  the  background  on  this  machine.   The
  144.            resulting picture file may be displayed  with the DISP program
  145.            (G. Radack).
  146.            
  147.            Although the Data General is capable of a resolution of 1280 x
  148.            1024, there have  been  problems  allocating  this much memory
  149.            with the DISP program.  Therefore,  the DG version of QRT will
  150.            not use the entire display.  The  largest possible bitmap file
  151.            size has not yet been determined.
  152.            
  153.            Color Resolution:
  154.            
  155.               256 colors from palette of 16 Million
  156.            
  157.            QRT Output File Size
  158.            
  159.               Approx. 4 Megabytes at full resolution (1280 x 1024)
  160.            
  161.            Commands to run QRT
  162.            
  163.               QRT <IMAGE.QRT >IMAGE.OUT &
  164.            
  165.            Commands to run Post Processor
  166.            
  167.               QRTPost IMAGE.RAW IMAGE.PIC
  168.               disp IMAGE.PIC
  169.            
  170.            File Naming Restrictions
  171.            
  172.               Length <= 31 characters
  173.            
  174.               May include special symbols, but not imbedded spaces
  175.            
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.         QRT Ray Tracer               Page 3             Machine Specifics
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.         IBM PC or AT with EGA Graphics
  206.            
  207.            The IBM is capable of a  relatively  high  display resolution,
  208.            although the color palette is quite limited.  The machine does
  209.            not permit background tasks,  so  the ray tracer should be run
  210.            when the machine may be left unoccupied  for a long time.  The
  211.            output should be sent to a hard disk or extended memory drive.
  212.            
  213.            The IBM version  of  QRTPost  is  not  yet  complete as of the
  214.            writing of this document.  The  QRT  program itself is working
  215.            on the IBM, but it should be run  on an IBM with at least an 8
  216.            mHz 80286 and floating point co-processor. (Otherwise, it will
  217.            take nearly forever).  A 386 would be better yet.
  218.            
  219.            Color Resolution:
  220.            
  221.               64 colors from palette of 64
  222.            
  223.            QRT Output File Size
  224.            
  225.               Approx. 800K
  226.            
  227.            Commands to run QRT
  228.            
  229.               QRT <IMAGE.QRT >IMAGE.OUT
  230.            
  231.            Commands to run Post Processor
  232.            
  233.               QRTPost IMAGE.RAW IMAGE.PIC
  234.            
  235.            File Naming Restrictions
  236.            
  237.               Length <= 8 characters with 3 character extension
  238.            
  239.               No special characters may be included
  240.            
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.         QRT Ray Tracer               Page 4             Machine Specifics
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.         Hewlett Packard 9000 Series
  272.            
  273.            The HP 9000's are a series of technical workstations with high
  274.            resolution (up to 1280x1024) display resolution.  They come in
  275.            two   architectures:    Motorola   680x0   or   HP   Precision
  276.            Architecture.
  277.            
  278.            QRT has been tested on the following machine types:
  279.            
  280.               320 - (16 mhz 68020 + 68881)
  281.               360 - (25 mhz 68020 + 68881)
  282.               370 - (33 mhz 68030 + 68882)
  283.            
  284.               835 - (HP Precision Architecture)
  285.            
  286.            (The 835 is *fast* - it can run  320 x 400 images in less than
  287.            3 and a half minutes for most  images,  and  less than 1 and a
  288.            half for simple ones, where it takes my poor 68000 based Amiga
  289.            4 hours,   and  30  minutes,  respectively).   The  370  is no
  290.            slowpoke  either.
  291.            
  292.            Color Resolution:
  293.            
  294.               (depends on display card)
  295.               Up to 16 million colors from the same size palette.
  296.            
  297.            QRT Output File Size
  298.            
  299.               Huge.  It depends on the resolution.
  300.            
  301.            Commands to run QRT
  302.            
  303.               nice QRT <IMAGE.QRT >IMAGE.OUT &
  304.            
  305.            Commands to run Post Processor
  306.            
  307.               qrt2gif IMAGE.RAW
  308.            
  309.            File Naming Restrictions
  310.            
  311.               Length <= 256 characters
  312.            
  313.            
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.         QRT Ray Tracer               Page 5             Machine Specifics
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.         Macintosh II
  338.            
  339.            I've never seen Mac II  generated  QRT images, but they should
  340.            look quite nice  (640x480x256  colors).   There  may  be a few
  341.            problems compiling QRT on  the  Mac  II  given the non-command
  342.            line operating system.
  343.            
  344.            Color Resolution:
  345.            
  346.               Up to 256 colors from a palette of 16 million.
  347.            
  348.            QRT Output File Size
  349.            
  350.               Approximately 920 K bytes.
  351.            
  352.            Commands to run QRT
  353.            
  354.               Double click on QRT icon.  Then, type in QRT command line
  355.               parameters.
  356.            
  357.            Commands to run Post Processor
  358.            
  359.               Double click on icon
  360.            
  361.            File Naming Restrictions
  362.            
  363.               Unknown
  364.            
  365.             
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.         QRT Ray Tracer               Page 6             Machine Specifics
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.