home *** CD-ROM | disk | FTP | other *** search
/ POV-RAY - Reference Guide & Practical Examples / LE_POVRAY_Ejemplos.iso / ejem_3 / pr2 / pract2.pov < prev   
Encoding:
Text File  |  1995-09-26  |  774 b   |  45 lines

  1. // Prßctica 2: Una esfera con textura grßfica
  2.  
  3. #include "colors.inc"
  4. #include "textures.inc"
  5.  
  6.  
  7. object { sphere { <0.0  0.0  0.0>  1.0 }
  8.  
  9.    texture { 
  10.       image_map { <1.0 -1.0 0.0> gif "mandel.gif"}
  11.       translate <-0.5 -0.5 0>
  12.    }
  13.    scale <60 60 60>
  14.    rotate <20 0 0> 
  15.    translate <0 50 0>
  16. }
  17.  
  18. object {
  19.    plane { <0.0 1.0 0.0> 0.0 }
  20.    texture {
  21.     checker
  22.      color Black
  23.      color White
  24.    }
  25.   scale<20 20 20>
  26. }
  27.  
  28. object {
  29.    sphere {<0 0 0> 10000}
  30.    texture{ Blue_Sky scale <10000 10000 10000> }
  31. }
  32.  
  33. camera {
  34.    location <10.0  80.0  -150.0>
  35.    direction <0.0 0.0  1.0>
  36.    up  <0.0  1.0  0.0>
  37.    right <1.33333 0.0 0.0>
  38.    look_at <0 50 0>
  39. }
  40.  
  41. object {
  42.    light_source { <50.0  150.0  -100.0>
  43.       color White
  44.    }
  45. }