// This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. // To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or send a // letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA. // Persistence Of Vision raytracer sample file. // By Chris Young & Dan Farmer // Illustrates many of the colors in standard include file "colors.inc" // // -w320 -h240 // -w800 -h600 +a0.3 #version 3.7; global_settings { assumed_gamma 1.0 } #include "colors.inc" #declare Col0 = -36; #declare Col1 = -30; #declare Col2 = -24; #declare Col3 = -18; #declare Col4 = -12; #declare Col5 = -6; #declare Col6 = 0; #declare Col7 = 6; #declare Col8 = 12; #declare Col9 = 18; #declare Col10 = 24; #declare Col11 = 30; #declare Col12 = 36; #declare Row1 = 24; #declare Row2 = 18; #declare Row3 = 12; #declare Row4 = 6; #declare Row5 = 0; #declare Row6 = -6; #declare Row7 = -12; #declare Row8 = -18; #declare Row9 = -24; #declare Row10 = -30; camera { location right x*image_width/image_height angle 14 look_at } light_source {<-500, 500, -1500> color White} default { finish { phong 1 phong_size 100 ambient .15 diffuse .7 } } #declare Dist = -4; #declare Radius = 3; plane { z,3.1 pigment {White} hollow // Works the same as "hollow on" } sphere { , Radius pigment {Gray05} } sphere { , Radius pigment {Gray10} } sphere { , Radius pigment {Gray15} } sphere { , Radius pigment {Gray20} } sphere { , Radius pigment {Gray25} } sphere { , Radius pigment {Gray30} } sphere { , Radius pigment {Gray35} } sphere { , Radius pigment {Gray40} } sphere { , Radius pigment {Gray45} } sphere { , Radius pigment {Gray50} } sphere { , Radius pigment {Gray55} } sphere { , Radius pigment {Gray60} } sphere { , Radius pigment {Gray65} } sphere { , Radius pigment {Gray70} } sphere { , Radius pigment {Gray75} } sphere { , Radius pigment {Gray80} } sphere { , Radius pigment {Gray85} } sphere { , Radius pigment {Gray90} } sphere { , Radius pigment {Gray95} } sphere { , Radius pigment {DimGray} } sphere { , Radius pigment {Grey} } sphere { , Radius pigment {LightGrey} } sphere { , Radius pigment {VLightGrey} } sphere { , Radius pigment {Clear} } sphere { , Radius pigment {White} } sphere { , Radius pigment {Red} } sphere { , Radius pigment {Green} } sphere { , Radius pigment {Blue} } sphere { , Radius pigment {Yellow} } sphere { , Radius pigment {Cyan} } sphere { , Radius pigment {Magenta} } sphere { , Radius pigment {Black} } sphere { , Radius pigment {Aquamarine} } sphere { , Radius pigment {BlueViolet} } sphere { , Radius pigment {Brown} } sphere { , Radius pigment {CadetBlue} } sphere { , Radius pigment {Coral} } sphere { , Radius pigment {CornflowerBlue} } sphere { , Radius pigment {DarkGreen} } sphere { , Radius pigment {DarkOliveGreen} } sphere { , Radius pigment {DarkOrchid} } sphere { , Radius pigment {DarkSlateBlue} } sphere { , Radius pigment {DarkSlateGrey} } sphere { , Radius pigment {DarkTurquoise} } sphere { , Radius pigment {Firebrick} } sphere { , Radius pigment {ForestGreen} } sphere { , Radius pigment {Gold} } sphere { , Radius pigment {Goldenrod} } sphere { , Radius pigment {GreenYellow} } sphere { , Radius pigment {IndianRed} } sphere { , Radius pigment {Khaki} } sphere { , Radius pigment {LightBlue} } sphere { , Radius pigment {LightSteelBlue} } sphere { , Radius pigment {LimeGreen} } sphere { , Radius pigment {Maroon} } sphere { , Radius pigment {MediumAquamarine} } sphere { , Radius pigment {MediumBlue} } sphere { , Radius pigment {MediumForestGreen} } sphere { , Radius pigment {MediumGoldenrod} } sphere { , Radius pigment {MediumOrchid} } sphere { , Radius pigment {MediumSeaGreen} } sphere { , Radius pigment {MediumSlateBlue} } sphere { , Radius pigment {MediumSpringGreen} } sphere { , Radius pigment {MediumTurquoise} } sphere { , Radius pigment {MediumVioletRed} } sphere { , Radius pigment {MidnightBlue} } sphere { , Radius pigment {Navy} } sphere { , Radius pigment {NavyBlue} } sphere { , Radius pigment {Orange} } sphere { , Radius pigment {OrangeRed} } sphere { , Radius pigment {Orchid} } sphere { , Radius pigment {PaleGreen} } sphere { , Radius pigment {Pink} } sphere { , Radius pigment {Plum} } sphere { , Radius pigment {Salmon} } sphere { , Radius pigment {SeaGreen} } sphere { , Radius pigment {Sienna} } sphere { , Radius pigment {SkyBlue} } sphere { , Radius pigment {SlateBlue} } sphere { , Radius pigment {SpringGreen} } sphere { , Radius pigment {SteelBlue} } sphere { , Radius pigment {Tan} } sphere { , Radius pigment {Thistle} } sphere { , Radius pigment {Turquoise} } sphere { , Radius pigment {Violet} } sphere { , Radius pigment {VioletRed} } sphere { , Radius pigment {Wheat} } sphere { , Radius pigment {YellowGreen} } sphere { , Radius pigment {SummerSky} } sphere { , Radius pigment {RichBlue} } sphere { , Radius pigment {Brass} } sphere { , Radius pigment {Copper} } sphere { , Radius pigment {Bronze} } sphere { , Radius pigment {Bronze2} } sphere { , Radius pigment {Silver} } sphere { , Radius pigment {BrightGold} } sphere { , Radius pigment {OldGold} } sphere { , Radius pigment {Feldspar} } sphere { , Radius pigment {Quartz} } sphere { , Radius pigment {Mica} } sphere { , Radius pigment {NeonPink} } sphere { , Radius pigment {DarkPurple} } sphere { , Radius pigment {NeonBlue} } sphere { , Radius pigment {CoolCopper} } sphere { , Radius pigment {MandarinOrange} } sphere { , Radius pigment {LightWood} } sphere { , Radius pigment {MediumWood} } sphere { , Radius pigment {DarkWood} } sphere { , Radius pigment {SpicyPink} } sphere { , Radius pigment {SemiSweetChoc} } sphere { , Radius pigment {BakersChoc} } sphere { , Radius pigment {Flesh} } sphere { , Radius pigment {NewTan} } sphere { , Radius pigment {NewMidnightBlue} } sphere { , Radius pigment {VeryDarkBrown} } sphere { , Radius pigment {DarkBrown} } sphere { , Radius pigment {DarkTan} } sphere { , Radius pigment {GreenCopper} } sphere { , Radius pigment {DkGreenCopper} } sphere { , Radius pigment {DustyRose} } sphere { , Radius pigment {HuntersGreen} } sphere { , Radius pigment {Scarlet} } /* sphere { , Radius pigment { } } sphere { , Radius pigment { } } sphere { , Radius pigment { } } sphere { , Radius pigment { } } sphere { , Radius pigment { } } sphere { , Radius pigment { } } sphere { , Radius pigment { } } sphere { , Radius pigment { } } */