home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 8 / CDASC08.ISO / NEWS / RADIANCE / LIB / SLATE.CAL < prev    next >
Text File  |  1993-10-07  |  390b  |  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.