home *** CD-ROM | disk | FTP | other *** search
/ Acorn User: China / Acorn User China CD-ROM (UK) (Disc B) / Acorn User China CD-ROM (UK) (Disc B).bin / WEBSITES / FORTRAN_FRIENDS / PDRAW.ZIP / ReadMe
Encoding:
Text File  |  1999-02-06  |  13.1 KB  |  317 lines

  1.                      !PolyDraw (Demo Version)
  2.   'Fortran Friends', P.O.Box 64, Didcot, Oxon, OX11  0TH
  3.               telephone:  +44  (0)  1235  834357
  4.  
  5. Introduction
  6.     !PolyDraw is an interactive program which displays a polyhedron in 2
  7. forms, a 3D solid and a planar net from prestored datafiles.   The full
  8. version allows you to save Draw files of the 3D solids and planar nets; you
  9. cannot save any files with this demo version and can only use the supplied
  10. datafiles.
  11.  
  12. Machine and operating system requirements: Any Acorn computers using RISC-OS
  13. operating systems: 3.XX, including networks and StrongARM.
  14.  
  15. Copyright and copying: 
  16. This program remains the copyright of 'Fortran Friends'; this demo version
  17. is given to you on the understanding that if you give a copy to anyone else
  18. you will copy all the files, unchanged, including this one.
  19.  
  20. To get the Full Version:
  21.  
  22.  Send a cheque for £20 payable to 'Fortran Friends' at the address above. 
  23.  
  24.   With the full version you can:
  25.  
  26.   1. Save diagrams as 'Drawfiles' or to !Draw for printing and combining
  27.      with others.
  28.   2. Use more datafiles: 140 are included in the distribution.
  29.   3. Use your own new datafiles.
  30.   4. Read more documentaion (see contents of full version directory Docs
  31.      below)
  32.   5. Send us suggestions for improvements and report problems which we will
  33.       try to correct.
  34.  
  35. --------------------------------------------------------------------
  36.                       Contents of the !PolyDraw Demo Disc
  37.                        
  38. Top level directory
  39.  
  40.   !PolyDraw demonstration application
  41.   Products - software available from Fortran Friends
  42.   Calend99 - a dodecahedron for you to make into a 3D model calendar for 1999
  43.   ReadMe (This file)
  44.  
  45.   Within the !PolyDraw application, in addition to the usual files, 
  46.    there are the following sub-directories:
  47.    'DatX' containing the 20 example data files acceptable to this
  48.           demonstraion version
  49.    'Docs' with two examples and a 'Glossary' of terms
  50.    'PolyLists' with the only acceptable index of polyhedra
  51.    'Resources' with files used by the program
  52.        
  53. The rest of this file is the 'ReadMe' from the full version.
  54.  
  55. **************************************************************************
  56.           ReadMe for  !PolyDraw 
  57.            updated 25 July 1998
  58.  
  59. Introduction
  60.  !PolyDraw is an interactive program which displays a polyhedron
  61. in two forms, as a 3D solid and as a planar net, from prestored data files.
  62. It is written in the Fortran programming language by:
  63.  
  64.  'Fortran Friends', P.O.Box 64, Didcot, Oxon OX11 0TH
  65.  
  66.    tel: (01235) 834357
  67.  
  68. Machine and operating system requirements: 
  69.  
  70. Any Acorn computers using RISC-OS operating systems 3.XX, including networks
  71. and StrongARM.
  72.  
  73. Copyright and copying:
  74.  
  75. Further details can be found in the file Docs.CopyRight.
  76. This program remains the copyright of 'Fortran Friends': it is licensed to
  77. you for single use only; you may copy it to a backup floppy disc or to your
  78. own hard disk but giving copies to others is illegal.   Your registration
  79. number is unique; any illegal copies found will be reported to the
  80. 'Federation Against Software Theft' and you will be liable for prosecution. 
  81.  
  82. Getting Started:
  83.  
  84. These instructions assume some knowledge of how to use an Acorn computer. 
  85. If you are a new user, more detailed instructions on how to copy files, use
  86. the windows and the mouse can be found in the 'User Guide' manual for your
  87. computer system. !PolyDraw is a RISC-OS compliant program which runs in the
  88. Acorn Desktop and tries to conform to the operating conventions in the Acorn
  89. Style guide; it supports Acorn interactive help.
  90.  
  91. Fortran Friends welcome comments and requests for new features for future
  92. versions of this program. 
  93.  
  94. --------------------------------------------------------------------
  95.                       Contents of the !PolyDraw Disc
  96.  
  97. This section is for reference only, you may never need to use it if you just
  98. want to use the supplied data files, plot them in various ways and save the
  99. diagrams as Draw files. All Draw files on the distribution disc have been
  100. compressed using the standard 'Squash' program.
  101.  
  102. Top level directory
  103.  
  104.   !PolyDraw application
  105.   Docs directory of useful information (see below)
  106.   POVsprite squashed sprite example of a ray traced dodecahedron
  107.   Products - software available from Fortran Friends
  108.   ReadMe (This file)
  109.   TryThese directory of suggested activities (see below)
  110.  
  111. Skip to the section headed 'Installation' if this is the first time you have 
  112. looked at this file, and you are not interested in technicalities.
  113.  
  114.    Within the !PolyDraw application, in addition to the usual files, 
  115.    there are several directories, (listed below in alphabetical order of
  116.    directory name):
  117.  
  118.   Directories Dat*
  119.    These contain files of polyhedron data  (see Docs.DataDirs for details)
  120.  
  121.   Directory 'PolyLists' contains the files which make your list of
  122.     possible polyhedra to plot. Each file has the reference number
  123.     of the 'Dat' directory, the file name, the polyhedron name and
  124.     information used by the 'select' window if you want to restrict
  125.     the number of possible polyhedra to plot.
  126.  
  127.     'PolyList' lists polyhedra separated into types separated by headings
  128.  
  129.   Directory 'Resources'
  130.     In addition to the usual Acorn files, Messages and Templates,
  131.     there are several other files, which the program may change for you,
  132.     but which most users need not bother with.
  133.  
  134.     'Choices' defines the initial settings and filenames to be read,
  135.               for example as the initial 'Polylist'.
  136.     'Colours' defines all the colours used initially. The program can
  137.               change this file if the user changes the colours and then
  138.               asks to save the 'Colours' file before quitting the program.
  139.     'DefCols' this is the default 'Colours' file, initially it is the same
  140.               as 'Colours'. To reset an updated 'Colours' file to the
  141.               original colours, manually copy 'DefCols' to 'Colours'.
  142.     'POVdat'  skeleton POVscene file copied to real POVscene.
  143.     'Register'this file contains your name and registration information.
  144.               It must not be changed by the user.
  145.     'ToolSp3D'sprites used in the tools pane of the 3D display window.
  146.  
  147.  
  148.    Outside the !PolyDraw application there are two directories of useful
  149.    information.
  150.  
  151.   Directory 'Docs' contains:
  152.  
  153.    Text files
  154.      BookKits   - WWW URLS, suggested reading, and suppliers of model kits
  155.      CopyRight  - a statement of 'Fortran Friends' copyright
  156.      DataDirs   - a description of the contents of the Data directories
  157.      FaultRep   - a form for you to return if you find any problems
  158.      FormData   - a definition of the format of the data files
  159.      FormOpts   - a definition of format of the Choices and Colours files
  160.                      in directory Resources
  161.      FormPlist  - a definition of format of the Polylist file in PolyLists
  162.      Glossary   - a text file defining terms associated with polyhedra
  163.      NewOnes    - advice on how to add a new polyhedron of your own.
  164.      Versions   - record of the differences between versions of !PolyDraw
  165.      WishList   - current planned enhancements for !PolyDraw
  166.  
  167.     Draw files
  168.      Defn      - a Draw file with an explanatory diagram showing some
  169.                     of the terms used in 'Glossary'
  170.      DrawEx1   - shows the range of display forms which can be saved into
  171.                     a Draw file from !PolyDraw
  172.      Stereo    - an example of a side by side stereo pair, 
  173.                    which can be seen as 3D if you can defocus your eyes
  174.      ToolsExpl - an explanation of the icons in the tools pane
  175.  
  176.   Directory 'TryThese' contains
  177.  
  178.      Activities - some suggested activities for you to try when you
  179.                   get bored with just looking at the polyhedra, 
  180.                   rotating them, and saving them as Draw files and 
  181.                   want to know a bit more about how they are related
  182.                   to one another.
  183.      Answers  - the answers to the questions in 'Activities'
  184.                 (Try not to look at these until after you have
  185.                  tried them for some time yourself!)
  186.      Squashed Draw files - 'Sheetn' and 'Answern' which are part of
  187.      the 'Activities' and answers 
  188.  
  189.       We should be most grateful for suggestions for further activities,
  190.       or copies of new ones to pass on to other users. 
  191.  
  192.       Please send yours to 'Fortran Friends' at the address above.
  193.     
  194.  --------------------------------------------------------------------
  195.  
  196. Installation:
  197.  
  198. 1. Make a working copy on floppy disc. Store the original safely, in case
  199. your working copy becomes damaged. Your license allows you to make a
  200. single copy for your own use. If the disc supplied has been damaged and
  201. will not copy, return it to us for a free replacement within 3 months of
  202. purchase.
  203.  
  204. Use the 'working' copy for the rest of the instructions. You can run from
  205. the floppy if you want to.
  206.  
  207. 2. Installation on hard disc: 
  208. Make yourself a directory for storing your programs, with
  209. a name such as 'Polyhedra' and copy the contents of the floppy disc to it.
  210.  
  211. 3. Read the Documentation. 
  212. Before trying to run the application, look at the file !Help file for
  213. operating instructions, in the sub-directory 'TryThese' for some
  214. suggested activities, and in the sub-directory 'Docs' for a glossary of 
  215. terms and some example Draw files.  You may want to print these out for 
  216. future reference.
  217.  
  218. 4. Operating instructions:
  219. Running instructions are in the file !Help of the application; 
  220. Acorn interactive help is supported.
  221.  
  222. 5. Starting the program:
  223.  
  224. Double-click on the application !PolyDraw to start the program; this loads
  225. an icon on to the icon bar and shows the default list of polyhedra you can
  226. plot. Click MENU when the pointer is over this icon to see the options. 
  227. Choose 'info' to see the program name, version number and your registration
  228. number, which should be quoted in any correspondence with 'Fortran Friends'.
  229. Click SELECT to see the default list of polyhedra you can plot.
  230.  
  231. 6. Stopping the program:
  232.  
  233. Click MENU over the icon on the icon bar and choose the last option, 'quit'.
  234. If windows are hiding the icon bar, press key f12 while holding down the
  235. SHIFT key, to bring the icon bar to the front of the windows.
  236.  
  237. 7. Colour Changing:
  238. You can change the colour used for particular faces of a polyhedron in some
  239. of the display forms. If you try to do this and get an error message saying
  240. 'Colour Picker module is not loaded', then if you have a copy of the Acorn
  241. Colour Picker Module load it using commands as described in the !Run file.
  242. If you have not got this module you can get it off the Acorn User Cover Disc
  243. for September 97 or send a blank disc plus return envelope and postage to
  244. 'Fortran Friends' at the address above.
  245.  
  246. 8. Displaying your own data files:
  247.  
  248. The format of the data files is defined in the file Docs.FormData which
  249. lists all the possible lines of the file. You need not make all the lines,
  250. but the first line must have the string ':name ' as the 1st 6 characters,
  251. and the last line must begin ':end '.  The vertices must be described in
  252. clockwise direction for each face as they are seen from inside the
  253. polyhedron. If they are not, the results are unpredictable, usually, the
  254. face is missing from the 3D plot. 
  255.  
  256. For example:
  257.  
  258. :name my new cube
  259. :comment designed by me on 22 June 97
  260. :solidf 6 4
  261. 4 1 2 3 4 1
  262. 4 4 5 6 1 2
  263. 4 2 1 6 7 7
  264. 4 8 3 2 7 5
  265. 4 8 5 4 3 3
  266. 4 6 5 8 7 4
  267. :solidv 8
  268. 0  0.8 0.58
  269. -0.8 0 0.58
  270. 0 -0.8 0.58
  271. 0.8 0 0.58
  272. 0.8 0 -0.58
  273. 0 0.8 -0.58
  274. -0.8 0  -0.58
  275. 0 -0.8 -0.58
  276. :end
  277.  
  278.  9. POVRay is a freely available ray tracing program.
  279.  
  280. There is a review of POVRay in Archimedes World Vol 14 #11 p60.   
  281. Full details, manual, code (C but not the Acorn specific implementation) 
  282. and many example scenes are available on the Internet at URL: 
  283.  
  284.   http://www.povray.org/nf-index.html
  285.  
  286. The POVscene produced by !PolyDraw requires POVRay version 3 which may be
  287. obtained free from HENSA (a235 and c040 for POVFront), or for small sums
  288. from APDL (B409, 4 discs) and from The Datafile; it is on their CD-ROM PDCD5
  289. in directory Utilities.P. 
  290.  
  291. The POVscene output by !PolyDraw is simple but can be improved by adding
  292. textures, backgrounds etc. 'Fortran Friends' do not offer support for
  293. POVRay.  An example ray-traced image is POVsprite, a small low resolution
  294. squashed sprite of 320 by 240 pixels. 
  295.  
  296. 10. Possible Faults:
  297.  
  298. Error conditions we have thought about have 'traffic sign' windows which
  299. should allow you to choose whether to stop the program or try to carry on.
  300.  
  301. If your working disc is damaged, you may find when you try to start the
  302. program you merely get an 'error window' saying your user registration file
  303. has been corrupted. Delete all the files from your working disc, and make a
  304. new copy from your original disc. 
  305.  
  306. If you find the program stops in an uncontrolled way, please try to write
  307. down details of what you were doing just before the error, and send them to
  308. us, preferably using the fault report form in file !PolyDraw.Docs.FaultRep. 
  309.  
  310. If you have changed any of the !PolyDraw files, or the fault is in reading a
  311. new polyhedron of your own, please check carefully that you have listed the
  312. face vertices in the correct order before contacting us. The usual symptom
  313. of this is that the face with incorrect vertices is not plotted in the 3D
  314. window.  Please supply copies of the files on floppy disc which you were
  315. using when the error occurred.
  316.  
  317.