home *** CD-ROM | disk | FTP | other *** search
/ Supremacy 2 / Supremacy-2.iso / Pompey / PP_030.MSA / MANUAL / MAN_34 < prev    next >
Text File  |  1989-04-11  |  5KB  |  133 lines

  1.         Creating a 3D Object #2
  2.  
  3.     Before starting this tutorial
  4. itself, it is vital to explain the
  5. principles and basic ideas which govern
  6. the use of the 3D system offered by
  7. Canvas. Firstly, it is important to
  8. recognize that the objects are made up
  9. of individual lines, which, when
  10. separate, have no solid form, but when
  11. placed in a formation create a 3
  12. dimensional image.
  13.     Solid objects cannot be created.
  14. The only way of creating these is to
  15. plot an object (wire frame) and draw in
  16. the edges (using the user-defined
  17. polygon mode for instance) - also see
  18. tutorial #3.
  19.     The object editor is known as the
  20. 3D Construction Studio and is capable
  21. of storing 8 objects at once, each
  22. containing up to 256 separate lines.
  23. This number of lines should be easily
  24. adequate for any object you want. Each
  25. of these lines consists of 2 points
  26. (the Start and End, of course). The
  27. editor is based on a 1st angle
  28. orthographic projection. Sounds
  29. gruesome eh?  It simply means that you
  30. edit the lines on 3 planes (x,y and z)
  31. using an Above, End and Side view.
  32.  
  33.           Creating a 3D Cube
  34.  
  35.     We'll take a cuboid shape to use in
  36. this example. Consider the shape of a
  37. cube - it has 12 edges so we will need
  38. 12 lines eventually. It also consists
  39. of 6 faces. Since the 3D editor is not
  40. POLYGON-BASED, we must ignore the sides
  41. themselves and just think of the cube
  42. as a formation of 12 lines.
  43.     1) Fortunately, the editor offers
  44. the possibility of setting up a
  45. formation of lines which form a
  46. polygon. Set the Poly Sides Infobar to
  47. 4 (each side has 4 lines). Now press
  48. the Add Poly button and select a
  49. square(ish) shape - it will appear more
  50. like a diamond, but never mind!
  51.     2) Select Y as the Axis and use the
  52. <Shift< button to shift the shape up on
  53. the Y Axis until the height (Y) of it
  54. (look at the co-ords at the bottom) is
  55. the same as the biggest Z value.
  56.     3) Now go onto another object (use
  57. the 1 to 8 selector). If there are
  58. already lines in it, use the Clear Obj
  59. button to erase them. Now Select the
  60. object number of the object where you
  61. drew the diamond, on the Add Obj
  62. Infobar and then click the Add Obj
  63. button. Click Yes on the Alert box. The
  64. diamond should appear on the current
  65. edit windows.
  66.     4) Use >Shift> to shift the diamond
  67. on the Y Axis again, but the other way,
  68. so that it is opposite the centre from
  69. where it was before.
  70.     5) Again click the Add Obj button
  71. without changing the Infobar value. You
  72. should now have two diamonds at
  73. different heights and a total of 8
  74. lines in existance.
  75.     6) Keep increasing the number in
  76. the Line Infobar until you find a line
  77. which does not exist (a cross at the
  78. bottom right of the screen means that
  79. it doesn't exist and a tick means that
  80. it does). The value should be 8.
  81.     7) Click on the Add Line button to
  82. bring Line 8 into existance. A dot will
  83. appear in the centre of the edit
  84. windows. Note that both ends of the
  85. line are at 0,0,0  0,0,0. Click on the
  86. edit windows to move the ends of the
  87. lines. To change which end of the line
  88. you edit, use the S/E (Start/End)
  89. Selector in the bottom left. You will
  90. find it very difficult to position the
  91. ends of the lines in the right places.
  92. To help you, you must switch on the Fix
  93. button. Now, if you click on the Edit
  94. windows, the point will be placed at
  95. the nearest point already in existance
  96. to the place where you clicked (think
  97. about it!). So, if you click near one
  98. of the corners of a diamond, that point
  99. will be placed at that corner - no
  100. messing around trying to be
  101. mega-accurate!
  102.     8) Create another 3 lines and place
  103. them vertically between the 4
  104. corresponding vertical pairs of point
  105. on the 2 diamonds.
  106.     9) Now check that there are 12
  107. lines in existance (see value in bottom
  108. right), and that the object in the edit
  109. windows looks about right - it may be a
  110. little hard to visualize, but there
  111. should not be any diagonal lines except
  112. for 4 on the Above view. If there are,
  113. something has been done wrong. Go
  114. through the lines using the Line
  115. Infobar until the suspect line appears
  116. in a different colour to the rest -
  117. lo-res only. Change the line's position
  118. so that it is correct.
  119.     10) Now that you have the cube,
  120. click on the View Obj button to enter
  121. the Viewing Studio. You will see in the
  122. centre of the viewing window the cube.
  123. Rotate and move it about until you are
  124. happy about it and then press Plot to
  125. place it onto the current work screen.
  126.  
  127.     Phew!! That was quite a 'tuffie' to
  128. explain!  If you can't visualize an
  129. object on the edit windows then load in
  130. the "EXAMPLE.3D" file (in the "_THREE_D"
  131. folder) and look through the objects in
  132. that.
  133.