Fichier ex04.mp (figure 1) — Modifié le 3 Août 2008 à 07 h 59

ex04.mp (figure 1)
Source

%by pst-solids3d

input mp-solid

%3'56''

figureespace(-20u,-20u,20u,20u);
Initialisation(500,0,20,100);
for k=1 upto 5:
  Ferme[k]:=true;
endfor;
nb:=15;
subh:=18;
outcolor:=bleu;
angy:=90;
TR:=(0,-2.5,0);
Objettore1("R=0.9","r=0.25");
TR:=(0,0,0);
outcolor:=marron;
Objettore2("R=0.9","r=0.25");
TR:=(0,2.5,0);
outcolor:=rouge;
Objettore3("R=0.9","r=0.25");
angy:=0;
TR:=(0,-1.25,0);
outcolor:=jaune;
Objettore4("R=0.9","r=0.25");
TR:=(0,1.25,0);
outcolor:=vert;
Objettore5("R=0.9","r=0.25");
nbobj:=5;
DessineFusion;
finespace;
end