home *** CD-ROM | disk | FTP | other *** search
/ Ultra Pack / UltraComputing Technology Demos and Tools.iso / solidifier / Models / porsche_clinton.mdl < prev    next >
Encoding:
Text File  |  1995-08-23  |  4.2 KB  |  176 lines

  1. !
  2. ! Created by Alex and Kirk 
  3. !
  4. load_object "../Objects/porsche_with_driver.obj"
  5.  
  6. render.face_dist "windows" = off
  7. markers.marker_color "redlgt" = 0.5 0 0
  8. markers.marker_color "amberlgt" = 0.8 0.55 0.1
  9. markers.marker_color "rubber" = 0.1 0.1 0.1
  10. markers.marker_color "windows" = 0.2 0.2 0.3
  11. markers.marker_color "bottom" = 0.2 0.15 0.1
  12. markers.marker_color "headlgt" = 1 1 1
  13. markers.marker_color "rtires" = 0.1 0.1 0.1
  14. markers.marker_color "rrims" = 0.6 0.6 0.7
  15. markers.marker_color "lftire" = 0.1 0.1 0.1
  16. markers.marker_color "lfrim" = 0.6 0.6 0.7
  17. markers.marker_color "rftire" = 0.1 0.1 0.1
  18. markers.marker_color "rfrim" = 0.6 0.6 0.7
  19. lines.line_color "redlgt" = 0.5 0 0
  20. lines.line_color "amberlgt" = 0.8 0.55 0.1
  21. lines.line_color "rubber" = 0.1 0.1 0.1
  22. lines.line_color "windows" = 0.2 0.2 0.3
  23. lines.line_color "bottom" = 0.2 0.15 0.1
  24. lines.line_color "headlgt" = 1 1 1
  25. lines.line_color "rtires" = 0.1 0.1 0.1
  26. lines.line_color "rrims" = 0.6 0.6 0.7
  27. lines.line_color "lftire" = 0.1 0.1 0.1
  28. lines.line_color "lfrim" = 0.6 0.6 0.7
  29. lines.line_color "rftire" = 0.1 0.1 0.1
  30. lines.line_color "rfrim" = 0.6 0.6 0.7
  31. front_surf.color "body" = 0.9 0 0
  32. front_surf.color "redlgt" = 0.5 0 0
  33. front_surf.color "amberlgt" = 0.8 0.55 0.1
  34. front_surf.color "rubber" = 0.1 0.1 0.1
  35. front_surf.color "windows" = 0.2 0.2 0.3
  36. front_surf.color "bottom" = 0.2 0.15 0.1
  37. front_surf.color "headlgt" = 1 1 1
  38. front_surf.color "rtires" = 0.1 0.1 0.1
  39. front_surf.color "rrims" = 0.6 0.6 0.7
  40. front_surf.color "lftire" = 0.1 0.1 0.1
  41. front_surf.color "lfrim" = 0.6 0.6 0.7
  42. front_surf.color "rftire" = 0.1 0.1 0.1
  43. front_surf.color "rfrim" = 0.6 0.6 0.7
  44. front_surf.light_component "bottom" = ambient diffuse
  45. front_surf.specular "rubber" = 0.49
  46. front_surf.specular "rtires" = 0.25
  47. front_surf.specular "lftire" = 0.25
  48. front_surf.specular "rftire" = 0.25
  49. front_surf.specular_power "rubber" = 12
  50. front_surf.specular_power "rtires" = 8
  51. front_surf.specular_power "lftire" = 8
  52. front_surf.specular_power "rftire" = 8
  53. front_surf.transp_method "windows" = blended
  54. front_surf.transp_blend_eq "windows" = arbitrary_bg
  55. front_surf.transparency "windows" = 0.86
  56.  
  57. lighting.switch[0] = on
  58. lighting.type[0] = ambient
  59. lighting.color[0] = 1 1 1
  60.  
  61. lighting.switch[1] = on
  62. lighting.type[1] = directional
  63. lighting.color[1] = 1 0.8 0.8
  64. lighting.direction[1] = 0.428571 -0.857143 -0.285714
  65.  
  66. lighting.switch[2] = on
  67. lighting.type[2] = directional
  68. lighting.color[2] = 0.8 0.8 1
  69. lighting.direction[2] = -0.801784 -0.267261 -0.534522
  70.  
  71. position.local_matrix =
  72.     1 0 0 0
  73.     0 1 0 0
  74.     0 0 1 0
  75.     0 0 0 1
  76. position.global_matrix =
  77.         1 0 0 0
  78.         0 1 0 0
  79.         0 0 1 0
  80.         0 0 0 1
  81. position.view_matrix =
  82.     0.928 0 0 0
  83.     0 1 0 0
  84.     0 0 0.2 -0.25
  85.     0 0 0 1
  86. draw
  87.  
  88.  
  89. part.deselect_all
  90. part.select plain
  91. draw
  92.  
  93. load_texture "../Images/FACE/ClintonHead2.im24"
  94.  
  95. texture.approx = num_seg
  96. texture.subseg = 100
  97. texture.status = image
  98. texture.tau_func = 47 
  99. texture.binding
  100. texture.update
  101. draw
  102.  
  103. part.select_all
  104. draw
  105.  
  106. loop 30
  107.         position.global_z_translate = 0.02
  108.  
  109.         draw
  110. end_loop
  111.  
  112. loop 10
  113.  
  114.         position.local_x_rotate = 3.0
  115.         position.local_y_rotate = 3.0
  116.         position.local_z_rotate = 0.0
  117.         draw
  118. end_loop
  119.  
  120. loop 10
  121.         position.local_x_rotate = -3.0
  122.         position.local_y_rotate = -3.0
  123.         position.local_z_rotate =  0.0
  124.         draw
  125. end_loop
  126.  
  127. loop 30
  128.         position.global_z_translate = -0.02
  129.         position.global_y_translate = 0.0
  130.         position.local_x_rotate = 0.0
  131.         position.local_y_rotate = -6.0
  132.         draw
  133. end_loop
  134.  
  135. loop 30
  136.         position.global_y_translate = -0.02
  137.         draw
  138. end_loop
  139.  
  140. loop 30
  141.         position.global_z_translate = 0.02
  142.         position.global_y_translate = 0.0
  143.         position.local_x_rotate = 0.0
  144.         position.local_y_rotate = 6.0
  145.         draw
  146. end_loop
  147.  
  148. loop 30
  149.         position.global_x_translate = 0.08
  150.         draw
  151. end_loop
  152.  
  153. loop 30  
  154.         position.global_x_translate = -0.08
  155.         draw
  156. end_loop
  157.  
  158. loop 15
  159.     position.global_z_translate = -0.02
  160.         draw
  161. end_loop 
  162.  
  163. loop 15 
  164.         position.global_z_translate = -0.02
  165.         position.global_y_translate = 0.0
  166.         position.local_x_rotate = 0.0
  167.         position.local_y_rotate = -6.0
  168.         draw
  169. end_loop
  170.  
  171. loop 30
  172.         position.global_z_translate = 0.04
  173.         draw
  174. end_loop
  175.  
  176.