home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Raytrace & Morphing / SOS-RAYTRACE.ISO / programm / raytrace / radiance / obj / tutor / srcwindo.rad < prev    next >
Encoding:
Text File  |  1991-10-31  |  498 b   |  29 lines

  1. #
  2. # An emissive window
  3. #
  4.  
  5. # visible glass type for illum:
  6.  
  7. void glass window_glass
  8. 0
  9. 0
  10. 3 .96 .96 .96
  11.  
  12. # window distribution function, including angular transmittance:
  13.  
  14. skyfunc brightfunc window_dist
  15. 2 winxmit winxmit.cal
  16. 0
  17. 0
  18.  
  19. # illum for window, using 88% transmittance at normal incidence:
  20.  
  21. window_dist illum window_illum
  22. 1 window_glass
  23. 0
  24. 3 .88 .88 .88
  25.  
  26. # create 4 source polygons for better accuracy:
  27.  
  28. !gensurf window_illum srcwindow '3' '.625+.75*t' '.625+.75*s' 2 2
  29.