home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pose1os2.zip / EXAMPLES / CHASE / SCENE1 / BALL5.SIM < prev    next >
Text File  |  1995-05-06  |  491b  |  31 lines

  1. init
  2. {
  3.     points["chase\misc\chase.pnt"];
  4.     index = 1;
  5.  
  6.     x = points[1];
  7.     y = points[2];
  8.     z = points[3];
  9.     radius = .10;
  10.  
  11.     pigment.color = "Red";
  12.     pigment.filter = 0.4;
  13.     finish.phong = .8;
  14.  
  15.     start_frame = 9;
  16. }
  17.  
  18. eval {
  19.     if(frame < start_frame)
  20.         return;
  21.  
  22.     x = points[index];
  23.     y = points[index + 1];
  24.     z = points[index + 2];
  25.  
  26.     index += 3;
  27.  
  28.     if(index > 450)  // there are 150 points x 3 vectors
  29.        index -= 3;
  30. }
  31.