home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Raytrace & Morphing / SOS-RAYTRACE.ISO / programm / raytrace / radiance / lib / slate.cal < prev    next >
Encoding:
Text File  |  1991-02-08  |  390 b   |  16 lines

  1. {
  2.     Slate texture
  3.     Aligned in direction of x-axis
  4.  
  5.     2/8/91
  6. }
  7.  
  8. slate_dx = .5*Rdot * (.1*fnoise3(-Px/10,Py,Pz)
  9.             + if(noise3(Px/10,Py,Pz)+.8,0,noise3a(Px/10,Py,Pz)));
  10.  
  11. slate_dy = .5*Rdot * (.1*fnoise3(Px/10,-Py,Pz)
  12.             + if(noise3(Px/10,Py,Pz)+.8,0,noise3b(Px/10,Py,Pz)));
  13.  
  14. slate_dz = .5*Rdot * (.1*fnoise3(Px/10,Py,-Pz)
  15.             + if(noise3(Px/10,Py,Pz)+.8,0,noise3c(Px/10,Py,Pz)));
  16.