home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 1 / ARM_CLUB_CD.iso / contents / apps / maths / progs / 3dmatrix / Doc / !Manual / Manual < prev   
Encoding:
Text File  |  1993-04-06  |  4.0 KB  |  126 lines

  1.         
  2.           **   **    ***    **   **  **   **    ***    **
  3.           *** ***   ** **   ***  **  **   **   ** **   **
  4.           ** * **  *******  ** * **  **   **  *******  **
  5.           **   **  **   **  **  ***   *****   **   **  ******
  6.  
  7.                              !3DMatrix
  8.                                 by
  9.                        © Atle Mjelde Bårdholt
  10.                             Last Update
  11.                                 on
  12.                               Manual
  13.                          <6-Apr-93 v1.12>
  14.  
  15.               *****  **  **    **     ******  ******
  16.               **     **  **   ** **   **  **  **
  17.               ****   ******  **   **  *****   ****    ******
  18.                 **   **  **  *******  ** **   **
  19.              *****   **  **  **   **  **  **  ******   
  20.              
  21.               **    **    **     ******  ******
  22.               **    **   ** **   **  **  **
  23.               **    **  **   **  *****   ****
  24.               ** ** **  *******  ** **   **
  25.                **  **   **   **  **  **  ******
  26.  
  27.                         For the RISC family
  28.                          Acorn Archimedes
  29.                           & Axxxx series
  30.  
  31. --------------------------------------------------------------------------------
  32.  
  33. User keys are :
  34. ™™™™™™™™™™™™™™™
  35.  
  36.                     <SPACE>  : To select new file/object to load
  37.  
  38.                         <A>  : Automatic movement of object on
  39.                         <Z>  : Turn <A> off
  40.  
  41.                         <C>  : Select colours for object (If defined)
  42.                         <V>  : Turn <C> off
  43.  
  44.                         <Q>  : Quit the program
  45.  
  46.                         <S>  : Save screen.
  47.  
  48.                        <F1>  : Enter full-screen mode
  49.                        <F2>  : Back to menu-screen mode
  50.  
  51.                        <F5>  : Start music
  52.                        <F6>  : Stop music
  53.                     -----------------------------------------------
  54.                         <O>  : Cache off       <  Only for
  55.                         <P>  : Cache on        <  ARM3 users
  56.  
  57.  ----- ----- ----- -----
  58.  | 7 | | 8 | | 9 | | + |   7 : rotate +10° round the x-axis (roll)
  59.  ----- ----- ----- -----   4 : rotate -10° round the x-axis (roll)
  60.  ----- ----- ----- -----   8 : rotate +10° round the y-axis (pitch)
  61.  | 4 | | 5 | | 6 | | - |   5 : rotate -10° round the y-axis (pitch)
  62.  ----- ----- ----- -----   9 : rotate +10° round the z-axis (yaw)
  63.                            6 : rotate -10° round the z-axis (yaw)
  64.     Ref. draw file         + : zoom object out
  65.          "Keys"            - : zoom object in
  66.  
  67.  
  68.  
  69. Filtype for 3D_Data files :
  70. ™™™™™™™™™™™™™™™™™™™™™™™™™™™
  71.  
  72. The filtype (currently) used for the 3D_Data files are &A1B.
  73. Use the stamp option and stamp your files with "A1B" or "3D_Data".
  74.  
  75. ///////////////////////////////////
  76. HOW TO MAKE YOUR OWN 3D DATA FILES.
  77. \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  78.  
  79. To create such a file, it is best to draw up an XYZ diagram seen in Fig_1.
  80. ( See the draw file Fig_1 )
  81. Then draw up your object. Find all coordinates of the points ( Fig_2 )
  82. ( See the draw file Fig_2 )
  83. for the object, and make up a table for it :
  84.  
  85.        X    Y    Z
  86. 1:     0    0     0
  87. 2:     0    2.5   0            
  88. 3:     2.5  0     0            
  89. 4:     0    0     2.5
  90.  
  91. Then we now that we have 4 points.
  92.  
  93. The next thing to do is to make a table for the lines.
  94. We always starts at point 1 (0,0,0).     0 = no colour, 1-256 = colour.
  95.  
  96. At point 1 to 1 :   1    0
  97. At point 1 to 2 :   2    1  = draw a line
  98. At point 2 to 3 :   3    1  = draw a line
  99. At point 3 to 1 :   1    1  = draw a line
  100. At point 1 to 4 :   4    1  = draw a line
  101. At point 4 to 2 :   2    1  = draw a line
  102. At point 2 to 3 :   3    0
  103. At point 3 to 4 :   4    1 = draw a line
  104.  
  105. This tells us that we have to use 8 move/draw lines to make up the object for a triangle. After creating the tables, you must test the file and maybe
  106. alter the numbers of tha XYZ points with the same factor! to get a better control in the program.  GOOD LUCK !!
  107.  
  108. This gives us the following data :
  109.  
  110. 4
  111. 0   0   0
  112. 0   2.5 0
  113. 2.5 0   0
  114. 0   0   2.5
  115. 8
  116. 1  0
  117. 2  1
  118. 3  1
  119. 1  1
  120. 4  1
  121. 2  1
  122. 3  0
  123. 4  1
  124.  
  125. Compare this with the data in the "TRIANG" file.
  126.