// Persistence of Vision Ray Tracer Scene Description File // File: dzbanek_tutorial.pov // Vers: 3.6 // Desc: Pomoc do toturiala robiongo dla www.povray.planar // Date: 2004-11-15 // Auth: Adam Druzd - Nunas #include "glass.inc" global_settings { assumed_gamma 1.0 } camera { location <0.0, 5.5, -12.0> look_at <0.0, 1.0, 0.0> rotate y*45 angle 40 } sky_sphere { pigment { gradient y color_map { [0.0 rgb <0.6,0.7,1.0>] [0.7 rgb <0.0,0.1,0.8>] } } } light_source { <0, 0, 0> color rgb <1, 1, 1> translate <-30, 30, 0>} light_source { <0, 0, 0> color rgb <1, 1, 1> translate <0, 30, -30>} union { box{<-10,-10,-10>,<10,0,10>} box{<-10,0,9.8>,<10,10,10>} box{<9.8,0,9.8>,<10,10,-10>} pigment { cells } } #declare M_dzban=material { texture { pigment { color rgbft <1,0,0,.5, .5>} finish { F_Glass1 } } interior { I_Glass1 } } lathe { bezier_spline 28 <0,0>,<0.228813559322034,0>,<0.728813559322034,0>,<0.898305084745763,0> <0.898305084745763,0>,<1.03389830508475,0.0508474576271186>,<1.03389830508475,0.177966101694915>,<0.898305084745763,0.245762711864407> <0.898305084745763,0.245762711864407>,<0.754237288135593,0.288135593220339>,<0.627118644067797,0.305084745762712>,<0.525423728813559,0.313559322033898> <0.525423728813559,0.313559322033898>,<1.24576271186441,1.13559322033898>,<1.35593220338983,2.05084745762712>,<0.88135593220339,3.49152542372881> <0.88135593220339,3.49152542372881>,<0.855932203389831,3.59322033898305>,<0.805084745762712,3.58474576271186>,<0.796610169491525,3.5> <0.796610169491525,3.5>,<1.24576271186441,2.06779661016949>,<1.19491525423729,1.20338983050847>,<0.449152542372881,0.313559322033898> <0.449152542372881,0.313559322033898>,<0.372881355932203,0.177966101694915>,<0.194915254237288,0.186440677966102>,<0,0.194915254237288> material { M_dzban } }