home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 300-399 / ff384.lzh / NorthC / Example1.LZH / cRender / CRender.doc < prev    next >
Text File  |  1990-08-30  |  2KB  |  55 lines

  1.   (c) 1990 S.Hawtin.
  2.   Permission is granted to copy this file provided
  3.    1) It is not used for commercial gain
  4.    2) This notice is included in all copies
  5.    3) Altered copies are marked as such
  6.  
  7.   No liability is accepted for the contents of the file.
  8.  
  9.  
  10. CRender: Example program in NorthC 1.2
  11.  
  12.   This directory contains a simple three-dimensional rendering program, 
  13. the subdirectory "objects" contains the description files for a set of 
  14. objects the program "CRender" displays them.
  15.  
  16. NOTE  To make the program in this directory you will have to have a set of 
  17. Amiga include files.  See the documentation on the other disk for how to 
  18. get hold of them.
  19.  
  20.   To display the object pass it as an argument to the "CRender" program, 
  21. for example to display the "cube" object you should type
  22.  
  23.     CRender objects/cube.dat
  24.  
  25. after a short delay the program will start to slowly spin the object on 
  26. the screen.
  27.  
  28.   The set of objects that have been created so far are
  29.  
  30.     ball.dat
  31.     tetra.dat
  32.     oct.dat
  33.     boat.dat
  34.     cube.dat
  35.     try.dat
  36.  
  37. the only complex one is "boat.dat", notice that the pattern on the sail 
  38. looks different from each side.
  39.  
  40.   The program uses a simple requester to control the view of the object, 
  41. and uses matrix manipulation to display the solid object.
  42.  
  43.   This program is provided as an example of a non trivial program to steal 
  44. ideas from, as such I have attempted to provide more documentation than 
  45. would otherwise be the case.  The documentation outlines the theory behind 
  46. the program rather than the fine details, those can be obtained from a 
  47. study of the code.
  48.  
  49.   There are two documentation files
  50.  
  51.     Makefile.doc - the Makefile
  52.     render.doc   - the render.c file
  53.     aif.doc      - the aif.c file
  54.  
  55. if you think I cannot count you have not read "aif.doc".