// Szene:   S10: Einfache Bump-Oberflaeche: Die Plastik-Orange :-)
// Autor:   Jan Hannemann
// Datum:   26.06.1997

#include "colors.inc"
#include "textures.inc"

camera {
       location <3, 3, -1>
       look_at  <0, 1,  2>
}

light_source { <0, 4, -3> color White}
light_source { <0, 6, -4> color White}
light_source { <6, 4, -3> color White}

plane {                                         // Schachbrett
       <0, 1, 0>, 0                             // Normale ist Y, Abstand 0
       pigment {
               checker
                      color White
                      color Black
       }
}

sphere {                                        // Die Orange
       <0, 2, 4>, 2                             // Mittelpunkt und Radius
       texture {
               pigment {color Orange}           // Farbe: Orange (klar!)
               normal  {bumps 0.4  scale 0.2}   // Unebenheiten in der Oberfl.
               finish  {phong 1}                // Oberflaeche: Glaenzend
       }
}

box {                                           // Holzwuerfel
       <-1, 0, -0.5>,                           // Eckpunkt 1
       < 1, 2,  1.5>                            // Eckpunkt 2
       pigment {
               DMFWood4                         // Helles Holz
               scale 2                          // Skalierung
       }
       rotate y*(-20)                           // Drehung um Y-Achse
}
