// Persistence of Vision Ray Tracer Scene Description File // File: gradient_bug.pov // Vers: 3.1 // Desc: Color at the end of the cylinder are not clearly defined // Date: 08/05/99 // Auth: Carl Osterwisch #version 3.1 #include "colors.inc" global_settings { assumed_gamma 1.0 } // ---------------------------------------- camera { location <-4, 0.5, -4.0> *.5 direction 1.5*z right 4/3*x look_at <0.0, 0.0, 0.0> } light_source { <-30, 30, -30> color red 1.0 green 1.0 blue 1.0 } // ---------------------------------------- plane { z, 1 texture { finish { reflection 1.0 ambient 0 diffuse 0 } } } cylinder {<0, 0, -1>, <0, 0, 0>, .5 texture { pigment { gradient z color_map { [0.0 color Blue] [1.0 color Red] } } } }