home *** CD-ROM | disk | FTP | other *** search
/ PC Open 10 / pcopen10.iso / giochi / behemot / tutorial / tut07.rt < prev    next >
Encoding:
Text File  |  1995-09-22  |  1.5 KB  |  126 lines

  1. { vrc 
  2.     vrp ( 0 , 0 , 0 );
  3.         prp ( 0 , 0 , -10 );
  4.     vup ( 0 , 0 , 1 );
  5.     vpn ( 1 , 0 , 0 );
  6.     umax 3;
  7.     umin 0;
  8.     vmax 3;
  9.     vmin 0;
  10.     type 1;
  11.     f 1;
  12.     b 0;
  13.     fon 0;
  14.     bon 0;
  15. }
  16. { param
  17.  
  18.   toll 0.01;
  19.   mode 5;
  20.   shade phong;
  21.   anti_alias 1;
  22.   anti_al_toll 0.05;
  23.   dimx 500;
  24.   dimy 500;
  25.   ambientcolor (1,1,1);
  26.   backcolor (0,0,0);
  27.   ambient_ni 1;
  28.   buildhier 0;
  29.   modifydef 1;
  30.   depthmax 64;
  31.   depthmin 48;
  32.   depthback 64;
  33. }
  34.  
  35. { texture name boll; }
  36.  
  37. { material
  38.     name m1;
  39.     model { phong 
  40.  
  41.   Ks 0.0;
  42.   Kt 0;
  43.   ni 1;
  44.   Ka 0.1;
  45.   Kd 0.95;
  46.   n 25;
  47.   Od (0.14,0.9,0.63);
  48.   Os (0.64,0.69,0.13);
  49. }
  50.  
  51. }
  52.  
  53. { material
  54.         name m2;
  55.     model { phong 
  56.  
  57.   Ks 0.2;
  58.   Kt 0.7;
  59.   ni 1;
  60.   Ka 0.0;
  61.   Kd 0.12;
  62.   n 25;
  63.   Od (0.64,0.9,0.63);
  64.   Os (0.64,0.69,0.13);
  65. }
  66.  
  67. }
  68.  
  69. {lamp
  70. name lamp1;
  71. model { pointlamp
  72. pos ( 5 , 0 , 7 );
  73.     color (0.7,0.7,0.7);
  74. }
  75. }
  76. {lamp
  77. name lamp2;
  78. model { pointlamp
  79. pos ( 11 , -100 , 0 );
  80.     color (0.7,0.7,0.7);
  81. }
  82. }
  83. {lamp
  84. name lamp3;
  85. model { pointlamp
  86. pos ( 0 , 0 , 0 );
  87.         color (0.7,0.7,0.70);
  88. }
  89. }
  90.  
  91. {object
  92. name sfondo;
  93. material m1;
  94. toll 0.01;
  95. texture boll;
  96. mapping { mapping
  97.      model { planar
  98.   center ( 0 , 0 , 0 );
  99.   assx ( 0 , 1 , 0 );
  100.   assy ( 0 , 0 , -1 );
  101.   }
  102. }
  103.  
  104. model { box
  105.         xmin 15;
  106.         xmax 17;
  107.         ymin -100;
  108.         ymax 100;
  109.         zmin -100;
  110.         zmax 100;
  111.     }
  112. }
  113.  
  114.  
  115. {object
  116. name sph1;
  117. material m2;
  118. toll 0.01;
  119. model   { sphere
  120.         center ( 10 , 3 , 3 );
  121.         radius 1.4;
  122.     }
  123. }
  124. .
  125.  
  126.