Static Example

WB01343_.gif (599 bytes)

#include "colors.inc"
#include "shapes.inc"
#include "glass.inc"
#include "metals.inc"
#include "stones.inc"
#include "woods.inc"

camera
{
  location <3.0, 4.0, 5.0> 
  up y
  look_at <0.0, 0.0,  0.0>
  rotate <0, clock, 0>
}

light_source
{
  0*x
  color red 1.0  green 1.5  blue 1.0  
  translate <5, 5, 2>
}

plane
{
  y, 0
  pigment
  {
    checker
      color red 1 green 1 blue 1
      color red 1 green 0 blue 0
  }
}

sphere
{
  <-1, 1, -1> 1
  pigment
  {
    BrightGold
  }
  finish
  {
    ambient .1
    diffuse .1
    specular 1
    roughness .001
    reflection .75
  }
}

cone
{
  <2, 0, 0> 1
  <2, 2, 0> 0
  texture
  {
    pigment
    {
      marble 
      color_map {[0.1 color red 1] [0.5 color rgb 1]}
      turbulence 0.5
    }
    finish
    {
      ambient 0.2
      specular 0.6
    }
  }
}

disc
{
  <-1, 1, 2>
  x,       
  1.0,     
  0.2      
  pigment
  {
    agate
    agate_turb 0.3
  }
}
WB01343_.gif (599 bytes)