home *** CD-ROM | disk | FTP | other *** search
/ Nebula / nebula.bin / Graphics / Ribs / csquare.rib < prev    next >
Text File  |  1993-01-12  |  2KB  |  54 lines

  1.  
  2. Display "image.tiff" "file" "rgba" 
  3.  
  4. # Interpreting Window ************************************************
  5. Format 450 450 1 
  6.  
  7. # Interpreting Lights ************************************************
  8. # Ambient Light
  9. LightSource "ambientlight" 0 "lightcolor" [0.2 0.2 0.2] 
  10.  
  11. # Interpreting Material **********************************************
  12. Color [1 1 1] 
  13. Surface "plastic" "Ka" 0.3 "Kd" 1 "Ks" 0.3 "specularcolor" [1 1 1] "roughness" 0.0666667 
  14.  
  15. # Interpreting Camera ************************************************
  16. ScreenWindow -1 1 -1 1 
  17. Clipping 0.1 100 
  18. Projection "perspective" "fov" 40 
  19. Identity
  20. ConcatTransform [1 0 0 0 0 1 0 0 0 0 -1 0 0 0 0 1] 
  21. ConcatTransform [1 0 0 0 0 1 0 0 0 0 1 0 0 0 -3 1] 
  22. # Directional Light
  23. LightSource "distantlight" 9 "intensity" 0.6 "lightcolor" [1 1 1] "to" [0 0 -10] 
  24. # Directional Light
  25. LightSource "distantlight" 10 "intensity" 0.5 "lightcolor" [1 1 1] "to" [0 -1 1] 
  26. # Directional Light
  27. LightSource "distantlight" 11 "intensity" 0.4 "lightcolor" [1 1 1] "to" [-1 2 1] 
  28. WorldBegin
  29. TransformBegin
  30. ConcatTransform [-0.0451491 0.483406 -0.87423 0 -0.990563 0.0916926 0.101859 0 0.129399 0.87058 0.474705 0 0 0 0 1] 
  31. TransformBegin
  32. ConcatTransform [1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1] 
  33. TransformBegin
  34. ConcatTransform [1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1] 
  35. TransformBegin
  36. ConcatTransform [0.707107 0 0 0 0 0.707107 0 0 0 0 0.707107 0 0 0 0 1] 
  37. Polygon
  38. "P" [-1 -1 0   1 -1 0   1 1 0   -1 1 0] 
  39. "Cs" [1 0 0   0 1 0   0 1 0   1 0 0] 
  40. "N" [0 0 -1   0 0 -1   0 0 -1   0 0 -1] 
  41. # push appearance
  42. AttributeBegin
  43.  
  44. # Interpreting Lights ************************************************
  45. # Ambient Light
  46. LightSource "ambientlight" 0 "lightcolor" [0.2 0.2 0.2] 
  47. # pop appearance
  48. AttributeEnd
  49. TransformEnd
  50. TransformEnd
  51. TransformEnd
  52. TransformEnd
  53. WorldEnd
  54.