home *** CD-ROM | disk | FTP | other *** search
/ Ray Tracing Box / RAY_CD.mdf / MORPH / CMORPH / CMORPH.DOC < prev    next >
Encoding:
Text File  |  1994-02-22  |  82.0 KB  |  2,374 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                               The Complete Morph v2.10
  8.  
  9.                                     User's Guide
  10.  
  11.                          Copyright 1993, 1994 Paul D. Nettle
  12.  
  13.  
  14.                                       _______
  15.                                  ____|__     |                (R)
  16.                               --|       |    |-------------------
  17.                                 |   ____|__  |  Association of
  18.                                 |  |       |_|  Shareware
  19.                                 |__|   o   |    Professionals
  20.                               -----|   |   |---------------------
  21.                                    |___|___|    MEMBER
  22.  
  23.  
  24.                          Document dated:  February 21, 1994
  25.  
  26.                                    Paul D. Nettle
  27.                                  9668 Washington St.
  28.                                   Romulus, MI 48174
  29.                                    (313) 941-9223
  30.  
  31.                            Author's name:  Paul D. Nettle
  32.                          Author's Compuserve ID:  72163,2442
  33.  
  34.                This document also Copyright 1993, 1994 Paul D. Nettle
  35.  
  36.           A limited license is granted to reprint short extracts from  this
  37.           document as long as credit is given to the above mentioned party.
  38.           Individuals, BBSs and User Groups  may distribute copies of  this
  39.           software, it's  documentation  and associated  files  (originally
  40.           distributed in an archive) freely as long as the files remain in-
  41.           tact, unmodified, are not re-named and are not made part of  some
  42.           larger work without the written permission of Paul D. Nettle.   A
  43.           BBS may rearchive the unmodified archived file's contents as long
  44.           as the  resulting archive  is named  CMORPH20.ZIP,  CMORPH20.ARC,
  45.           CMORPH20.LZH or CMORPH20.???
  46.  
  47.  
  48.  
  49.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  50.  
  51.  
  52.                                   TABLE OF CONTENTS
  53.  
  54.           Introduction.............................................4
  55.                What is Morphing?...................................4
  56.                How does it work?...................................4
  57.           CMorph is a full-featured morphing program.  Take a look:5
  58.                System Requirements.................................6
  59.           Ombudsman Statement......................................7
  60.           Definition of Shareware..................................7
  61.           Disclaimer - Agreement...................................8
  62.           Getting Started..........................................9
  63.           Running CMorph from the command line.....................10
  64.           Configuring CMorph's Memory..............................11
  65.                Virtual Memory......................................11
  66.           Protected Mode Switching.................................13
  67.                Fine Control of Memory Usage........................14
  68.                Specifying a Range of Extended Memory...............14
  69.           A Note On the GUI........................................16
  70.           A Few Notes On the Mouse.................................17
  71.           The Go Menu..............................................18
  72.                Go menu category SYSTEM.............................18
  73.                     LEAVE button...................................18
  74.                     DOS SHELL button...............................18
  75.                     GO button......................................18
  76.                Go menu category OTHER..............................18
  77.                     HELP button....................................18
  78.                     ABOUT button...................................18
  79.           Preferences Menu.........................................19
  80.                Preferences menu category:  SPLINE SETTINGS.........19
  81.                     Submenu category:  MESH........................19
  82.                          CATMULL, BICUBIC and STRAIGHT buttons.....19
  83.                          TIGHTNESS text box........................19
  84.                     Submenu category:  INTERPOLATION...............19
  85.                          CATMULL, BICUBIC and STRAIGHT buttons.....19
  86.                          TIGHTNESS text box........................19
  87.                Preferences menu category:  SCREEN SETTINGS.........19
  88.                     DISPLAY CURVES button..........................19
  89.                     ZOOM button....................................19
  90.                     KWIK-SCREEN button.............................19
  91.                     SOUNDS button..................................19
  92.                     CURSOR COLOR buttons...........................20
  93.                     MESH COLOR buttons.............................20
  94.                Preferences menu category:  OUTPUT IMAGE FORMAT.....20
  95.                     IMAGE FORMAT buttons...........................20
  96.                     TGAs BOTTOM-UP button..........................20
  97.                Preferences menu category:  OPERATION...............20
  98.                     OPERATION buttons..............................20
  99.                     FAST MORPH button..............................20
  100.                Preferences menu category:  OUTPUT CONFIGURATION....20
  101.                     FADE 50% text box..............................20
  102.                     FADE START % text box..........................20
  103.                     FADE END % text box............................20
  104.                     WARP 50% text box..............................20
  105.                     WARP START % text box..........................21
  106.  
  107.  
  108.                                        Page 2
  109.  
  110.  
  111.  
  112.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  113.  
  114.  
  115.                     WARP END % text box............................21
  116.                Preferences menu category:  FRAME CONTROL...........21
  117.                     TOTAL FRAMES text box..........................21
  118.                     START FRAME text box...........................21
  119.                     END FRAME text box.............................21
  120.                     FRAME OFFSET text box..........................21
  121.           The Other Menus..........................................22
  122.                The Edit Menu.......................................22
  123.                The File Menu.......................................22
  124.                The Filters Menu....................................22
  125.                The Preview Menu....................................22
  126.                The FLICs Menu......................................23
  127.           Creating a Mesh..........................................24
  128.           Filter file (FILTERS.TXT) format.........................25
  129.           AnimComp -- The Animation Compiler.......................27
  130.           LAnim -- The Animation Player............................29
  131.           Convert -- The Image Conversion Tool.....................30
  132.           TurboFlic (TFlic) -- The Flic Builder....................31
  133.           IPI File Format..........................................33
  134.           Future Enhancements......................................34
  135.           Contacting Customer Support..............................35
  136.           Ordering Information.....................................36
  137.                What you will get when you register.................36
  138.                Non-registered vs registered users..................36
  139.           How to Register..........................................38
  140.                How to register with the author.....................38
  141.                How to register on-line with the CompuServe.........38
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.                                        Page 3
  171.  
  172.  
  173.  
  174.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  175.  
  176.  
  177.                                     INTRODUCTION
  178.  
  179.           Thank you for choosing  "The Complete Morph."   I hope that  this
  180.           product will be as useful for you as it was fun for me to  write.
  181.           I'll try to keep this document  from being dry, so forgive me  if
  182.           the jokes get bad.
  183.  
  184.           From  now  on,  lets  just  call  "The  Complete  Morph"   CMorph
  185.           (pronounced "See-Morph".)
  186.  
  187.           What is morphing?
  188.  
  189.                Morphing is the process of slowly  fading from one image  to
  190.                another, while warping the contents  of both images so  that
  191.                they "metamorphasize."
  192.  
  193.           How does it work?
  194.  
  195.                Morphing is, in theory, actually very simple.  Understanding
  196.                how morphing works internally will aid you in creating high-
  197.                quality morph animations.
  198.  
  199.                For a  good quality  morph, start  by taking  your time  and
  200.                finding  a  pair  of  similar  images  that  have  the  same
  201.                resolution.  As an example, try  to find two 320x200  images
  202.                that both contain a full-screen face that is facing the same
  203.                way, has the same orientation, and who's major points (eyes,
  204.                etc.) line up pretty close to each other if they were to  be
  205.                overlaid.
  206.  
  207.                Now that you  have two images,  a mesh must  be placed  over
  208.                each one.   This  is the  "manual-labor" part  of  morphing.
  209.                Take your time, this mesh defines the quality of the morph.
  210.  
  211.                A mesh is made up of horizontal and vertical lines  overlaid
  212.                onto both  images.   Each  vertex of  the  mesh can  be  re-
  213.                located.  The points are usually connected by a curved  line
  214.                to smooth the  bends.   But be careful  not to  let any  two
  215.                horizontal or any two vertical mesh lines cross.
  216.  
  217.                Once all of the mesh lines  are complete, the points in  the
  218.                mesh should  line up  with their  counterpart on  the  other
  219.                image (for example, the  point on the  source image that  is
  220.                centered in the left  eye should have  a counterpart on  the
  221.                destination image  that is  also on  the  left eye  in  that
  222.                image), the morphing is ready to  begin.  A hint for a  real
  223.                clean morph is to  align points in the  image that not  only
  224.                select the  features of  the image,  but also  outline  it's
  225.                features with the lines that connect the points together.
  226.  
  227.                Morphing is a three-step process.   The first two steps  are
  228.                the warping  steps.   The warping  is  done in  two  stages.
  229.                First, all of the horizontal mesh lines are used to break up
  230.                the image into "bands".  Since there are the same number  of
  231.  
  232.  
  233.                                        Page 4
  234.  
  235.  
  236.  
  237.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  238.  
  239.  
  240.                bands in each image, the destination  band is warped to  the
  241.                same shape as it's counterpart in  the source image, and  so
  242.                on through all the  bands.  Next,  the destination image  is
  243.                broken up into vertical bands using the vertical mesh lines,
  244.                and the process is repeated for the vertical direction.
  245.  
  246.                The last step in  this process is  to cross-fade the  images
  247.                into one.
  248.  
  249.           CMorph is a full-featured morphing program.  Take a look:
  250.  
  251.                o  Reads and writes GIF,  IMG, TGA, BMP, PCX  and IPI image
  252.                   files.
  253.  
  254.                o  CMorph  has  a  very  beautiful  and  easy-to-use  user-
  255.                   interface that  utilizes  all  256  colors  of the  SVGA
  256.                   palette, and on most video  cards can handle resolutions
  257.                   up to 800x600 (1024x768  mode is only  available on some
  258.                   video cards).
  259.  
  260.                o  A DOS-shell  helps you  with those  unexpected  needs to
  261.                   visit the DOS prompt.
  262.  
  263.                o  You control the  output.  Create  a morph, a  warp, or a
  264.                   simple fade.  Each of  these options utilizes parameters
  265.                   that let you control where in your animation most of the
  266.                   warping and the fading take place for super fine-tuning.
  267.  
  268.                o  An interface for external programs to perform tasks that
  269.                   CMorph doesn't already perform via the IPI file format -
  270.                   - explained later in this document.  This file format is
  271.                   also used in CImage, another of my products.
  272.  
  273.                o  CMorph has advanced spline meshes  giving you the option
  274.                   of three different spline types:   Catmull (used in most
  275.                   morphing software today), Bi-cubic splines, and straight
  276.                   lines.  Different  effects can  be obtained  by changing
  277.                   which spline  type is  used  for the  image  warping and
  278.                   which spline type  is used  for the interpolation.   The
  279.                   Bi-cubic splines make use of  a tightness parameter that
  280.                   allows  you  to  have  spline  meshes  that  are  almost
  281.                   straight to "very curvy".
  282.  
  283.                o  CMorph also has  advanced mesh editing  features such as
  284.                   mirrored cursors,  and cross  cursors for  aligning mesh
  285.                   points between  the two  images.   A Zoom  window tracks
  286.                   your cursor helping you get pixel-perfect output.
  287.  
  288.                o  CMorph uses ALL  available memory  by running  in 32-bit
  289.                   protected mode.  If  you need more memory,  you can turn
  290.                   on the Virtual Memory.
  291.  
  292.  
  293.  
  294.  
  295.  
  296.                                        Page 5
  297.  
  298.  
  299.  
  300.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  301.  
  302.  
  303.                o  CMorph is complimented  by it's complete  suite of image
  304.                   processing filters.    There are  100  pre-defined, user
  305.                   definable filters.
  306.  
  307.                o  Color   selectable   overlays   and   color   selectable
  308.                   backgrounds allow you to  put your morph  into any scene
  309.                   and add your name to the animation with ease.
  310.  
  311.                o  Complete animation package, including animation compiler
  312.                   and viewer.
  313.  
  314.                o  The registered and Pro versions have these great extra
  315.                   features: -- Automatic FLI/FLC/FLX/FLH/FLT animation
  316.                   generation built-in to CMorph as well as a stand-alone
  317.                   program that has the same capabilities, but is not
  318.                   limited to CMorph's output.  An Image conversion utility
  319.                   that converts to and from BMP, IPI, PCX, GIF, TGA and
  320.                   IMG formats.  And a few extra demos.
  321.  
  322.           System Requirements:
  323.  
  324.                CMorph and it's tools  require at least a  386, and a  video
  325.                card that can  handle 256  colors in  640x400 mode,  640x480
  326.                mode, 800x600 mode, or 1024x768 mode is reccomended.  A math
  327.                co-processor is optional, but  highly recommended (can  mean
  328.                the  difference  between  5  minute  morphs  and  45  minute
  329.                morphs).  4MB of  memory is also  required (although 8MB  is
  330.                better, and any more is just great).
  331.  
  332.           I hope you enjoy using The Complete Morph!
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.                                        Page 6
  360.  
  361.  
  362.  
  363.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  364.  
  365.  
  366.                                  OMBUDSMAN STATEMENT
  367.  
  368.           This program is produced by a member of the Association of
  369.           Shareware Professionals (ASP).  ASP wants to make sure that the
  370.           Shareware principle works for you. If you are unable to resolve a
  371.           Shareware-related problem with an ASP member by contacting the
  372.           member directly, ASP may be able to help. The ASP Ombudsman can
  373.           help you resolve a dispute or problem with an ASP member, but
  374.           does not provide technical support for members' products.  Please
  375.           write to the ASP Ombudsman at 545 Grover Road, Muskegon, MI
  376.           49442-9427 USA, FAX 616-788-2765 or send a CompuServe message via
  377.           CompuServe Mail to ASP Ombudsman 70007,3536.
  378.  
  379.                                DEFINITION OF SHAREWARE
  380.  
  381.           Shareware distribution  gives  users  a chance  to  try  software
  382.           before buying it.  If you try  a Shareware  program and  continue
  383.           using it,  you  are  expected to  register.  Individual  programs
  384.           differ on  details  --  some request  registration  while  others
  385.           require  it,   some  specify   a  maximum   trial  period.   With
  386.           registration, you get anything from the simple right to  continue
  387.           using the software to an updated program with printed manual.
  388.  
  389.           Copyright laws apply to  both Shareware and commercial  software,
  390.           and the copyright holder retains all rights, with a few  specific
  391.           exceptions as stated  below. Shareware  authors are  accomplished
  392.           programmers, just like commercial  authors, and the programs  are
  393.           of comparable quality.  (In both cases,  there are good  programs
  394.           and  bad  ones!)  The  main  difference  is  in  the  method   of
  395.           distribution. The author  specifically grants the  right to  copy
  396.           and distribute the  software, either to  all and sundry  or to  a
  397.           specific  group.  For  example,  some  authors  require   written
  398.           permission  before  a  commercial  disk  vendor  may  copy  their
  399.           Shareware.
  400.  
  401.           Shareware is a distribution method, not  a type of software.  You
  402.           should find  software  that  suits  your  needs  and  pocketbook,
  403.           whether it's commercial or Shareware. The Shareware system  makes
  404.           fitting your needs easier,  because you can  try before you  buy.
  405.           And because the overhead is low,  prices are low also.  Shareware
  406.           has the ultimate  money-back guarantee --  if you  don't use  the
  407.           product, you don't pay for it.
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.                                        Page 7
  423.  
  424.  
  425.  
  426.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  427.  
  428.  
  429.                                DISCLAIMER - AGREEMENT
  430.  
  431.           Users of  The  Complete  Morph must  accept  this  disclaimer  of
  432.           warranty:  "The  Complete Morph is  supplied as is.   The  author
  433.           disclaims  all  warranties,  expressed  or  implied,   including,
  434.           without limitation,  the  warranties of  merchantability  and  of
  435.           fitness for  any purpose.  The author  assumes no  liability  for
  436.           damages, direct or consequential, which  may result from the  use
  437.           of The Complete Morph."
  438.  
  439.           The Complete Morph is a "Shareware program" and is provided at no
  440.           charge to the user  for evaluation.  Feel  free to share it  with
  441.           your friends, but please do not  give it away altered or as  part
  442.           of another system.  The  essence of "user-supported" software  is
  443.           to provide personal computer users with quality software  without
  444.           high prices,  and yet  to provide  incentive for  programmers  to
  445.           continue to  develop new  products.   If  you find  this  program
  446.           useful and  find  that  you are  using  The  Complete  Morph  and
  447.           continue to  use  The Complete  Morph  after a  reasonable  trial
  448.           period, you must make a registration payment of 35.00 to Paul  D.
  449.           Nettle.  The 35.00 registration fee will license one copy for use
  450.           on any  one  computer at  any  one time.    You must  treat  this
  451.           software just like a book.  An example is that this software  may
  452.           be used by any number of people and may be freely moved from  one
  453.           computer location to another, so long as there is no  possibility
  454.           of it  being  used at  one  location  while it's  being  used  at
  455.           another.  Just as a book cannot be read by two different  persons
  456.           at the same time.
  457.  
  458.           Commercial users of The Complete Morph must register and pay  for
  459.           their copies of The Complete Morph within 30 days of first use or
  460.           their license  is withdrawn.   Site-License  arrangements may  be
  461.           made by contacting Paul D. Nettle.
  462.  
  463.           Anyone  distributing  The   Complete  Morph  for   any  kind   of
  464.           remuneration must first  contact Paul  D. Nettle  at the  address
  465.           above  for   authorization.      This   authorization   will   be
  466.           automatically granted to distributors recognized by the (ASP)  as
  467.           adhering to its guidelines  for Shareware distributors, and  such
  468.           distributors may begin  offering The  Complete Morph  immediately
  469.           (However Paul  D.  Nettle  must still  be  advised  so  that  the
  470.           distributor can be kept up-to-date with the latest version of The
  471.           Complete Morph.).
  472.  
  473.           You are encouraged to pass a copy of The Complete Morph along  to
  474.           your friends for evaluation.   Please encourage them to  register
  475.           their copy if  they find that  they can use  it.  All  registered
  476.           users will receive a copy of  the latest version of The  Complete
  477.           Morph system.
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.                                        Page 8
  486.  
  487.  
  488.  
  489.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  490.  
  491.  
  492.                                    GETTING STARTED
  493.  
  494.  
  495.           CMorph is ready to run.  All you have to do is install it.
  496.  
  497.           Installation is  simple.   Since you've  probably downloaded  the
  498.           CMorph archive and un-archived it (which  you needed to do to  be
  499.           reading this document) you're already set to go.
  500.  
  501.           To run CMorph, you need to  have both, CMORPH.EXE and  DOS4GW.EXE
  502.           in your path or in the current directory when you run it.  To run
  503.           it, just  type CMORPH  followed by  two image  file names.    For
  504.           example:
  505.  
  506.                C:\> CMORPH IMAGE1.TGA IMAGE2.TGA
  507.  
  508.           There are other  command-line options, check  the section  titled
  509.           "COMMAND LINE OPTIONS" for a complete description of them.
  510.  
  511.           If you're like me,  you may already have  a very large path,  and
  512.           wish not to make it larger.   Where there is  a will, there is  a
  513.           way!   Simply  create  a  batch file  that  runs  CMorph  in  the
  514.           following way:
  515.  
  516.           C:\CMORPH\DOS4GW C:\CMORPH\CMORPH %1 %2 %3 %4 %5 %6 %7 %8 %9
  517.  
  518.           This batch file runs DOS/4GW from the CMORPH directory, and tells
  519.           it to  run CMorph  from the  same  directory.   If you  just  run
  520.           CMorph, then it will not find the DOS Extender (which is what  it
  521.           tries to do if you just run CMorph).  So, you need to run the DOS
  522.           Extender manually.
  523.  
  524.           Just place that batch file someplace in your path, and you're all
  525.           set to go!
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.                                        Page 9
  549.  
  550.  
  551.  
  552.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  553.  
  554.  
  555.                         RUNNING CMORPH FROM THE COMMAND LINE
  556.  
  557.           Usage:
  558.                E:\CMORPH\CMORPH.EXE [options] <source> <target>
  559.  
  560.           <source> and <target> are required parameters, <source> being the
  561.           file name for the source image ("morphed from") and <target>
  562.           being the file name for the target image ("morphed to").  These
  563.           files must be in IPI, TGA, BMP, IMG, PCX or GIF format, and they
  564.           must have the same resolution.  The resolution of the output
  565.           images is derived from the resolution of the input images.
  566.  
  567.           All options may be expressed using the slash (/) or the minus (-)
  568.           characters.
  569.  
  570.           [Options] are:
  571.               [-? | -H]       List this help information
  572.  
  573.               [-B[X]]         Batch mode (auto morph on startup) [with auto
  574.                               eXit]
  575.  
  576.               [-C]            Force graphics mode to 16 colors
  577.                                    Default:  256 colors
  578.  
  579.               [-Gxxx]         Force vertical resolution to xxx scanlines
  580.                                Valid values:  400/480/600/768
  581.                                    Default:  auto-detect
  582.  
  583.               [-Mfilename]    Specify mesh filename
  584.  
  585.               [-Sx]           Set mouse sensativity (0=fastest -or-
  586.                               6=slowest)
  587.                                    Default:  4\n" );
  588.  
  589.               source          Source image (IPI/TGA/BMP/IMG/GIF/PCX)
  590.  
  591.               target          Target image (IPI/TGA/BMP/IMG/GIF/PCX)
  592.  
  593.  
  594.           NOTE:     [options] may be specified before, after or between the
  595.                     image names and may be specified by either the '-' or
  596.                     the '/' chars.
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.                                        Page 10
  612.  
  613.  
  614.  
  615.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  616.  
  617.  
  618.                              CONFIGURING CMORPH'S MEMORY
  619.  
  620.                CMorph an all  its related tools  (AnimComp, LAnim, TFlic  -
  621.                registered only,  and Convert  -  registered only)  use  the
  622.                DOS/4GW DOS  Extender  from  Rational  Systems.    This  DOS
  623.                Extender places CMorph into "386 Flat Model" protected  mode
  624.                where the 80386 executes instructions faster, and has access
  625.                to LOTS of larger chunks of  memory.  With access to all  of
  626.                this  memory,  CMorph  can  run  faster,  and  perform  more
  627.                complicated tasks than it would if it were written for a 286
  628.                or less processor.
  629.  
  630.                Lets assume you have 8 MEG.  CMorph loads above the first
  631.                MEG (this is where most systems keep their faster memory).
  632.                As memory is needed, CMorph gets it from the memory above
  633.                that first MEG.  If that runs out, then CMorph starts
  634.                looking for memory in the DOS 640K area.  DOS's memory is
  635.                used last because it is usually slower, and also because
  636.                CMorph can run DOS programs if you shell out to DOS, so you
  637.                will want to save as much DOS memory as possible.  Virtual
  638.                Memory (VMM) is also available (see VIRTUAL MEMORY).
  639.  
  640.                Note that programs that use Extended or Expanded memory
  641.                (like Disk Cache programs) will take memory away from
  642.                CMorph.  You may want to limit the memory that they use to
  643.                allow a comfortable amount for both.
  644.  
  645.  
  646.                                    VIRTUAL MEMORY
  647.  
  648.                CMorph was written with the Watcom C/C++32 9.5 and uses  the
  649.                DOS/4GW DOS Extender from  Rational Systems.  This  royalty-
  650.                free DOS  Extender  (DOS4GW.EXE)  offers  a  Virtual  Memory
  651.                Manager (VMM).  When  CMorph runs out of  memory, it can  be
  652.                configured so that it automatically starts swapping to disk.
  653.                In this  way,  you  can actually  use  more  RAM  than  your
  654.                computer has!
  655.  
  656.                This configuration MUST take place before CMorph is run.  If
  657.                CMorph runs out of memory while running, you must save  what
  658.                your are doing, exit CMorph and configure for VMM before re-
  659.                starting CMorph.
  660.  
  661.                To enable VMM,  you only need  to set  a single  environment
  662.                variable.   Might I  suggest that  you create  a  CMORPH.BAT
  663.                batch file that  sets this variable  before running  CMorph,
  664.                then clears it afterwards  just in case  you're not one  for
  665.                having all these  environment variable  hanging around  when
  666.                they aren't (like me) necessary.
  667.  
  668.                I have found a drawback to using the VMM.  It tends to slows
  669.                CMorph down, even when not swapping to disk.
  670.  
  671.  
  672.  
  673.  
  674.                                        Page 11
  675.  
  676.  
  677.  
  678.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  679.  
  680.  
  681.                To enable VMM with default values, just "SET DOS4GVM=1" from
  682.                within DOS before entering CMorph.  It's that simple.   But,
  683.                like all other things,  there is a way  to complicate it  by
  684.                configuring it (it's not that bad, actually).
  685.  
  686.                Usage:
  687.                   SET DOS4GVM=[option[#value]] [option[#value]]...
  688.  
  689.                (the '#' is used with options that take values since the DOS
  690.                command shell will not accept "=")
  691.  
  692.                Setting the  DOS4GVM=1  will  use  default  values  for  all
  693.                options.  Here are some control options:
  694.  
  695.                MINMEM         The minimum  amount of  RAM managed  by  VMM.
  696.                               The default is 512K
  697.                MAXMEM         The Maximum  amount of  RAM managed  by  VMM.
  698.                               The default is 4MB.
  699.                SWAPMIN        The minimum or initial size of the swap file.
  700.                               If this option is not  used, the size of  the
  701.                               swap  file  is  based  on  VIRTUALSIZE   (see
  702.                               below).
  703.                SWAPINC        The size by which the swap file grows.
  704.                SWAPNAME       The swap  file name.    The default  name  is
  705.                               "DOS4GVM.SWP".  By default the file is in the
  706.                               root directory of the current drive.  Specify
  707.                               the complete path  name if you  want to  keep
  708.                               the swap file on another drive.
  709.                DELETESWAP     Whether the swap file is deleted when  CMorph
  710.                               exits.  By default  the file is NOT  deleted.
  711.                               Program startup is quicker if the file is NOT
  712.                               deleted.
  713.                VIRTUALSIZE    The size of  the virtual  memory space  (swap
  714.                               file plus allocated memory).  The default  is
  715.                               16MB.
  716.  
  717.                If you wish to have a  temporary swap file, and only use  no
  718.                more than 4 MEG of RAM, then use the example below:
  719.  
  720.                   SET DOS4GVM=DELETESWAP maxmem#8192
  721.  
  722.                NOTE:  This DOS Extender is especially advantageous for
  723.                programmers.  I HIGHLY RECOMMEND the Watcom C/C++32 9.5
  724.                compiler to developers.  I own Borland C/C++ 3.1, Microsoft
  725.                C/C++ 7.0, and Watcom C/C++32 9.5.  My choice development
  726.                tools are the Watcom Tools (although I hate to give up the
  727.                Turbo Debugger).  Take the time to learn them, they are
  728.                wonderful!
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.                                        Page 12
  738.  
  739.  
  740.  
  741.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  742.  
  743.  
  744.                                  PROTECTED MODE SWITCHING
  745.  
  746.                The following section is almost exactly as it appears in the
  747.                manual for Watcom C/C++ 32-bit v9.5a.
  748.  
  749.                In almost all cases, CMorph can  detect the type of  machine
  750.                that is  running  and automatically  choose  an  appropriate
  751.                real- to protected-mode switch technique.  For the few cases
  752.                in which this default setting does  not work, I provide  the
  753.                DOS16M DOS environment variable, which overrides the default
  754.                setting.
  755.  
  756.                Change the  switch mode  setting  by issuing  the  following
  757.                command:
  758.  
  759.                   set DOS16M=value
  760.  
  761.                Do not insert a space between DOS16M and the equal sign.   A
  762.                space to the right of the equal sign is optional.
  763.  
  764.                The table  below lists  the machines  and the  settings  you
  765.                would use with them.   Many settings have mnemonics,  listed
  766.                in the column "Alternate Name", that you can use instead  of
  767.                the number.   Settings  that you  must set  with the  DOS16M
  768.                variable have  the notation  "req'd"  in the  first  column.
  769.                Settings you may use are marked "option," and settings  that
  770.                will automatically be set are marked "auto."
  771.  
  772.                                              Alternate
  773.             Status  Machine         Setting  Name         Comment
  774.  
  775.             auto    386/486 w/DPMI  0        None         Automatic if DPMI is active
  776.             req'd   NEC 98-series   1        9801         Must be set for NEC 98-seri
  777.             auto    PS/2            2        None         Set automatically for PS/2
  778.             auto    386/486         3        386, 80386   Set automatically for 386/4
  779.             auto    386             INBOARD  None         386 with Intel Inboard
  780.             req'd   Fujitsu FMR-70  5        None         Must be set for Fujitsu FMR
  781.             auto    386/486 w/VCPI  11       None         Set automatically for VCPI
  782.             req'd   Hitachi B32     14       None         Must be set for Hitachi B32
  783.             req'd   OKI if800       15       None         Must be set for OKI if800
  784.             option  IBM PS/55       16       None         May be needed for some PS/5
  785.  
  786.                The following procedure shows you how to test the switch
  787.                mode setting.
  788.  
  789.                1.   If you have one of the  machines listed below, set  the
  790.                     DOS16M environment variable to the value shown for that
  791.                     machine and specify  a range of  extended memory.   For
  792.                     example, if  your  machine  is  a  NEC  98-series,  set
  793.                     DOS16M=1 @2M-4M.   See  the section,  "Fine Control  of
  794.                     Memory  Usage"   later  in   this  chapter   for   more
  795.                     information about setting the memory range.
  796.  
  797.                               Machine                  Setting
  798.  
  799.  
  800.                                        Page 13
  801.  
  802.  
  803.  
  804.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  805.  
  806.  
  807.                               NEC-98-series            1
  808.                               Fujitsu FMR-60,-70       5
  809.                               Hitachi B32              14
  810.                               OKI if800                15
  811.  
  812.                Before running  CMorph, check  the  switch mode  setting  by
  813.                following this procedure:
  814.  
  815.                2.   Run PMINFO and note the switch setting reported on  the
  816.                     last line of the display.
  817.  
  818.                     If PMINFO runs, the setting is usable on your machine.
  819.  
  820.                3.   If you changed the switch setting, add the new  setting
  821.                     to your CMORPH.BAT file, or your AUTOEXEC.BAT file.
  822.  
  823.                Note:     PMINFO will run successfully on 286 machines.   If
  824.                          CMORPH does not  run, and PMINFO  does, check  the
  825.                          CPU  type  reported  on  the  first  line  of  the
  826.                          display.
  827.  
  828.                               FINE CONTROL OF MEMORY USAGE:
  829.  
  830.                In addition to setting the  switch mode as described  above,
  831.                the DOS16M environment variable enables you to specify which
  832.                portion of extended  memory CMorph will  use.  The  variable
  833.                also allows  you  to instruct  CMorph  to search  for  extra
  834.                memory and use it if it is present.
  835.  
  836.                           SPECIFYING A RANGE OF EXTENDED MEMORY
  837.  
  838.                Normally, you don't need to specify  a range of memory  with
  839.                the DOS16M variable.  You must use the variable, however, in
  840.                the following cases:
  841.  
  842.                     1.   You are running on  a Fujitsu FMR-series, NEC  98-
  843.                          series,  OKI  if800-series,  or  Hitachi  B-series
  844.                          machine.
  845.  
  846.                     2.   You have older programs  that use extended  memory
  847.                          but don't follow one of the standard disciplines.
  848.  
  849.                     3.   You want to  shell out  of CMorph  to use  another
  850.                          program that requires extended memory.
  851.  
  852.                If none of  these conditions applies  to you,  you can  skip
  853.                this section.
  854.  
  855.                The general syntax is:
  856.  
  857.                set DOS16M=[switch_mode][@start_address[-end_address]]
  858.                [:size]
  859.  
  860.  
  861.  
  862.  
  863.                                        Page 14
  864.  
  865.  
  866.  
  867.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  868.  
  869.  
  870.                In the  syntax shown  above, "start_address",  "end_address"
  871.                and "size"  represent numbers,  expressed in  decimal or  in
  872.                hexadecimal (hex requires a 0x prefix).  The number may  end
  873.                with a K to indicate an address or size in kilobytes, or  an
  874.                M to indicate megabytes.  If no suffix is given, the address
  875.                or size is assumed to be in kilobytes.  If both a size and a
  876.                range are specified, the more restrictive interpretation  is
  877.                used.
  878.  
  879.                The most  flexible  strategy  is to  specify  only  a  size.
  880.                However, if you  are running with  other software that  does
  881.                not follow a convention for indicating it's use of  extended
  882.                memory, and these  other programs start  before CMorph,  you
  883.                will need to  calculate the range  of memory  used by  other
  884.                programs and specify a range for CMorph to use.
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.                                        Page 15
  927.  
  928.  
  929.  
  930.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  931.  
  932.  
  933.                                   A NOTE ON THE GUI
  934.  
  935.           A few  things  need  mentioning regarding  the  GUI's  new  radio
  936.           buttons.  There are two uses for the new radio buttons.
  937.  
  938.           First, they are used  to toggle on or  off certain options,  like
  939.           the zoom window (located in the  Preferences menu).  Clicking  on
  940.           this radio button will toggle it up  and down.  If the button  is
  941.           in the up position, then the feature is off, or disabled, and  if
  942.           the button  is  in the  down  position,  the feature  is  on,  or
  943.           enabled.
  944.  
  945.           The second use for  radio buttons is  to choose between  multiple
  946.           settings for a single option.   An example of this is the  cursor
  947.           color.  Selecting a color  will de-select the currently  selected
  948.           color and select the  selected color (lots  of "selects" in  that
  949.           one!)
  950.  
  951.           There are also keys  that allow you  to navigate through  CMorph.
  952.           Pressing F1 will bring up a help window that displays them.  They
  953.           are:
  954.  
  955.                 F1/ALT-H    Gets this help information on-line
  956.                 ALT-A       Show About Box
  957.                 ALT-D       DOS Shell
  958.                 ALT-E       Enter Edit menu
  959.                 ALT-F       Enter File menu
  960.                 ALT-G       Enter Go menu
  961.                 ALT-I       Enter Filters menu
  962.                 ALT-L       Enter the FLICs menu (registered/pro only)
  963.                 ALT-P       Enter Preferences menu
  964.                 ALT-R       Enter Preview menu
  965.                 ALT-S       Start morphing
  966.                 ALT-V       Start a preview
  967.                 ALT-X       Exit to DOS
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.                                        Page 16
  990.  
  991.  
  992.  
  993.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  994.  
  995.  
  996.                               A FEW NOTES ON THE MOUSE
  997.  
  998.           When the mouse is in the source or the target image windows,  the
  999.           mouse becomes a cross-hair  cursor that spans  both images.   The
  1000.           cross-hair has two crosses.   The first is  the cross that  shows
  1001.           where  the  cursor  actually  is,  and  the  second  is  a  less-
  1002.           significant cross in the opposite image.   This cross points  out
  1003.           where in the opposite image where the corresponding pixel is.
  1004.  
  1005.           Also, by placing the cursor within one of the two image  windows,
  1006.           you'll see  a filled  circle.   This  circle follows  the  cursor
  1007.           around and is placed  on the nearest mesh  point.  When the  left
  1008.           mouse button is depressed (unhappy?...NAW!), the cursor  position
  1009.           jumps to where that point is, so it may be relocated.
  1010.  
  1011.           When you have  a menu up,  you may back  up to the  main menu  by
  1012.           pressing the right button or escape.
  1013.  
  1014.           Pressing the  right  button inside  one  of the  two  information
  1015.           windows (located directly below their respective image) will hide
  1016.           the meshes.  And if  you don't bother to  read this in the  docs,
  1017.           then you'll never know this.  See, there actually is an advantage
  1018.           to reading the docs.  (Not like I ever read them, either.)
  1019.  
  1020.           The  last  note  that  needs   mentioning  is  that  in   certain
  1021.           circumstances, you'll be promoted by a message box for a "yes" or
  1022.           a "no" (like  when you exit  CMorph, for example).   When one  of
  1023.           these prompts are up, pressing the left button always means "yes"
  1024.           and the right button always means "no".
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.                                        Page 17
  1053.  
  1054.  
  1055.  
  1056.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  1057.  
  1058.  
  1059.                                      THE GO MENU
  1060.  
  1061.           You'll notice that  there are four  categories in  this menu  (in
  1062.           case you haven't done  this yet, you'll need  to take your  mouse
  1063.           and click on the Operations button to get the menu to appear).
  1064.  
  1065.           Go menu category "System":
  1066.                "Leave" button:
  1067.                     Exit to DOS.
  1068.  
  1069.                "DOS Shell" button:
  1070.                     Shell to DOS.  This will run a temporary copy of DOS.
  1071.                     Once you are at in DOS, you may return to CMorph by
  1072.                     typing "EXIT" on the DOS command line.
  1073.  
  1074.                "Go" button:
  1075.                     Start the actual morphing, warping, or fading.
  1076.  
  1077.           Go menu category "Other":
  1078.                "Help" button:
  1079.                     Displays a help window of available keys for navigating
  1080.                     through the menus.
  1081.  
  1082.                "About" button:
  1083.                     Displays an about box with version and copyright
  1084.                     information.
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.                                        Page 18
  1116.  
  1117.  
  1118.  
  1119.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  1120.  
  1121.  
  1122.                                   PREFERENCES MENU
  1123.  
  1124.           The Preferences menu allows you to change all of CMorph's
  1125.           preferences and options.  You'll notice that there are six
  1126.           categories in this menu.  They are:
  1127.  
  1128.           Preferences menu category "Spline Settings":
  1129.                Sub menu category "Mesh":
  1130.                     "Catmull", "BiCubic" and "Straight" buttons:
  1131.                          These buttons select the type of spline used
  1132.                          during the mesh warping stage.  Use these
  1133.                          different spline types for different effects.
  1134.  
  1135.                     "Tightness" text box:
  1136.                          Selects the amount of gravity used when drawing
  1137.                          the Bi-cubic mesh lines.  Valid values for this
  1138.                          option can range from 1 (very little gravity;
  1139.                          almost straight lines) to 100 (lots of gravity;
  1140.                          very curvy lines).  This only effects the mesh
  1141.                          warping when the BiCubic mesh type is selected.
  1142.  
  1143.                Sub menu category "Interpolation":
  1144.                     "Catmull", "BiCubic" and "Straight" buttons:
  1145.                          These buttons select the type of spline used
  1146.                          during the interpolation (or resampling) stage.
  1147.                          Use these different spline types for different
  1148.                          effects.
  1149.  
  1150.                     "Tightness" text box:
  1151.                          Selects the amount of gravity used when resampling
  1152.                          the output.  Valid values for this option can
  1153.                          range from 1 (very little gravity; almost straight
  1154.                          lines) to 100 (lots of gravity; very curvy lines).
  1155.  
  1156.           Preferences menu category "Screen Settings":
  1157.                "Display Curves" button:
  1158.                     Toggles the displayed meshes from curves to straight.
  1159.                     This option does not effect the Morphing, just what is
  1160.                     displayed on the screen.  Use this option to speed up
  1161.                     the display when needed.
  1162.  
  1163.                "Zoom" button:
  1164.                     Toggles the zoom window.  When the zoom window is ON,
  1165.                     the display and the cursor can be slow.  Use this
  1166.                     option when you need precise placement of mesh points.
  1167.  
  1168.                "Kwik-screen" button:
  1169.                     Toggles the Kwik-screen option on/off.
  1170.  
  1171.                "Sounds" button:
  1172.                     Toggles the sounds on/off.
  1173.  
  1174.                "Cursor color" buttons:
  1175.  
  1176.  
  1177.  
  1178.                                        Page 19
  1179.  
  1180.  
  1181.  
  1182.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  1183.  
  1184.  
  1185.                     Toggles the cursor color from Red, to Green, to Blue to
  1186.                     XOR.
  1187.  
  1188.                "Mesh color" buttons:
  1189.                     Toggles the mesh color from Red, to Green, to Blue to
  1190.                     XOR.
  1191.  
  1192.           Preferences menu category "Output Image Format":
  1193.                "Image Format" buttons:
  1194.                     Select the output image file format.  Available choices
  1195.                     are:  TGA, IPI, IMG, GIF, PCX and BMP.
  1196.  
  1197.                "TGAs Bottom-Up" button:
  1198.                     Enables or disables the TGA files from being written
  1199.                     out in Bottom-up format.
  1200.  
  1201.           Preferences menu category "Operation":
  1202.                "Operation" buttons:
  1203.                     Select the operation to perform.  Available choices
  1204.                     are:  Morph, Warp and Fade.
  1205.  
  1206.                "Fast Morph" button:
  1207.                     Enables or disables a "draft mode" for morphing.  It's
  1208.                     a faster, but lower quality morph.
  1209.  
  1210.           Preferences menu category "Output Configuration":
  1211.                "Fade 50%" text box:
  1212.                     This option will select at what percent of the morph
  1213.                     the fade will reach 50%.  For example, if this option
  1214.                     is set to 10, then at 10% of the morph, the fade will
  1215.                     reach 50%, hence, most of the fading is done early on
  1216.                     in the morph.  Note that this option sets the center of
  1217.                     the fade between the start and end of the selected fade
  1218.                     range (described below).
  1219.  
  1220.                "Fade start %" text box:
  1221.                     This option will select at what percent of the morph
  1222.                     the fade will start.  For example, if this option is
  1223.                     set to 10, then at 10% of the morph, the fade will
  1224.                     begin.
  1225.  
  1226.                "Fade end %" text box:
  1227.                     This option will select at what percent of the morph
  1228.                     the fade will end.  For example, if this option is set
  1229.                     to 90, then at 90% of the morph, the fade will reach
  1230.                     the end.
  1231.  
  1232.                "Warp 50%" text box:
  1233.                     This option will select at what percent of the morph
  1234.                     the warp will reach 50%.  For example, if this option
  1235.                     is set to 10, then at 10% of the morph, the warp will
  1236.                     reach 50%, hence, most of the warping is done early on
  1237.                     in the morph.  Note that this option sets the center of
  1238.  
  1239.  
  1240.  
  1241.                                        Page 20
  1242.  
  1243.  
  1244.  
  1245.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  1246.  
  1247.  
  1248.                     the warp between the start and end of the selected warp
  1249.                     range (described below).
  1250.  
  1251.                "Warp start %" text box:
  1252.                     This option will select at what percent of the morph
  1253.                     the warp will start.  For example, if this option is
  1254.                     set to 10, then at 10% of the morph, the warp will
  1255.                     begin.
  1256.  
  1257.                "Warp end %" text box:
  1258.                     This option will select at what percent of the morph
  1259.                     the warp will end.  For example, if this option is set
  1260.                     to 90, then at 90% of the morph, the warp will reach
  1261.                     the end.
  1262.  
  1263.           Preferences menu category "Frame Control":
  1264.                "Total Frames" text box:
  1265.                     This text box simply selects the total number of frames
  1266.                     to create for this morph.  The starting frame and
  1267.                     ending frame are always saved separately.
  1268.  
  1269.                "Start Frame" text box:
  1270.                     This text box simply selects the first frame within the
  1271.                     number of total frames.  If the total frames is set to
  1272.                     30, and the start frame is set to 20 with the end frame
  1273.                     set to 25, then 6 frames (20-25 inclusive) will be
  1274.                     generated.
  1275.  
  1276.                "End Frame" text box:
  1277.                     This text box simply selects the last frame within the
  1278.                     number of total frames.  If the total frames is set to
  1279.                     30, and the start frame is set to 20 with the end frame
  1280.                     set to 25, then 6 frames (20-25 inclusive) will be
  1281.                     generated.
  1282.  
  1283.                "Frame Offset" text box:
  1284.                     This text box simply allows you to select an offset
  1285.                     number to start naming the output filenames.  There is
  1286.                     no correlation between the start, end or total frames
  1287.                     numbers.  This simply changes what the filenames will
  1288.                     be.  This is useful for generating a multi-part
  1289.                     animation.
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302.  
  1303.  
  1304.                                        Page 21
  1305.  
  1306.  
  1307.  
  1308.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  1309.  
  1310.  
  1311.                                    THE OTHER MENUS
  1312.  
  1313.           I won't bother going through the different buttons in the rest of
  1314.           the menus since they are very  self explanatory, I don't want  to
  1315.           insult  your   intelligence,   and,   basically,   nobody   reads
  1316.           documentation anyway (including myself!)
  1317.  
  1318.           So here's a brief description of each menu:
  1319.  
  1320.                                    THE EDIT MENU:
  1321.           The edit menu  allows you to  swap, copy and  flip the  different
  1322.           meshes and images.
  1323.  
  1324.                                    THE FILE MENU:
  1325.           The file menu allows you to:
  1326.                1.   Load/Save/Import (load v1.20) meshes
  1327.                2.   Load/Save images
  1328.                3.   Set the  base filename.   There  is a  maximum of  five
  1329.                     chars (the last three of the first 8 are used for frame
  1330.                     numbering),  but  you  may  point  to  a  path,   like:
  1331.                     "C:\ANIMS\MORPH" will  place  output  images  into  the
  1332.                     directory ANIMS on drive C:,  and they will start  with
  1333.                     "MORPH",   creating    images    named    MORPH001.TGA,
  1334.                     MORPH002.TGA, etc.
  1335.                4.   Select the  name  of,  and  enable  arithmetic  images.
  1336.                     Arithmetic images  are added  to, subtracted  from,  or
  1337.                     averaged with each  output image  as it  is written  to
  1338.                     disk.  You  may also select  to overlay the  arithmetic
  1339.                     image with a color range.  This color range will select
  1340.                     the range of  color values that,  if the  color in  the
  1341.                     arithmetic image falls  inside that range,  then it  is
  1342.                     directly overlaid on top of the output image.  This  is
  1343.                     useful when you want to add credits to your morph.  The
  1344.                     Background image  is calculated  BEFORE the  arithmetic
  1345.                     image is.
  1346.                5.   Select the  name  of,  and  enable  background  images.
  1347.                     Background images work similar  to the overlay  images,
  1348.                     except that the  color range is  compared with each  of
  1349.                     the output frames,  rather than  the background  image.
  1350.                     If a pixel  in the output  image is  inside the  range,
  1351.                     then it is replaced by  the corresponding pixel in  the
  1352.                     background image.  The background is calculated  BEFORE
  1353.                     the arithmetic image is.
  1354.  
  1355.                                   THE FILTERS MENU:
  1356.           This menu allows you to select a filter file (described later  in
  1357.           this documentation),  and the  appropriate filters  contained  in
  1358.           that file for use on each of the source and target images.
  1359.  
  1360.                                   THE PREVIEW MENU:
  1361.           A preview is  very convenient for  deciding where  to place  mesh
  1362.           points, and  where flaws  may be.   To  preview an  image from  a
  1363.           morph, simply select which image in  the morph you want to  view,
  1364.           (in the form of a % value, 50% for the center image), and  select
  1365.  
  1366.  
  1367.                                        Page 22
  1368.  
  1369.  
  1370.  
  1371.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  1372.  
  1373.  
  1374.           the button "Show  Preview".  The  preview will be  viewed in  the
  1375.           current video mode.  When the preview is done, a beep will  sound
  1376.           (assuming you haven't disabled it),  and pressing a mouse  button
  1377.           or any key will return you to CMorph's main menu.
  1378.  
  1379.                                    THE FLICs MENU:
  1380.           This menu is only available from the Registered and PRO versions.
  1381.           FLIC files  are animation  files  that originated  from  AutoDesk
  1382.           Animator.   These  files can  be  played back  by  the  free-ware
  1383.           program AAPLAY.EXE.  This player, however, is limited to the  FLI
  1384.           format only.  To view FLX files, you will need Tempra's animation
  1385.           program (they developed the extensions  from FLC for FLX  files).
  1386.           This software  still cannot  play  the FLH  and  FLT files.    At
  1387.           current, the  FLH and  FLT  files are  the  sole product  of  DTA
  1388.           (Dave's Targa Animator),  DFV (Dave's Flic  Viewer), with  CMorph
  1389.           being the first and only product out (at the time of the  writing
  1390.           of this document) to  support the extra features  of the FLH  and
  1391.           FLT files.  DFV is available today, and can play back all of  the
  1392.           currently supported FLIC files that get generated from CMorph:
  1393.  
  1394.                FLI  320x200 - 256 color
  1395.                FLC  no resolution limit - 256 color
  1396.                FLX  no resolution limit - HiColor
  1397.                FLH  no resolution limit - HiColor (enhanced compression  on
  1398.                first frame)
  1399.                FLT  no resolution limit - True-Color (16.8 million  colors,
  1400.                24-bit)
  1401.  
  1402.           The FLICs menu allows you to select the FLIC type, the FLIC speed
  1403.           (0 = fast, 10 = very slow, 99 = wait a long time between frames),
  1404.           the output FLIC filename, whether the FLIC is color or Monochrome
  1405.           (monochrome is great for first  draft animations, it's very  fast
  1406.           to generate), turn "Ping-Pong" on/off (morph from SOURCE->TARGET-
  1407.           >SOURCE for  auto  repeating  morphs), and  the  FLIC  generation
  1408.           on/off switch.   If the  FLICs are turned  off, no  FLIC will  be
  1409.           generated.
  1410.  
  1411.           If the FLICs are  turned on, then they  will be generated  during
  1412.           the morphing  process in  a second  phase.   If you  have had  an
  1413.           earlier version of CMorph, then you may notice a slight  decrease
  1414.           in speed  during  the morphing  process  when FLICs  are  enabled
  1415.           because CMorph has to  perform color reduction  on each image  it
  1416.           generates before it can add all the images to the FLIC file.
  1417.  
  1418.           This FLIC file will be created in addition to the separate  image
  1419.           files, so make sure to leave plenty of disk space available.
  1420.  
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.                                        Page 23
  1431.  
  1432.  
  1433.  
  1434.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  1435.  
  1436.  
  1437.                                    CREATING A MESH
  1438.  
  1439.           Morphing relies on high quality meshes for high quality morphs.
  1440.           So, before you create a mesh, start by examining where you want
  1441.           to place your most important mesh points.
  1442.  
  1443.           Once you have decided where you want your primary mesh points,
  1444.           you can start adding mesh points.  Once all of your primary mesh
  1445.           points have been added, you can add support points to help clean
  1446.           up the morph even more.
  1447.  
  1448.           To add a mesh line, move the mouse to the border of the image
  1449.           that you want to add a mesh line to, and click the right button.
  1450.           To add a horizontal mesh line, click in the left or right side
  1451.           border.  To add a vertical mesh line, click in the top or bottom
  1452.           border.
  1453.  
  1454.           The mesh lines that get added will be placed between the two
  1455.           lines that you were located between when you clicked on the
  1456.           mouse.  Most of the time, straight-through mesh lines cannot be
  1457.           added to the image, so the mesh line is bent at each intersection
  1458.           so that it may maneuver through the maze of mesh points.
  1459.  
  1460.           You may notice that there were actually two mesh lines added, one
  1461.           for each image.  This is because CMorph requires that there be an
  1462.           equal number of mesh lines in each image.  This should be taken
  1463.           into consideration when adding mesh lines.
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.  
  1474.  
  1475.  
  1476.  
  1477.  
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.                                        Page 24
  1494.  
  1495.  
  1496.  
  1497.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  1498.  
  1499.  
  1500.                              FILTER FILE (FILTERS.TXT) FORMAT
  1501.  
  1502.           The filters are contained in the filter file.
  1503.  
  1504.           The filter description format for a 3x3 filter is as follows:
  1505.                     FILTER NAME <filtername> <size>
  1506.                     <upper-left>  <upper-center>  <upper-right>
  1507.                     <center-left> <center-center> <center-right>
  1508.                     <lower-left>  <lower-center>  <lower-right>
  1509.                     <operator> <operand> <bias>
  1510.  
  1511.                     Any text following semicolons are comments
  1512.  
  1513.           Where <filtername> is  the name  of the  filter.   This is  where
  1514.           CMorph looks for the filter name  (in the filters menu).   <size>
  1515.           is the size of the filter (3,  5 or 7 only, others are  ignored).
  1516.           For 5x5 and 7x7 filters, the  above example is incomplete,  since
  1517.           from <upper-left> to <lower-right> would be a 5x5 or 7x7 "grid".
  1518.  
  1519.           Convolutions are quite simple.  For  each pixel in an image,  the
  1520.           filter grid is overlaid onto that  pixel and it's neighbors  with
  1521.           the <center-center> element of the  filter grid aligned onto  the
  1522.           current pixel in the image, and the outer elements in the  filter
  1523.           grid overlaying the current pixel's neighbors.  The next step  is
  1524.           to  multiply  each   element  in  the   filter  grid  with   it's
  1525.           corresponding overlaid pixel value.   Once all these values  have
  1526.           been calculated, add them together and perform the operation (/ 8
  1527.           for an <operator> of '/' and  an <operand> of '8'.)  Lastly,  add
  1528.           the <bias> value.  If the  addition of <bias> (or subtraction  of
  1529.           <bias> if it is negative) takes the result above 255 or below  0,
  1530.           then the value is clipped to 0 or 255, respectively.
  1531.  
  1532.           A good trick  for trying your  own is to  take a current  filter,
  1533.           copy it, change the new copy's name, and modify it.  If you  have
  1534.           problems getting usable resulting images,  try adding all of  the
  1535.           values in the filter's grid and  placing that value in  <operand>
  1536.           with an <operator> of '/'
  1537.  
  1538.           NOTES:
  1539.                The valid range for <bias> is 0-255.
  1540.  
  1541.                Valid <operator> values are:
  1542.                     +.......Add <operand>
  1543.                     -.......Subtract <operand>
  1544.                     *.......Multiply by <operand>
  1545.                     /.......Divide by <operand>
  1546.                     M.......Sort all multiplied grid elements, and use  the
  1547.                             median. Ignore <operand> -- Operand MUST still
  1548.                             be present
  1549.                     <.......Sort all multiplied grid elements, and use  the
  1550.                             lowest. Ignore <operand> -- Operand MUST still
  1551.                             be present
  1552.  
  1553.  
  1554.  
  1555.  
  1556.                                        Page 25
  1557.  
  1558.  
  1559.  
  1560.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  1561.  
  1562.  
  1563.                     >.......Sort all multiplied grid elements, and use  the
  1564.                             highest.  Ignore  <operand>  --  Operand  MUST
  1565.                             still be present
  1566.  
  1567.                CMorph will  search for  the filter  file in  the  following
  1568.                order:
  1569.                     1. The current directory
  1570.                     2. The default  CMorph directory  (where CMORPH.EXE  is
  1571.                     stored)
  1572.  
  1573.                CAUTION:  The  median ('M'),  dilate ('>')  and erode  ('<')
  1574.                functions take a LONG  TIME in 5x5 or  7x7 filters.  Try  to
  1575.                stick with using 3x3 filters for these operators.
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.                                        Page 26
  1620.  
  1621.  
  1622.  
  1623.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  1624.  
  1625.  
  1626.                          AnimComp -- The Animation Compiler
  1627.  
  1628.           AnimComp allows you to build monochrome animations from the
  1629.           morphs that you generate from within CMorph.  When you create a
  1630.           morph animation in CMorph, what you're doing is generating a
  1631.           series of animation "cells."  These "cells" need to be compiled
  1632.           into a single file called an "animation file."  The standard
  1633.           extension for this format is ANM.  The ANM files can then be
  1634.           played back with the LAnim program.  LAnim will sequentially jump
  1635.           through each frame in the animation very quickly giving the
  1636.           illusion of movement.
  1637.  
  1638.           This entire process is performed in the DEMO.BAT file.
  1639.  
  1640.           NOTE:  AnimComp is limited to monochrome animations and a
  1641.           resolution of 320x200 only.  This is NOT a limitation of CMorph.
  1642.           CMorph's output images are still full-color.  These same output
  1643.           files can also be used to create full-color any-sized animations
  1644.           if you use a different animation program.
  1645.  
  1646.           For convenience, if you register CMorph.  The registered version
  1647.           of CMorph has automatic creation of all the different FLIC
  1648.           formats.  And even comes with a separate FLIC creation utility
  1649.           called TFlic ("Turbo Flic") that allows you to generating morph
  1650.           FLICs, or you can use it on any other set of images to create
  1651.           dramatic animation effects.  There are other features and
  1652.           programs that are only available in the registered versions, so
  1653.           look near the end of this document for the complete list of
  1654.           registration incentives and options.
  1655.  
  1656.           Another of these animation programs is called DTA (Dave's Targa
  1657.           Animator).  With this program, you can easily create full-color
  1658.           animations from CMorph's output.
  1659.  
  1660.           AnimComp allows you to specify options such as a Difference
  1661.           Minimum and Ping-Pong animations.  The ANM files (like FLIC
  1662.           files) only store the first frame, then the differences between
  1663.           each consecutive frame, keeping the file smaller, and ideal for
  1664.           fast playback (as you will see when running LAnim).  The
  1665.           Difference Minimum is used to specify the difference that must
  1666.           take place before that pixel is stored in the ANM file.  If the
  1667.           difference between two pixels is less than the value specified,
  1668.           the pixel is not stored, and remains.  This will degrade the
  1669.           quality of the animation file generated, but will reduce it's
  1670.           size, in some cases, a great deal.
  1671.  
  1672.           The Ping-Pong Option will tell AnimComp to generate an animation
  1673.           that goes from start to end, then end back (in reverse order) to
  1674.           start.  For morphs, this is ideal for generating an animation
  1675.           that repeats.  Since the end of the animation is the same as the
  1676.           start, the animation won't appear to "jump" back to the
  1677.           beginning.
  1678.  
  1679.           The usage for AnimComp is as follows:
  1680.  
  1681.  
  1682.                                        Page 27
  1683.  
  1684.  
  1685.  
  1686.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  1687.  
  1688.  
  1689.  
  1690.           AnimComp [options] <filespec> [outfile]
  1691.  
  1692.           <filespec>  Describes input animation cells to be compiled.
  1693.                       Formats supported are IPI/IMG/GIF/TGA/PCX/BMP, in
  1694.                       320x200 ONLY.  Wild cards allowed. Files are
  1695.                       compiled in alphabetical order (maximum of 100
  1696.                       files).
  1697.  
  1698.           [outfile]   File name of animation file.  Default is
  1699.                       ANIMFILE.ANM
  1700.  
  1701.           [options]   ?|H   Get this help information
  1702.                       P     Generate Ping-Pong animation
  1703.                       Dxx   Difference minimum
  1704.  
  1705.           NOTES:      1. All files MUST be located in the current
  1706.                       directory.
  1707.                       2. THIS PROGRAM WILL ONLY CREATE GRAY SCALE
  1708.                       ANIMATIONS FROM A SERIES OF COLOR IMAGES.
  1709.  
  1710.           To illustrate, please consider the following example:
  1711.  
  1712.           AnimComp -p -d16 morph*.tga morphout.anm
  1713.  
  1714.           In this example, AnimComp will generate MORPHOUT.ANM based on all
  1715.           TGA files that begin with "MORPH" using a difference minimum of
  1716.           4.
  1717.  
  1718.           Also note that all input images for AnimComp are sorted in
  1719.           alphabetical order, before processing begins, and that AnimComp
  1720.           uses the image files' extensions to determine the format of each
  1721.           file.
  1722.  
  1723.  
  1724.  
  1725.  
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738.  
  1739.  
  1740.  
  1741.  
  1742.  
  1743.  
  1744.  
  1745.                                        Page 28
  1746.  
  1747.  
  1748.  
  1749.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  1750.  
  1751.  
  1752.                             LAnim -- The Animation Player
  1753.  
  1754.           LAnim allows you to play-back the animations that you've created
  1755.           with AnimComp.  LAnim cannot handle any other program's output.
  1756.           This program pair are the only programs that can deal with the
  1757.           animation file format that is used here.  It's my own concoction
  1758.           from years ago.  The idea is to allow you to view your morphs
  1759.           without any extra software.  There is, of course, extra software
  1760.           available in Shareware that will allow you to have complete
  1761.           control over your animations.  One of these being the software
  1762.           that comes with CMorph's registered versions, TFlic (described
  1763.           later in this document).  You're not forced to register if you
  1764.           need this capability.  There is other Shareware out there.
  1765.  
  1766.           Using LAnim is very simple.  Since the animation files don't
  1767.           support a playback speed or repeat count, you'll have to enter
  1768.           this on the command line for LAnim.  The usage for LAnim is as
  1769.           follows:
  1770.  
  1771.           LAnim <animfile> <speed> [<repeat>]
  1772.  
  1773.                <animfile> is animation file you created with AnimComp
  1774.  
  1775.                <speed> is delay between frames (in ms.)
  1776.  
  1777.  
  1778.           For complete animations:
  1779.                [<repeat>] is optional number of times to repeat (1 - 65535)
  1780.  
  1781.           For segmented animations:
  1782.                - if <repeat> is "FIRST", then LAnim will not restore the
  1783.                     graphics mode and will not print the copyright when
  1784.                     completed.
  1785.                - if <repeat> is "NEXT", then LAnim will not set or restore
  1786.                     the graphics mode and will not print the copyright when
  1787.                     completed.
  1788.                - if <repeat> is "LAST", then LAnim will not set the
  1789.                     graphics mode but will restore it and print the
  1790.                     copyright when completed.
  1791.  
  1792.           Also note that LAnim requires that you have enough memory to load
  1793.           the entire animation file into memory at once.  So, look at your
  1794.           animation file size.  If you have that much memory, it should
  1795.           load and run OK.
  1796.  
  1797.  
  1798.  
  1799.  
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805.  
  1806.  
  1807.  
  1808.                                        Page 29
  1809.  
  1810.  
  1811.  
  1812.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  1813.  
  1814.  
  1815.                         Convert -- The Image Conversion Tool
  1816.  
  1817.           Convert (only available in registered versions of CMorph) is a
  1818.           simple image conversion utility that allows you to convert images
  1819.           from format to format.
  1820.  
  1821.           Convert will read these image file formats:  IPI, IMG, TGA (type
  1822.           2, non-compressed only), GIF, BMP and PCX (256 color and 24-bit
  1823.           only).  These same image formats are supported for writes, except
  1824.           that the image files are always written out in 24-bit color only.
  1825.           The only exception to this is GIF files, since they currently
  1826.           only support 256 colors.
  1827.  
  1828.           Running convert is simpler than copying a file.  Simply type:
  1829.  
  1830.           Convert [infile] [outfile]
  1831.  
  1832.           Convert uses the file extension to determine what format the
  1833.           image file uses.  So <infile> is the filename of the input file
  1834.           that you want converted to <outfile>.  That's all there is to it.
  1835.  
  1836.           Note that if you run Convert with fewer than two parameters, it
  1837.           will automatically prompt you for the missing parameter(s).
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855.  
  1856.  
  1857.  
  1858.  
  1859.  
  1860.  
  1861.  
  1862.  
  1863.  
  1864.  
  1865.  
  1866.  
  1867.  
  1868.  
  1869.  
  1870.  
  1871.                                        Page 30
  1872.  
  1873.  
  1874.  
  1875.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  1876.  
  1877.  
  1878.                         TurboFlic (TFlic) -- The Flic Builder
  1879.  
  1880.           TurboFlic (only available in registered versions of CMorph) is  a
  1881.           fast FLIC file builder.
  1882.  
  1883.           FLIC files  are animation  files  that originated  from  AutoDesk
  1884.           Animator.   These  files can  be  played back  by  the  free-ware
  1885.           program AAPLAY.EXE.  This player, however, is limited to the  FLI
  1886.           format only.  To view FLX files, you will need Tempra's animation
  1887.           program (they developed the extensions  from FLC for FLX  files).
  1888.           This software  still cannot  play  the FLH  and  FLT files.    At
  1889.           current, the  FLH and  FLT  files are  the  sole product  of  DTA
  1890.           (Dave's Targa Animator),  DFV (Dave's Flic  Viewer), with  CMorph
  1891.           being the first and only product out (at the time of the  writing
  1892.           of this document) to  support the extra features  of the FLH  and
  1893.           FLT files.  DFV is available today, and can play back all of  the
  1894.           currently supported FLIC files that get generated from TFlic:
  1895.  
  1896.                FLI  320x200 - 256 color
  1897.                FLC  no resolution limit - 256 color
  1898.                FLX  no resolution limit - HiColor
  1899.                FLH  no resolution limit - HiColor (enhanced compression  on
  1900.                first frame)
  1901.                FLT  no resolution limit - True-Color (16.8 million  colors,
  1902.                24-bit)
  1903.  
  1904.           TFlic's usage is as follows:
  1905.  
  1906.           TFlic [options] <filespec> [outfile]
  1907.  
  1908.           <filespec>
  1909.                Describes input animation cells to be compiled. Formats
  1910.                supported are IPI, IMG, GIF, TGA, PCX and BMP.  Wild cards
  1911.                are allowed. Files are compiled in alphabetical order
  1912.                (maximum of 3000 files).
  1913.  
  1914.           [outfile]
  1915.                File name of animation file (excluding extension).  The
  1916.                     default is "ANIM."
  1917.  
  1918.           [options]
  1919.                ?|H  - Get this help information
  1920.                M    - Use monochrome animation (great for a quick preview,
  1921.                     only on FLI/FLC).
  1922.                P    - Generate a Ping-Pong animation.
  1923.                S??  - Set FLIC speed, default is 0.
  1924.                FLI  - Make a FLI
  1925.                FLC  - Make a FLC
  1926.                FLX  - Make a FLX
  1927.                FLH  - Make a FLH
  1928.                FLT  - Make a FLT
  1929.  
  1930.           Note that all of the <filespec> files must be located in the
  1931.           current directory.
  1932.  
  1933.  
  1934.                                        Page 31
  1935.  
  1936.  
  1937.  
  1938.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  1939.  
  1940.  
  1941.  
  1942.           Example:  If you have 30 frames to an animation that are named
  1943.           "FRAME000.TGA", "FRAME001.TGA", "FRAME002.TGA", through
  1944.           "FRAME029.TGA" and you want to generate a Ping-Pong FLH file from
  1945.           them called "MORPHED.FLH", then this is what you would type:
  1946.  
  1947.           TFlic -FLH -P FRAME*.TGA MORPHED
  1948.  
  1949.           Lastly, note that the -M parameter will not perform color
  1950.           quantization on the image files, generating a monochrome FLI or
  1951.           FLC file.  This is much faster, but, it's also monochrome.  This
  1952.           feature was meant to be used for quick previews of a morph, or, a
  1953.           'draft' copy, if you will.
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.  
  1988.  
  1989.  
  1990.  
  1991.  
  1992.  
  1993.  
  1994.  
  1995.  
  1996.  
  1997.                                        Page 32
  1998.  
  1999.  
  2000.  
  2001.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  2002.  
  2003.  
  2004.                                    IPI FILE FORMAT
  2005.  
  2006.                The IPI (pronounced "ipee") file format is used to store 24-
  2007.                bit images. This format was designed  to be the simplest  to
  2008.                decode for programmers so that they may add functionality to
  2009.                CMorph  via  external  programs.    This  file  format   was
  2010.                originally designed for use  in CImage (The Complete  Image,
  2011.                another of my products).  If you don't own a copy of  CImage
  2012.                (I won't try to sell you one, I promise), then you will most
  2013.                likely have no use for this file format.
  2014.  
  2015.                The IPI format is as follows:
  2016.                   X resolution (WORD - MSB first)
  2017.                   Y resolution (WORD - MSB first)
  2018.                   Image data:
  2019.                      FOR EACH PIXEL IN THE SCREEN (XRES * YRES)
  2020.                      {
  2021.                         Red Element   (BYTE)
  2022.                         Green Element (BYTE)
  2023.                         Blue Element  (BYTE)
  2024.                      }
  2025.  
  2026.  
  2027.  
  2028.  
  2029.  
  2030.  
  2031.  
  2032.  
  2033.  
  2034.  
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059.  
  2060.                                        Page 33
  2061.  
  2062.  
  2063.  
  2064.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  2065.  
  2066.  
  2067.                                  FUTURE ENHANCEMENTS
  2068.  
  2069.           o    Add import/export to meshes from Dmorf
  2070.  
  2071.           o    Add new Nettleman spline
  2072.  
  2073.           o    Add TIFF
  2074.  
  2075.           o    Add sine wave addition to splines
  2076.  
  2077.           o    Add vertical resolution to preferences screen
  2078.  
  2079.           o    Delete mesh lines
  2080.  
  2081.           o    Different sizes for each input file and different size for
  2082.                output files
  2083.  
  2084.           o    Gamma for both images
  2085.  
  2086.           o    ListBox for mesh files and image files
  2087.  
  2088.           o    Morphs of animations
  2089.  
  2090.           o    Move entire mesh lines
  2091.  
  2092.           o    Targa - Compressed versions (and other versions not
  2093.                currently supported)/32-bit
  2094.  
  2095.  
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120.  
  2121.  
  2122.  
  2123.                                        Page 34
  2124.  
  2125.  
  2126.  
  2127.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  2128.  
  2129.  
  2130.                              CONTACTING CUSTOMER SUPPORT
  2131.  
  2132.           I'm available in the evenings, I have the standard 9-5 job
  2133.           (eastern time).  If you need to reach me during the day, you can
  2134.           do so by calling and leaving a message.  I call in to my voice
  2135.           mail about three times per day, however, on hectic days, it's not
  2136.           so easy, and I may not get any messages at all until the evening.
  2137.  
  2138.           Tech Support is available for all registered users for one full
  2139.           year following the purchase.  For non-registered users (and
  2140.           registered users over one year), tech support is not officially
  2141.           available.  But if I'm not swamped, I'll try to get back to you.
  2142.           Registered users over one year have priority over non-registered
  2143.           users.  So, please state your status.  It can be verified on
  2144.           computer.
  2145.  
  2146.           To contact me, just call (313) 941-9223.
  2147.  
  2148.           You may also mail your support questions to:
  2149.  
  2150.                Paul D. Nettle
  2151.                9668 Washington St.
  2152.                Romulus, MI  48174
  2153.  
  2154.           Also, don't forget about CompuServe.  My address there is
  2155.           72163,2442, your best chances of reaching me are on CompuServe.
  2156.           I tend to hang out in the GRAPHDEV forum.  This is also where you
  2157.           can be sure to find the latest version of CMorph.
  2158.  
  2159.           My phone number and address are for support, comments,
  2160.           suggestions, questions, registration information, and of course,
  2161.           orders.
  2162.  
  2163.  
  2164.  
  2165.  
  2166.  
  2167.  
  2168.  
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184.  
  2185.  
  2186.                                        Page 35
  2187.  
  2188.  
  2189.  
  2190.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  2191.  
  2192.  
  2193.                                 ORDERING INFORMATION
  2194.  
  2195.  
  2196.           What you will get when you register through the author:
  2197.  
  2198.           o    The registered version of CMorph on disk (your choice of
  2199.                disk format -- 1.2M or 1.44M).
  2200.  
  2201.           o    A printed manual.
  2202.  
  2203.           o    The next update of CMorph -- free of charge (Including
  2204.                printed documentation).
  2205.  
  2206.           o    Extra features: -- Automatic FLI/FLC/FLX/FLH/FLT animation
  2207.                generation built-in to CMorph as well as a stand-alone
  2208.                program that has the same capabilities, but is not limited
  2209.                to CMorph's output.  An Image conversion utility that
  2210.                converts to and from BMP, IPI, PCX, GIF, TGA and IMG
  2211.                formats.  And a few extra demos.
  2212.  
  2213.           o    Peace of mind.
  2214.  
  2215.  
  2216.           What you will get when you purchase CMorph Pro! (Commercial)
  2217.  
  2218.           o    The registered version of CMorph on disk (your choice of
  2219.                disk format -- 1.2M or 1.44M).
  2220.  
  2221.           o    A printed manual.
  2222.  
  2223.           o    Extra features: -- Automatic FLI/FLC/FLX/FLH/FLT animation
  2224.                generation built-in to CMorph as well as a stand-alone
  2225.                program that has the same capabilities, but is not limited
  2226.                to CMorph's output.  An Image conversion utility that
  2227.                converts to and from BMP, IPI, PCX, GIF, TGA and IMG
  2228.                formats.  And a few extra demos.
  2229.  
  2230.           o    Peace of mind.
  2231.  
  2232.  
  2233.           Non-registered vs registered users:
  2234.  
  2235.           o    Registered versions don't display the registration notice
  2236.                upon startup of CMorph.
  2237.  
  2238.           o    Registered versions are marked with an "r" after the version
  2239.                number in the title rather than a "u".
  2240.  
  2241.           o    Registered users are allowed free technical support priority
  2242.                via phone, by mail, or e-mail.  Non-registered users are
  2243.                given no official technical support.  (see Contacting
  2244.                Customer Support).
  2245.  
  2246.  
  2247.  
  2248.                                        Page 36
  2249.  
  2250.  
  2251.  
  2252.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  2253.  
  2254.  
  2255.           o    Non-registered users dont get these great extra features: --
  2256.                Automatic FLI/FLC/FLX/FLH/FLT animation generation built-in
  2257.                to CMorph as well as a stand-alone program that has the same
  2258.                capabilities, but is not limited to CMorph's output.  An
  2259.                Image conversion utility that converts to and from BMP, IPI,
  2260.                PCX, GIF, TGA and IMG formats.  And a few extra demos.
  2261.  
  2262.  
  2263.  
  2264.  
  2265.  
  2266.  
  2267.  
  2268.  
  2269.  
  2270.  
  2271.  
  2272.  
  2273.  
  2274.  
  2275.  
  2276.  
  2277.  
  2278.  
  2279.  
  2280.  
  2281.  
  2282.  
  2283.  
  2284.  
  2285.  
  2286.  
  2287.  
  2288.  
  2289.  
  2290.  
  2291.  
  2292.  
  2293.  
  2294.  
  2295.  
  2296.  
  2297.  
  2298.  
  2299.  
  2300.  
  2301.  
  2302.  
  2303.  
  2304.  
  2305.  
  2306.  
  2307.  
  2308.  
  2309.  
  2310.  
  2311.                                        Page 37
  2312.  
  2313.  
  2314.  
  2315.               The Complete Morph -- Copyright 1993, 1994 Paul D. Nettle
  2316.  
  2317.  
  2318.                                    HOW TO REGISTER
  2319.  
  2320.           How to register with the author:
  2321.                To order a copy of The Complete Morph, just print out the
  2322.                REGISTR.FRM, fill it in, and send it with you check or money
  2323.                order for $38.00 ($35.00 + $3.00 S&H).
  2324.  
  2325.           How to register on-line with CompuServe:
  2326.                To register a copy of The Complete Morph on-line, just log
  2327.                onto CompuServe and "GO SWREG".  Once in the forum, you'll
  2328.                have a short menu.  Select the option labeled "Register
  2329.                Software".  The Registration ID is #1629.  The fee is $38.00
  2330.                (inculdes S&H).
  2331.  
  2332.           Where to purchase CMorph Pro! (Commercial/German Language):
  2333.                Pearl Agency
  2334.                Am Kalischacht 4
  2335.                79426 Buggingen
  2336.                Germany
  2337.  
  2338.                Tel: 07361 360 200
  2339.                Fax: 07361 360 444
  2340.  
  2341.  
  2342.  
  2343.  
  2344.  
  2345.  
  2346.  
  2347.  
  2348.  
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358.  
  2359.  
  2360.  
  2361.  
  2362.  
  2363.  
  2364.  
  2365.  
  2366.  
  2367.  
  2368.  
  2369.  
  2370.  
  2371.  
  2372.  
  2373.                                        Page 38
  2374.  
  2375.