home *** CD-ROM | disk | FTP | other *** search
/ PC Open 10 / pcopen10.iso / giochi / behemot / examples / lune.rt < prev    next >
Encoding:
Text File  |  1994-01-06  |  1.5 KB  |  117 lines

  1. { vrc
  2.     vrp ( 0 , 0 , 0 );
  3.     prp ( 0 , 0 , -10 );
  4.     vup ( 0 , 1 , 0 );
  5.     vpn ( 1 , 0 , 0 );
  6.     umax 2;
  7.     umin -2;
  8.     vmax 2;
  9.     vmin -2;
  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 0;
  20.   shade phong;
  21.   anti_alias 0;
  22.   anti_al_toll 0.05;
  23.   dimx 512;
  24.   dimy 512;
  25.   ambientcolor (1,1,1);
  26.   backcolor (0,0,0);
  27. }
  28.  
  29. { material
  30.  
  31.      name mat_pianeta;
  32.      model { phong
  33.  
  34.             Ks 0.45;
  35.             Kt 0;
  36.             ni 1.2;
  37.             Ka 0.2;
  38.             Kd 0.4;
  39.             n 100;
  40.             Od (0.34,0.74,0.39);
  41.             Os (0.34,0.74,0.39);
  42.      }
  43. }
  44.  
  45. { material
  46.  
  47.      name mat_luna;
  48.      model { phong
  49.  
  50.             Ks 0;
  51.             Kt 0;
  52.             ni 1;
  53.             Ka 0.1;
  54.             Kd 0.55;
  55.             n 10;
  56.             Od (0.74,0.74,0.74);
  57.             Os (0.74,0.74,0.74);
  58.      }
  59. }
  60.  
  61.  
  62. {lamp
  63. name stella1;
  64. model { pointlamp
  65. pos ( 5 , 0 , 7 );
  66.     color (0.7,0.7,0.7);
  67. }
  68. }
  69. {object
  70. name pianeta;
  71. material mat_pianeta;
  72. toll 0.01;
  73. model   { sphere
  74.         center ( 10 , 0 , 0 );
  75.         radius 1;
  76.     }
  77. }
  78.  
  79. {object
  80. name luna1;
  81. material mat_luna;
  82. toll 0.01;
  83. model   { sphere
  84.         center ( 10 , 0 , -2 );
  85.         radius 0.5;
  86.     }
  87. }
  88. {object
  89. name luna2;
  90. material mat_luna;
  91. toll 0.01;
  92. model   { sphere
  93.         center ( 10 , 0 , 2 );
  94.         radius 0.5;
  95.     }
  96. }
  97. {object
  98. name luna3;
  99. material mat_luna;
  100. toll 0.01;
  101. model   { sphere
  102.         center ( 10 , 2 , 0 );
  103.         radius 0.5;
  104.     }
  105. }
  106.  
  107. {object
  108. name luna4;
  109. material mat_luna;
  110. toll 0.01;
  111. model   { sphere
  112.         center ( 10 , -2 , 0 );
  113.         radius 0.5;
  114.     }
  115. }
  116. .
  117.