//TeXgraph 1.94 //options: +W640 +H533 +A +P +FN # include "shapes.inc" global_settings { charset utf8 ambient_light rgb 1.5 } background{color rgb<0.82745098039215,0.82745098039215,0.82745098039215>} camera{ orthographic location 17320.5080756888*<-0.75744288503322,0.41985744713241,0.5> sky <0.43730985356969,-0.24240481012316,0.86602540378443> up 10*y right 12*x look_at <0,0,0> translate <0.43730985356969,-0.24240481012316,0.86602540378443>} light_source { 17320.5080756888*<-0.65762833413012,0.00574481087166,0.75332062980997> color rgb<1,1,1>} #declare labelbase = 0.5; #declare police = "timrom.ttf"; // déclarations des objets //le plan #declare objet1 = mesh2{ vertex_vectors{ 4, <5,5,1.76776695296637>, <5,-5,-1.76776695296637>, <-5,-5,-1.76776695296637>, <-5,5,1.76776695296637> } face_indices{ 2, <0,1,2>, <0,2,3> } } //le tore #declare objet2 = torus { 3,1 matrix <-1,0,0, 0,6.12303176911189E-17,1, 0,-1,6.12303176911189E-17, 0,0,0> } //cercle 1 #declare objet3 = torus { 3,0.0375 matrix <-1,0,0, 0,-0.33333333333333,0.94280904158206, 0,-0.94280904158206,-0.33333333333333, 1,0,0> } //cercle 2 #declare objet4 = torus { 3,0.0375 matrix <-1,0,0, 0,-0.33333333333333,0.94280904158206, 0,-0.94280904158206,-0.33333333333333, -1,0,0> } //Axes #declare objet5 = union{ cone { <0,5,0> 0 <0,4.75,0> 0.1} cone { <-5,0,0> 0 <-4.75,0,0> 0.1} cone { <0,0,5> 0 <0,0,4.75> 0.1} cylinder { <0,-5,0> <0,4.75,0> 0.0125} cylinder { <5,0,0> <-4.75,0,0> 0.0125} cylinder { <0,0,-5> <0,0,4.75> 0.0125} } #declare labelsize =1; #declare objet6 = text{ ttf police "x" 0.0125 0 scale labelbase*labelsize translate<-Text_Space("timrom.ttf","x",labelbase, 0)/2, -Text_Space("timrom.ttf","x",labelbase, 0)/2, 0> matrix<0.48480962024633,0.87461970713939,0, 0.43730985356969,-0.24240481012316,0.86602540378443, -0.75744288503322,0.41985744713241,0.5, -5.5,0,0> } #declare labelsize =1; #declare objet7 = text{ ttf police "y" 0.0125 0 scale labelbase*labelsize translate<-Text_Space("timrom.ttf","y",labelbase, 0)/2, -Text_Space("timrom.ttf","x",labelbase, 0)/2, 0> matrix<0.48480962024633,0.87461970713939,0, 0.43730985356969,-0.24240481012316,0.86602540378443, -0.75744288503322,0.41985744713241,0.5, 0,5.5,0> } #declare labelsize =1; #declare objet8 = text{ ttf police "z" 0.0125 0 scale labelbase*labelsize translate<-Text_Space("timrom.ttf","z",labelbase, 0)/2, 0, 0> matrix<0.48480962024633,0.87461970713939,0, 0.43730985356969,-0.24240481012316,0.86602540378443, -0.75744288503322,0.41985744713241,0.5, 0,0,5.25> } // rendu des objets //le plan object{ objet1 pigment{ color rgb<0.56078431372549,0.73725490196078,0.56078431372549> transmit 0.5} finish{ ambient 0.35 diffuse 0.8 } } //le tore object{ objet2 pigment{ color rgb<0.27450980392156,0.50980392156862,0.70588235294117>} finish{ ambient 0.35 diffuse 0.8 phong 0.5} } //cercle 1 object{ objet3 pigment{ color rgb<1,0,0>} finish{ ambient 0.35 diffuse 0.8 phong 0.5} } //cercle 2 object{ objet4 pigment{ color rgb<1,0,0>} finish{ ambient 0.35 diffuse 0.8 phong 0.5} } //Axes object{ objet5 pigment{ color rgb<1,0.84313725490196,0>} finish{ ambient 0.35 diffuse 0.8 phong 0.5} } object{ objet6 pigment{ color rgb<0,0,0>} finish{ ambient 0.35 diffuse 0.8 phong 0.5} no_shadow } object{ objet7 pigment{ color rgb<0,0,0>} finish{ ambient 0.35 diffuse 0.8 phong 0.5} no_shadow } object{ objet8 pigment{ color rgb<0,0,0>} finish{ ambient 0.35 diffuse 0.8 phong 0.5} no_shadow }