####################################################################################################################################### # # # G E N E R A T I O N D ' U N E S T R U C T U R E F R A C T A L E T R I D I M E N S I O N N E L L E : # # # # # # Author of '$xiirf/.FRA3.P2.1.$U' : # # # # Jean-Francois Colonna (LACTAMME, 20170728134625). # # # ####################################################################################################################################### $Z FilSTmpB FFrAcTaL $c #include <stdio.h> $c $c #define N0 cPremiere $c #define N cDerniere $c $c #define OZ 0.0 $c #define EZ 1.0 $c $c int main() $c { $c int n; $c $c for (n=N0 ; n<=N ; n++) $c { $c double Z=((EZ*(n-N0))+(OZ*(N-n)))/(N-N0); $c $c printf("echo %c$xci/fract_3D.01$X $c mx=0.5 my=0.5 mz=0.5 $c Z=%.16f $c standard=VRAI $c R=$_____ImageT2.%04d $c $formatI%c $c >> $FFrAcTaL\n" $c ,'\'' $c ,Z $c ,n $c ,'\'' $c ); $c } $c } $Z execPar_V $FFrAcTaL $Z FilSTmpE FFrAcTaL $c #include <stdio.h> $c $c #define N0 cPremiere $c #define N cDerniere $c $c int main() $c { $c int n; $c $c for (n=N0 ; n<=N ; n++) $c { $c printf("$xci/passe_bande$X $c A=$_____ImageT2.%04d $c forcer_niveau_intermediaire=VRAI $c niveau_intermediaire=$BLANC $c seuil_inferieur=`calcul $GRIS_4-5` $c seuil_superieur=`calcul $GRIS_4+5` $c R=$_____ImageT1.%04d $c $formatI\n" $c ,n $c ,n $c ); $c } $c }