home *** CD-ROM | disk | FTP | other *** search
/ Ray Tracing Box / RAY_CD.mdf / raytrace / _pov_dat / gobo / whats_t.hat < prev   
Text File  |  1993-11-18  |  2KB  |  44 lines

  1.         Gobo_Light.POV
  2.  
  3. What it does and how to use it.
  4.  
  5. Ever wanted to have a bit shadowy light in your POV scene rather than
  6. a full on light ?  Well, this might help you.  
  7. In theatre lighting ( my back-ground ) we use so called Gobo's to create
  8. shadow effects on stage.  A gobo is basically a small steel template that 
  9. you insert in a spotlight.  There are hundreds of different pattern to
  10. choose from.  I just thought it would be nice to have the same possibilities
  11. in POVray.
  12.  
  13. The system is quite easy.  There is a open cylinder along the Y-axis with 
  14. a sphere on one end to stop the light pouring out at one side.  On the other
  15. side there is a box with an image_map.  Inside this contraption is a 
  16. light_source.  This allows you to point the light at where you want it 
  17. without having it all over the shop.  By moving the light_source in the -Y axis 
  18. you can control the beam angle.  Note that the < 0, 0, 0 > position points 
  19. straight down.  This means that if you rotate Y before Z, you can rotate
  20. the image but it won't change the angle of the light.  That's why there
  21. are two rotate lines in the file. Rotate Z first and then Y if you want
  22. to pan a side light along the Z axis.
  23.  
  24. Place the image you want to use in the image_map.  I have include the GIF-files
  25. I used in the samples.  Best effect is achieved with two-colour B/W images 
  26. for which you set White filter 1 ( remember that Black filter 1 is sort of
  27. useless ).  You can use any image file if you want to but you will have to
  28. set the filters for each colour you use.  For POV version 1 I originally used 
  29. a material_map, which was easier, but using a material_map in a declared
  30. statement doesn't seem to work in version 2, at least it didn't for me.
  31.  
  32. That's all really.  Just have a play with it.
  33.  
  34. Comments are more than welcome ( CompuServe 100237,3073 )  If there is a 
  35. demand for it, I might create a nice library of gobo's.
  36.  
  37. Please note that the artwork for the files GAM201.gif & GAM575.gif is copyright
  38. of the Great American Market Pattern.
  39.  
  40. Roderick van Gelder
  41. Sydney, Australia
  42.  
  43.  
  44.