home *** CD-ROM | disk | FTP | other *** search
/ Der Mediaplex Sampler - Die 6 von Plex / 6_v_plex.zip / 6_v_plex / DISK2 / MULTI_04 / FNT2PO.ZIP / FNT2POV1.DOC < prev   
Text File  |  1992-09-01  |  2KB  |  46 lines

  1.  
  2.      This program converts .FNT and .SET character set files into .INC
  3.     files.  Each character is generated as a DECLAREd OBJECT. Included is
  4.     the font file format description.  I recommend bounding your text
  5.     strings if there are many characters per phrase.
  6.  
  7.      To quote a buddy on user code modifications "You break it, you own
  8.     both halves".  If you make any enhancements, please add your notes to
  9.     this document (and please send a copy back to me via BBS).
  10.  
  11.     I can be reached at YOU CAN CALL ME RAY RBBS (708) 358-5611.
  12.  
  13.             "Its my world and you're welcome to it".
  14.                         Ken Koehler (8-28-92)
  15.                         CIS 72740,1161
  16.  
  17.  
  18. Usage:    FNT2POV1 [-123] filename[.fnt]       Enclosed are the following files:
  19.        -0 = Generate pixels as Spheres         FNT2POV1.BAS    QuickBASIC source
  20.        -1 = Generate pixels as Squares         FNT2POV1.DOC    This File
  21.        -2 = Generate pixels as Dots         FONTDESC.DOC    Font file format
  22.        -3 = Generate pixels as Boxes
  23.  
  24.  
  25.  
  26.      Applications notes:  Each character generated (regardless of
  27.     original resolution) is scaled to 10 units high.  This allows easy
  28.     interchange of fonts in a scene.  For example, you want to render fancy
  29.     hi-res 3D (boxes) CYBER text on a desert floor.  Use lo-res roman
  30.     spheres to make sure the placing is right.    If so, switch out the
  31.     DECLAREs and render the final version. Note that the component shapes
  32.     themselves (eg. spheres) will be smaller using high resolution fonts.
  33.  
  34.      The origin of the character is at its lower left, going toward the
  35.     positive X and Y.  The Z is in the center of the OBJECT.  Both the
  36.     spheres and boxes extend .5 in +Z and -Z RELATIVE TO THE ORIGINAL
  37.     RESOLUTION.  For example, a character 12 bits high will actually end up
  38.     (10/12)=0.83333 thick, therefore 0.41667 in the +Z and -Z.    This is
  39.     inconsistant due to the fact that you can't (wouldn't want to
  40.     anyway=gooney looking) scale a sphere unevenly.  At least spheres and
  41.     boxes of like resolution are consistant with each other (BFD).  If you
  42.     don't like this with the spheres, go stretch a 'dot' (they are currently
  43.     0.01 thick).  If you don't like this in boxes, scale them out manually
  44.     (or adjust the code).  Just remember that QUADRIC spheres are more
  45.     expensive than the hardcoded spheres.
  46.