home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pose1os2.zip / EXAMPLES / WAVES / SCENE1 / WAVES.SIM < prev   
Text File  |  1995-05-01  |  471b  |  33 lines

  1. init {
  2.     x = 0;
  3.     y = 1;
  4.     z = 0;
  5.  
  6.     offset = -3;
  7.  
  8.     texture.map = "Chrome_Metal";
  9.  
  10. //  pigment.red = 1;
  11. //  pigment.green = 0.3;
  12.  
  13.     normal.waves = 0.05;
  14.     normal.frequency = 5000;
  15.     normal.scale(300,1000,300);
  16.  
  17.     finish.reflection = 1;
  18.  
  19.     step = 0.05;
  20.  
  21.     normal.phase = -0.05;
  22. }
  23.  
  24. eval {
  25.     normal.phase += step;
  26.  
  27.     if(normal.phase == 1.0)
  28.         step = -0.05;
  29.  
  30.     if(normal.phase == 0.0)
  31.         step = 0.05;
  32. }
  33.