Ces images sont réalisée avec un Ray-Tracer en hommage à mon mêre Nico.

//Sauver dans le répertoire c:\_\two_triangle.pov
//Ecrit par denis bertin le 22.6.2013

camera {
        location <0,5,-2>
        direction <0,  0,   1>
        up        <0,  1,   0>
        right   <4/3,  0,   0>
        look_at <0,0,0>
        }

light_source {<00,00,-250> rgb <1.0, 1.0, 0.95>*1.5}
light_source {<20,-150,-120> rgb <0.0, 0.0, 0.95>*1.5}
light_source {<0,-50,-50> rgb <1.0, 0.0, 0.0>*1.5}
light_source {<10,10,10> rgb <1.0, 1.0, 0.95>*1.5}

#include "colors.inc"
#include "skies.inc"

sphere { <0,0,0> 10  texture { pigment { P_Cloud2 } } rotate  }

polygon {
	4,
	<0+cos(pi/4+clock*2*pi)*1,0+sin(pi/4+clock*2*pi),0>
	<0+cos(3*pi/4+clock*2*pi)*1,0+sin(3*pi/4+clock*2*pi),0>
	<0+cos(5*pi/4+clock*2*pi)*1,0+sin(5*pi/4+clock*2*pi),0>
	<0+cos(7*pi/4+clock*2*pi)*1,0+sin(7*pi/4+clock*2*pi),0>
	texture { pigment { color rgb <1,1,1> } }
	no_shadow
	}

polygon {
	3,
	<0+cos(pi/4+clock*2*pi),0+sin(pi/4+clock*2*pi),0>
	<0,0,-1.4444>
	<0+cos(7*pi/4+clock*2*pi),0+sin(7*pi/4+clock*2*pi),0>
	texture { pigment { color rgb <1,1,1> } }
	no_shadow
	}

polygon {
	3,
	<0+cos(pi/4+clock*2*pi),0+sin(pi/4+clock*2*pi),0>
	<0,0,-1.4444>
	<0+cos(3*pi/4+clock*2*pi),0+sin(3*pi/4+clock*2*pi),0>
	texture { pigment { color rgb <1,1,1> } }
	no_shadow
	}

polygon {
	3,
	<0+cos(3*pi/4+clock*2*pi),0+sin(3*pi/4+clock*2*pi),0>
	<0,0,-1.4444>
	<0+cos(5*pi/4+clock*2*pi),0+sin(5*pi/4+clock*2*pi),0>
	texture { pigment { color rgb <1,1,1> } }
	no_shadow
	}


polygon {
	3,
	<0+cos(5*pi/4+clock*2*pi),0+sin(5*pi/4+clock*2*pi),0>
	<0,0,-1.4444>
	<0+cos(7*pi/4+clock*2*pi),0+sin(7*pi/4+clock*2*pi),0>
	texture { pigment { color rgb <1,1,1> } }
	no_shadow
	}

//Le triangle rouge


polygon {
	4,
	<0+cos(pi/4+clock*2*pi)*1,0+sin(pi/4+clock*2*pi),0.5>
	<0+cos(3*pi/4+clock*2*pi)*1,0+sin(3*pi/4+clock*2*pi),0.5>
	<0+cos(5*pi/4+clock*2*pi)*1,0+sin(5*pi/4+clock*2*pi),0.5>
	<0+cos(7*pi/4+clock*2*pi)*1,0+sin(7*pi/4+clock*2*pi),0.5>
	texture { pigment { color rgb <1,0,0> } }
	no_shadow
	}

polygon {
	3,
	<0+cos(pi/4+clock*2*pi)*1,0+sin(pi/4+clock*2*pi),0.5>
	<0,0,0.5+1.4444>
	<0+cos(7*pi/4+clock*2*pi)*1,0+sin(7*pi/4+clock*2*pi),0.5>
	texture { pigment { color rgb <1,0,0> } }
	no_shadow
	}


polygon {
	3,
	<0+cos(pi/4+clock*2*pi)*1,0+sin(pi/4+clock*2*pi),0.5>
	<0,0,0.5+1.4444>
	<0+cos(3*pi/4+clock*2*pi)*1,0+sin(3*pi/4+clock*2*pi),0.5>
	texture { pigment { color rgb <1,0,0> } }
	no_shadow
	}

polygon {
	3,
	<0+cos(3*pi/4+clock*2*pi)*1,0+sin(3*pi/4+clock*2*pi),0.5>
	<0,0,0.5+1.4444>
	<0+cos(5*pi/4+clock*2*pi)*1,0+sin(5*pi/4+clock*2*pi),0.5>
	texture { pigment { color rgb <1,0,0> } }
	no_shadow
	}


polygon {
	3,
	<0+cos(5*pi/4+clock*2*pi)*1,0+sin(5*pi/4+clock*2*pi),0.5>
	<0,0,0.5+1.4444>
	<0+cos(7*pi/4+clock*2*pi)*1,0+sin(7*pi/4+clock*2*pi),0.5>
	texture { pigment { color rgb <1,0,0> } }
	no_shadow
	}

© Copyright Beelog 2013 Un Script pour Persistance of Vision écrit par denis Bertin
Juin