home *** CD-ROM | disk | FTP | other *** search
/ No Fragments Archive 10: Diskmags / nf_archive_10.iso / MAGS / STOSSER / STOSSE06.MSA / ISSUE_6 / 9.PNE < prev   
Text File  |  1987-04-22  |  6KB  |  147 lines

  1.  
  2. Due to the changes in involvement with STOSSER last month STOS 3-D didn't 
  3. make last months issue in time.   But fret no more, because this month we 
  4. have combined both part two and three into one,  so you'll be back up  to 
  5. date again.  WON'T YOU!!!!.
  6.  
  7.  
  8.  
  9. STOS 3-D     PART 2              By Matthew Green.
  10.  
  11. This month we start using the Object Modeller that comes with STOS 3-D
  12. Once you have loaded the program you are faced with a screen which has
  13. a menu at the bottom and at the top yuo have the basic shapes that you
  14. can work with.
  15.  
  16. If you click the left mouse button while you are on the black
  17. background a white window should appear. If you click around the screen 
  18. you should find 7 windows. Two main ones which are used for 
  19. editing and 5 small ones which you use for storing objects in.
  20.  
  21. Well to begin select the one of the cube that you can see at the top,
  22. a square should apear around it. Then if you select a editing window
  23. to tell it where to copy to. Nothing happen... well you still have to
  24. select 'copy' fuction, this is select by the button which has two 
  25. squares on it joind by an arrow.(second one from the left at the top
  26. of the controll panel)
  27.  
  28. There you should now have a cube infront of you. if not start again...
  29. Now you can rotate and move this by using the buttons that are above
  30. the word 'STOS 3D'...See it.. good... The arrows move the object and
  31. the botton with two circles on it rotates it round it's axes. try it..
  32.  
  33. Don't foget to move the mouse to controll the rotation
  34. You have to keep clicking on the arrows to move the object unless you
  35. use the right mouse botton which then mouse the object when you move 
  36. the mouse.
  37.  
  38. Some of the buttons have a different function when the right button is
  39. used so watch out...
  40.  
  41. To change the shape of the object there are a number of ways you can 
  42. do this. If you want to change just one part of a block you use the
  43. buttons left of the panel.(next to the long arrow go up and down)
  44.  
  45. If you want to change all the object at once you use the buttons on
  46. the right of the panel. Before you can use these functions you must
  47. click on the + button that is there. This should make small dots 
  48. appear on the object. You can now enlarge or decrease the object size.
  49.  
  50.  
  51. Some of these functions need either a face selected or other parts of
  52. the object. You select a face by click on one of the buttons which are
  53. to the left of the large '!'. The top button selects a block, next 
  54. selects a face, next selects a line and the last one selects a point.
  55.  
  56. When you have any of these selected you can move what you have 
  57. selected by using the long arrow next to these buttons. You need to 
  58. hold the mouse button down and then move the mouse, you should now see
  59. something moving on the object. 
  60.  
  61. The buttons along the top of the panel are just some basic functions.
  62. If you just click a bit if soon find out.
  63.  
  64. Remember to keep saving every so often in case you loose you work!!!
  65.  
  66. I won't go into the surface detail because it would take to long.
  67. We won't need it any way for what we will do...
  68.  
  69.  
  70. This has not been a very detailed lesson on how to use O.M but 
  71. maybe it has helped someone...
  72.  
  73. Next month we will start programming something is STOS. Which will
  74. show you how to use STOS 3D to it's limits...( well nearly)
  75.  
  76. Well until next time...
  77. Keep Trying!!!
  78.  
  79. STOS 3D                       Part 3                    Matthew Green.
  80.  
  81. In the last lesson I just went over the basics of using the
  82. Object Modeller and hopfully you may have learnt somthing
  83. You must rember that when you save an object you must have
  84. the front of it pointing away so it knows which is the front...
  85.  
  86. This time we will be looking at how to display the objects on 
  87. the screen. If you allready know how to go read somthing else!!
  88.  
  89. I have included a small program which lets you display objects
  90. on the screen. This is the program that I start with when i 
  91. write a program.
  92.  
  93. Here is the list of it to see now....
  94.  
  95.  
  96. 10 rem A BASIC LOOP PROGRAM
  97. 20 rem
  98. 30 key off : curs off : hide on : mode 0
  99. 40 td init 50000
  100. 50 td load "disc"
  101. 60 td object 1,"disc",0,0,1000,0,5000,-4000
  102. 70 palette 0,$777,0,0,0,0,0,0,0,$777,$7,$777
  103. 80 logic=back
  104. 90 repeat 
  105. 100 rem - Move your objects here
  106. 130 td cls logic
  107. 140 td redraw logic
  108. 150 rem - You can draw on top of the 3D objects here
  109. 160 screen swap : wait vbl 
  110. 170 until false
  111.  
  112.  
  113. When you run the program make sure you have the Installtion 
  114. Disc in..
  115.  
  116. You can load differnet objects by changing the name in the program
  117. to an objects name in the object dierctory.
  118.  
  119. In the program you will see that It uses the screen swap to make all
  120. the objects smoother when they are all moving.  The command you
  121. must rember to put in is TD REDRAW logic,, this will redraw all the
  122. bojects in there new postions. So you have to have this after you 
  123. have used all the move commands.
  124.  
  125. You should now have a picture of a disc infront of you.......
  126. If you add these next lines it will make the object rotate.
  127.  
  128. 110     TD ANGLE 1,A,B,C
  129. 120      A=A+1000
  130.  
  131. There that is how easy it is....
  132. You can rotate in other directions by adding on B or C.....
  133.  
  134. Try replacing the TD ANGLE with TD MOVE ,,,, but don't add so much
  135. to A.!!
  136.  
  137. As you can see it is very easy to move objects around just like moving 
  138. sprites around.   But remeber that it is much easyer to lose objects in such
  139. a large area so you could try using the TD FACE  command...
  140.  
  141. Well that should leave you with somthing to do any way....
  142.  
  143. Next time I will go through some more commands and what they do
  144.  
  145.  
  146. THE END......
  147.