#include "/home/matt/povray/includes/colors.inc" #include "/home/matt/povray/includes/shapes.inc" #include "/home/matt/povray/includes/textures.inc" #include "/home/matt/povray/includes/metals.inc" #include "/home/matt/povray/includes/woods.inc" global_settings { assumed_gamma 2.2 ambient_light rgb <1,1,1> } #declare blade_part = union { #declare radi = 0.5; // radius #declare sw = 1; // length of polished #declare rati =2.5; // length of edge as ratio of polished cylinder { <-sw ,0,0> radi texture {T_Chrome_5A} // pigment {color White} rotate <0,0,0> translate <0,0,0>} cone { <0,0,0> radi 0 texture {T_Chrome_5A} //pigment {color White} rotate<0,0,0> translate } sphere { <0,0,0> radi texture{T_Chrome_5A} //pigment {color White} scale <0.25,1,1> rotate<0,0,0> translate<-sw,0,0> } sphere { <0,0,0> radi texture {T_Chrome_5A} // pigment {color White} scale <0.25,1,1> rotate<0,0,0> translate } } #declare blade = union { #declare i = 0 ; #while (i < 10000) object {blade_part translate <-(i*i)/5000000,0,i/50>} // x value controls curvature #declare i = i + 1 ; #end } blade // ---------------------------------------- camera { location <0,3.5,0>*100 direction 1.5*z right 4/3*x look_at <0.0, 0.0, 100.0> } sky_sphere { pigment { gradient y color_map { [0 color Blue] [1 color White] } scale 2 translate -1 } } light_source { 0*x // light's position (translated below) color red 1 green 1 blue 1 translate <30, 30, -30> *2000 } light_source { 0*x // light's position (translated below) color red 1 green 1 blue 1 translate <-30, 30, -30> *200 shadowless } plane { y, -2 pigment {color rgb <0.3, 0.7, 0.6> } }