home *** CD-ROM | disk | FTP | other *** search
/ PC Open 10 / pcopen10.iso / giochi / behemot / examples / bump / bump1.rt next >
Encoding:
Text File  |  1996-06-26  |  1.9 KB  |  151 lines

  1. { vrc
  2.     vrp ( -7.78894 , 1 , 8.84422 );
  3.     prp ( 0 , 0 , -1 );
  4.     vup ( 0 , 0 , 1 );
  5.     vpn ( 0.840459 , 0 , -0.541875 );
  6.     umax 1.33333;
  7.     umin -1.33333;
  8.     vmax 1;
  9.     vmin -1;
  10.     type 1;
  11.     f 1;
  12.     b 0;
  13.     fon 0;
  14.     bon 0;
  15. }
  16. { param
  17.  
  18.   render raytracing;
  19.   toll 0.001;
  20.   infltoll 0.05;
  21.   mode 5;
  22.   shade phong;
  23.   anti_alias 3;
  24.   anti_al_toll 0.05;
  25.   dimx 640;
  26.   dimy 480;
  27.   ambientcolor (1,1,1);
  28.   backcolor (0,0,0);
  29.   ambient_ni 1;
  30.   buildhier 0;
  31.   modifydef 1;
  32.   depthmax 64;
  33.   depthmin 48;
  34.   depthback 64;
  35.   _csg_convert 0;
  36.   _general_hsort 1;
  37. }
  38.  
  39.  
  40. { texture name skin02 ;}
  41.  
  42.  
  43. { material
  44.     name standard;
  45.     model { phong 
  46.  
  47.   Ks 0.2;
  48.   Kt 0;
  49.   ni 1;
  50.   Ka 0.2;
  51.   Kd 0.6;
  52.   n 10;
  53.   Od (0.5,0.5,0.5);
  54.   Os (0.5,0.5,0.5);
  55. }
  56.  
  57.     }
  58. { material
  59.     name cyl;
  60.     model { phong 
  61.  
  62.   Ks 0.2;
  63.   Kt 0;
  64.   ni 1;
  65.   Ka 0.2;
  66.   Kd 0.6;
  67.   n 10;
  68.   Od (0.803922,0.196078,0.270588);
  69.   Os (0.5,0.5,0.5);
  70. }
  71.  
  72.     }
  73. { material
  74.     name base;
  75.     model { phong 
  76.  
  77.   Ks 0.6;
  78.   Kt 0;
  79.   ni 1;
  80.   Ka 0.2;
  81.   Kd 0.6;
  82.   n 30;
  83.   Od (0.501961,0,1);
  84.   Os (0.5,0.5,0.5);
  85. }
  86.  
  87.     }
  88.  
  89. { lamp
  90.     name lmp000001;
  91.     model { pointlamp
  92. pos ( -19.5477 , 0 , 15.4774 );
  93.     color (1,1,1);
  94. }
  95. }
  96. { object
  97.     name base;
  98.     material base;
  99.     bump skin02;
  100.     mapping {
  101.     mapping
  102.         model { planar 
  103. center ( 0 , 0 , 0 );
  104.   assx ( 17.4874 , 0.40201 , 0 );
  105.   assy ( -0.201005 , 19.4975 , 0 );
  106.   moltx 1;
  107.   molty 1;
  108. }
  109.     }
  110.     model { box
  111.         xmin -20;
  112.         xmax 20;
  113.         ymin -20;
  114.         ymax 20;
  115.         zmin -1;
  116.         zmax 1;
  117.     }
  118. }
  119.  
  120. { object
  121.     name cyl;
  122.     model     { transf
  123.         t ( 0 , 0 , 0 );
  124.         t ( 0 , 0 , 0 );
  125.         t ( 3.76884 , 0 , 3.41709 );
  126. { object
  127.     name cyl;
  128.     material cyl;
  129.     bump skin02;
  130.     mapping {
  131.     mapping
  132.         model { planar 
  133. center ( -3.76884 , 0 , -3.41709 );
  134.   assx ( 0 , -0.929648 , 0 );
  135.   assy ( 0 , -0.0251256 , 3.11561 );
  136.   moltx 1;
  137.   molty 1;
  138. }
  139.     }
  140.     model { cylinder
  141.         high 4;
  142.         radius 2.5;
  143.         div 10;
  144.     }
  145. }
  146.     }
  147. }
  148.  
  149. .
  150.  
  151.