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

  1. load_object "../Objects/abdomen.obj"
  2.  
  3.  
  4.  
  5. render.prim_type = solid
  6. render.face_culling = off
  7. render.face_dist = off
  8. render.raster_op = copy
  9. render.hlhsr_mode = on
  10. render.threshold = 100
  11. markers.marker_type = dot
  12. markers.marker_color = 0 1 0
  13. markers.antialiasing = off
  14. markers.scale_factor = 10
  15. markers.color_selector = context
  16. lines.line_color = 0 1 0
  17. lines.antialiasing = off
  18. lines.line_width = 1
  19. lines.endpoint_style = butt
  20. lines.join_style = miter
  21. lines.miter_limit = 2
  22. lines.line_style = solid
  23. lines.line_pattern = dotted
  24. lines.alt_line_color = 1 1 1
  25. lines.color_selector = context
  26. lines.color_interp = off
  27. front_surf.color = 1 1 1
  28. front_surf.fill_style = solid
  29. front_surf.stipple_pattern = horizontal
  30. front_surf.color_selector = context
  31. front_surf.illum = per_vertex
  32. front_surf.light_component = ambient diffuse specular
  33. front_surf.ambient = 0.2
  34. front_surf.diffuse = 0.8
  35. front_surf.specular = 1
  36. front_surf.specular_color = 1 1 1
  37. front_surf.specular_power = 20
  38. front_surf.transp_method = none
  39. front_surf.transp_blend_eq = none
  40. front_surf.transparency = 0
  41. back_surf.color = 1 1 1
  42. back_surf.fill_style = solid
  43. back_surf.stipple_pattern = horizontal
  44. back_surf.color_selector = context
  45. back_surf.illum = per_vertex
  46. back_surf.light_component = ambient diffuse specular
  47. back_surf.ambient = 0.2
  48. back_surf.diffuse = 0.8
  49. back_surf.specular = 1
  50. back_surf.specular_color = 1 1 1
  51. back_surf.specular_power = 20
  52. edges.show_edges = off
  53. edges.edge_color = 0 0 0.5
  54. edges.antialiasing = off
  55. edges.edge_width = 1
  56. edges.edge_style = solid
  57. edges.edge_pattern = dotted
  58. edges.alt_edge_color = 1 1 1
  59. edges.silhouette = off
  60. nurbs.approx_method = const_param_subdiv_between_knots
  61. nurbs.approx_val_u = 5
  62. nurbs.approx_val_v = 5
  63. nurbs.param_style =
  64. nurbs.iso_curve_placement = between_knots
  65. nurbs.iso_curves_u = 2
  66. nurbs.iso_curves_v = 2
  67. picking.picking = off
  68. picking.part_highlight_color = 1 0.2 0.5
  69. picking.facet_highlight_color = 0.2 1 0.5
  70. picking.pick_aperture = 1
  71. depth_cue.mode = none
  72. depth_cue.color = 0 0 0
  73. depth_cue.front_ref_plane = 0.2
  74. depth_cue.back_ref_plane = -0.2
  75. depth_cue.max_scale = 1
  76. depth_cue.min_scale = 0.1
  77. texture.switch = off
  78. texture.method = none 
  79. texture.approx = num_seg
  80. texture.subseg = 1
  81. texture.pixel_tol = 10
  82. model_clipping.num_planes = 0
  83. annotation.show = off
  84. annotation.antialiasing = off
  85. annotation.char_height = 0.05
  86. annotation.slant_angle = 0
  87. annotation.color = 0 1 0
  88. annotation.style = line
  89. annotation.pointer_length = 1
  90. annotation.horiz_alignment = center
  91. annotation.vert_alignment = cap
  92. annotation.text_path = right
  93. global.background_color = 0 0 0
  94. global.deferral_mode = asti
  95. global.double_buffered = on
  96. global.stereo_mode = off
  97. motion.num_frames = 5
  98. motion.global_x_rotate = 0
  99. motion.global_y_rotate = 0
  100. motion.global_z_rotate = 0
  101. motion.local_x_rotate = 0
  102. motion.local_y_rotate = 0
  103. motion.local_z_rotate = 0
  104. view.center_x = 0
  105. view.center_y = 0
  106. view.center_z = 0
  107. view.object_center = use_slider
  108. view.object_scale = full_screen
  109. view.view_scale = 1
  110. view.z_clip_scale = 0.26
  111. view.perspective = 0.25
  112. env.floor = none
  113. env.floor_color = 0.2 0.2 0.2
  114. env.floor_prim_type = solid
  115. env.floor_position = 0
  116. env.shadow = off
  117. env.shadow_darkness = 0.15
  118. position.local_x_translate = 0
  119. position.local_y_translate = 0
  120. position.local_z_translate = 0
  121. position.local_x_rotate = 0
  122. position.local_y_rotate = 0
  123. position.local_z_rotate = 0
  124. position.global_x_translate = 0
  125. position.global_y_translate = 0
  126. position.global_z_translate = 0
  127. position.global_x_rotate = 0
  128. position.global_y_rotate = 0
  129. position.global_z_rotate = 0
  130.  
  131. render.prim_type "spleen" = solid
  132. front_surf.color "bone" = 0.8 0.8 0.5
  133. front_surf.color "kidneysmall" = 0.54 0.26 0.12
  134. front_surf.color "liver" = 0.8 0.7 0.6
  135. front_surf.color "spleen" = 0.8667 0.6275 0.8667
  136. front_surf.color "tumor" = 0.2 1 0.2
  137. front_surf.color "vessels" = 1 0.3 0.3
  138. front_surf.color "spl_logo" = 1 0 0
  139. front_surf.fill_style "spleen" = solid
  140. front_surf.light_component "bone" = diffuse specular
  141. front_surf.light_component "kidneysmall" = diffuse
  142. front_surf.light_component "liver" = ambient diffuse specular
  143. front_surf.light_component "spleen" = diffuse specular
  144. front_surf.light_component "spl_logo" = diffuse specular
  145. front_surf.ambient "bone" = 0
  146. front_surf.ambient "kidneysmall" = 0
  147. front_surf.ambient "liver" = 0
  148. front_surf.ambient "spleen" = 0
  149. front_surf.ambient "tumor" = 0
  150. front_surf.ambient "spl_logo" = 0.7
  151. front_surf.diffuse "liver" = 0.13
  152. front_surf.diffuse "spleen" = 0.61
  153. front_surf.specular "spleen" = 0.38
  154. front_surf.specular "tumor" = 0.49
  155. front_surf.specular_color "bone" = 0.6 1 0.6
  156. front_surf.specular_color "liver" = 0.7 1 0.5
  157. front_surf.specular_power "bone" = 15
  158. front_surf.specular_power "liver" = 10
  159. front_surf.transp_method "liver" = blended
  160. front_surf.transp_method "skin" = blended
  161. front_surf.transp_method "spl_logo" = blended
  162. front_surf.transp_blend_eq "liver" = constant_bg
  163. front_surf.transp_blend_eq "skin" = constant_bg
  164. front_surf.transp_blend_eq "spl_logo" = constant_bg
  165. front_surf.transparency "liver" = 0.39
  166. front_surf.transparency "skin" = 0.7
  167. front_surf.transparency "spl_logo" = 0
  168.  
  169. lighting.switch[0] = on
  170. lighting.type[0] = ambient
  171. lighting.color[0] = 1 1 1
  172.  
  173. lighting.switch[1] = on
  174. lighting.type[1] = directional
  175. lighting.color[1] = 1 0.8 0.8
  176. lighting.direction[1] = 0.428571 -0.857143 -0.285714
  177.  
  178. lighting.switch[2] = on
  179. lighting.type[2] = directional
  180. lighting.color[2] = 0.8 0.8 1
  181. lighting.direction[2] = -0.801784 -0.267261 -0.534522
  182.  
  183. position.local_matrix =
  184.     1 0 0 0
  185.     0 1 0 0
  186.     0 0 1 0
  187.     0 0 0 1
  188. position.global_matrix =
  189.     -0.951593 0.0496584 -0.20199 0
  190.     0.196712 -0.0925837 -0.949488 0
  191.     -0.0676047 -0.968378 0.0804188 0
  192.     0 0 0 1
  193. position.view_matrix =
  194.     0.826389 0 0 0
  195.     0 1 0 0
  196.     0 0 0.26 -0.25
  197.     0 0 0 1
  198.  
  199. part.select_all
  200. part.deselect_all 
  201. part.select "spl_logo"
  202. draw
  203.  
  204.  
  205. loop 100
  206.     draw
  207. end_loop
  208.  
  209.  
  210.  
  211.  
  212. front_surf.transp_method "spl_logo" = blended
  213. front_surf.transp_blend_eq "spl_logo" = constant_bg
  214. front_surf.transparency "spl_logo" = 0.00
  215.  
  216.  
  217. draw
  218.  
  219. loop 150
  220.     position.global_y_translate = 0.1
  221.     draw
  222. end_loop
  223. draw
  224.  
  225. part.select_all
  226. part.deselect "spl_logo"
  227.  
  228. draw
  229. loop 15
  230.     position.global_y_translate = -1.0
  231.     draw
  232. end_loop
  233. draw
  234.  
  235. draw
  236.  
  237.  
  238. loop 30
  239.     position.local_x_rotate = 3.0
  240.     draw
  241. end_loop
  242.  
  243. draw
  244. loop 5
  245.     position.global_y_translate = -0.035
  246.     draw
  247. end_loop
  248.  
  249. loop 10
  250.     position.local_x_rotate = -3.0
  251.     draw
  252. end_loop
  253.  
  254.  
  255. !decrease transparency of skin
  256.  
  257. loop 30
  258.     front_surf.transparency "skin" -= 0.035
  259.     position.local_y_rotate = 1.2
  260.     draw
  261. end_loop
  262.  
  263.  
  264. !increase transparency of skin
  265.  
  266. loop 20
  267.     front_surf.transparency "skin" += 0.05
  268.     draw
  269. end_loop
  270.  
  271. part.deselect "skin"
  272. loop 10
  273.     position.local_y_rotate = 3.0
  274.     draw
  275. end_loop
  276. part.deselect "bone"
  277. loop 10
  278.     position.local_y_rotate = 3.0
  279.     draw
  280. end_loop
  281. part.deselect "kidneysmall"
  282. part.deselect "tumor"
  283. loop 10
  284.     position.local_y_rotate = -3.0
  285.     draw
  286. end_loop
  287. part.deselect "spleen"
  288. loop 10
  289.     position.local_y_rotate = -3.0
  290.     draw
  291. end_loop
  292.  
  293. part.deselect "vessels"
  294. loop 10
  295.     position.local_y_rotate = -3.0
  296.     draw
  297. end_loop
  298.  
  299.  
  300.  
  301. !increase transparency of liver
  302.  
  303. loop 20
  304.     front_surf.transparency "liver" += 0.01
  305.     draw
  306. end_loop
  307.  
  308.  
  309.  
  310. loop 20
  311.     position.local_y_rotate = 3.0
  312.     draw
  313. end_loop
  314. part.select "bone"
  315. part.select "spleen"
  316.  
  317.  
  318. position.local_matrix =
  319.     1 0 0 0
  320.     0 1 0 0
  321.     0 0 1 0
  322.     0 0 0 1
  323. position.global_matrix =
  324.     -0.850564 -0.0302574 -0.525001 0
  325.     0.525074 -0.103839 -0.844698 0
  326.     -0.0289569 -0.994134 0.104208 0
  327.     0 0 0 1
  328. position.view_matrix =
  329.     1 0 0 0
  330.     0 0.932653 0 0
  331.     0 0 0.26 -0.25
  332.     0 0 0 1
  333.  
  334.  
  335. draw
  336.