// Persistence Of Vision raytracer version 3.0 file.
// 3D knot created by Steve Abbott's Celtic Knotwork Program
// www.abbott.demon.co.uk/knots.html

//NOTE:
//Any line you put in that has a comma in it must be surrounded by quote marks
//This makes it easy to read the lines into the Visual Basic program
//Sorry for the inconvenience

#version 3.0
global_settings { assumed_gamma 2.2 }

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

//General background
background { color MidnightBlue }

//General camera and lighting setup
camera {
"  location <0, 0, -12>"
"  look_at <0, 0, 0>"
}

"light_source { <5, 20, -15> colour White }"

//define a plane 
"plane { z, 10"
   pigment {color Silver}
   finish {
      ambient 0.2
      diffuse 0.9
   }
}

//Define textures representing the 14 colours the knot comes in
//By altering these in this header you can get the knots to look the way you want
//e.g. a Red part of the original knot will come into PVORay as colour12
//if you want Red to look different change the declaration of colour12 below

#declare colour1=
texture
{pigment {color MidnightBlue}  finish { reflection 0.1 diffuse 0.9 ambient 0.2 phong .4 phong_size 10}
}
#declare colour2=
texture
{pigment {color DarkGreen}  finish { reflection 0.1 diffuse 0.9 ambient 0.2 phong .4 phong_size 10}
}
#declare colour3=
texture
{pigment {color LightBlue}  finish { reflection 0.1 diffuse 0.9 ambient 0.2 phong .4 phong_size 10}
}
#declare colour4=
texture
{pigment {color Brown}  finish { reflection 0.1 diffuse 0.9 ambient 0.2 phong .4 phong_size 10}
}
#declare colour5=
texture
{pigment {color Plum}  finish { reflection 0.1 diffuse 0.9 ambient 0.2 phong .4 phong_size 10}
}
#declare colour6=
texture
{pigment {color DarkOliveGreen}  finish { reflection 0.1 diffuse 0.9 ambient 0.2 phong .4 phong_size 10}
}
#declare colour7=
texture
{pigment {color Gray20}  finish { reflection 0.1 diffuse 0.9 ambient 0.2 phong .4 phong_size 10}
}
#declare colour8=
texture
{pigment {color Gray60}  finish { reflection 0.1 diffuse 0.9 ambient 0.2 phong .4 phong_size 10}
}
#declare colour9=
texture
{pigment {color Blue}  finish { reflection 0.1 diffuse 0.9 ambient 0.2 phong .4 phong_size 10}
}
#declare colour10=
texture
{pigment {color Green}  finish { reflection 0.1 diffuse 0.9 ambient 0.2 phong .4 phong_size 10}
}
#declare colour11=
texture
{pigment {color Cyan}  finish { reflection 0.1 diffuse 0.9 ambient 0.2 phong .4 phong_size 10}
}
#declare colour12=
texture
{pigment {color Red}  finish { reflection 0.1 diffuse 0.9 ambient 0.2 phong .4 phong_size 10}
}
#declare colour13=
texture
{pigment {color Magenta}  finish { reflection 0.1 diffuse 0.9 ambient 0.2 phong .4 phong_size 10}
}
#declare colour14=
texture
{pigment {color Yellow}  finish { reflection 0.1 diffuse 0.9 ambient 0.2 phong .4 phong_size 10}
}
