Compare commits
6 Commits
b03e7f5571
...
fc8ae98193
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fc8ae98193 | ||
|
|
74892d028c | ||
|
|
be152900c4 | ||
|
|
fef45190f3 | ||
|
|
3ab7c627d9 | ||
|
|
85c447f825 |
14
contexte.inc
14
contexte.inc
@ -250,7 +250,7 @@ texture {
|
|||||||
#declare Repere = object
|
#declare Repere = object
|
||||||
{
|
{
|
||||||
union {
|
union {
|
||||||
#local R = 0.008;
|
#local R = 0.010;
|
||||||
cylinder { 0, <1, 0, 0>, R pigment { color Red } }
|
cylinder { 0, <1, 0, 0>, R pigment { color Red } }
|
||||||
cylinder { 0, <0, 1, 0>, R pigment { color Green } }
|
cylinder { 0, <0, 1, 0>, R pigment { color Green } }
|
||||||
cylinder { 0, <0, 0, 1>, R pigment { color Blue } }
|
cylinder { 0, <0, 0, 1>, R pigment { color Blue } }
|
||||||
@ -296,8 +296,8 @@ union {
|
|||||||
/* a l'exterieur du 'circular' */
|
/* a l'exterieur du 'circular' */
|
||||||
#for (foo, 0, 359, 20)
|
#for (foo, 0, 359, 20)
|
||||||
#local CK = radians(foo + (5*rand(Rng1)));
|
#local CK = radians(foo + (5*rand(Rng1)));
|
||||||
#local DX = 79 * sin(CK);
|
#local DX = 77 * sin(CK);
|
||||||
#local DZ = 83 * cos(CK);
|
#local DZ = 81 * cos(CK);
|
||||||
|
|
||||||
// #local Texte = str(CK, 5, 3);
|
// #local Texte = str(CK, 5, 3);
|
||||||
// #debug concat ("Les Choses, CK = ", Texte, "\n")
|
// #debug concat ("Les Choses, CK = ", Texte, "\n")
|
||||||
@ -316,7 +316,7 @@ union {
|
|||||||
light_source {
|
light_source {
|
||||||
<2.3, 5.50, 2.8> color Gray70
|
<2.3, 5.50, 2.8> color Gray70
|
||||||
spotlight
|
spotlight
|
||||||
radius 14 falloff 10 tightness 10
|
radius 14 falloff 10 tightness 8
|
||||||
point_at <0, 0.95, 0.22222222>
|
point_at <0, 0.95, 0.22222222>
|
||||||
}
|
}
|
||||||
#end
|
#end
|
||||||
@ -356,9 +356,9 @@ sky_sphere {
|
|||||||
gradient y
|
gradient y
|
||||||
color_map {
|
color_map {
|
||||||
[ 0.2 color Gray20 ]
|
[ 0.2 color Gray20 ]
|
||||||
[ 0.4 color rgb <.7, .3, .5> ]
|
[ 0.4 color rgb <.5, .3, .5> ]
|
||||||
[ 0.7 color Gray30 ]
|
[ 0.7 color Gray30 ]
|
||||||
[ 0.9 color rgb <.9, .6, .5> ]
|
[ 0.9 color rgb <.5, .6, .5> ]
|
||||||
[ 1.0 color Gray20 ]
|
[ 1.0 color Gray20 ]
|
||||||
}
|
}
|
||||||
turbulence 3.14159 + 0.84 * Cos_010(NormClock)
|
turbulence 3.14159 + 0.84 * Cos_010(NormClock)
|
||||||
@ -374,7 +374,7 @@ sky_sphere {
|
|||||||
|
|
||||||
/* XXX XXX */
|
/* XXX XXX */
|
||||||
light_source {
|
light_source {
|
||||||
<-4, 54, -17>
|
<-4, 54, -27>
|
||||||
colour Gray40
|
colour Gray40
|
||||||
parallel
|
parallel
|
||||||
point_at 0
|
point_at 0
|
||||||
|
|||||||
@ -15,7 +15,12 @@
|
|||||||
merge {
|
merge {
|
||||||
cylinder { 0, y/2, 0.07 }
|
cylinder { 0, y/2, 0.07 }
|
||||||
cylinder { 0, y/6, 0.33 }
|
cylinder { 0, y/6, 0.33 }
|
||||||
texture { T_WIP_alert }
|
#local R = rand(Rng1);
|
||||||
|
#if ( R < 0.52)
|
||||||
|
texture { T_WIP_alert }
|
||||||
|
#else
|
||||||
|
texture { WIP_color }
|
||||||
|
#end
|
||||||
}
|
}
|
||||||
#end // macro
|
#end // macro
|
||||||
// ------------------------------------------------------ ##
|
// ------------------------------------------------------ ##
|
||||||
|
|||||||
@ -16,7 +16,7 @@ global_settings {
|
|||||||
#declare Rng2 = seed(now*24*60*60);
|
#declare Rng2 = seed(now*24*60*60);
|
||||||
#declare bar = rand(Rng2);
|
#declare bar = rand(Rng2);
|
||||||
|
|
||||||
#declare NormClock = clock / NbFrames;
|
#declare NormClock = clock / (NbFrames - 1);
|
||||||
|
|
||||||
/* ------------------------------------------------------------ */
|
/* ------------------------------------------------------------ */
|
||||||
/*
|
/*
|
||||||
|
|||||||
@ -35,8 +35,8 @@ object { Le_Decor }
|
|||||||
|
|
||||||
// object { Repere scale 3 translate <SzSol, 2, SzSol> }
|
// object { Repere scale 3 translate <SzSol, 2, SzSol> }
|
||||||
|
|
||||||
#local DistCam = 290;
|
#local DistCam = 297;
|
||||||
#local CK = 0.333 + (0.33 * NormClock);
|
#local CK = -0.111 + (0.222 * NormClock);
|
||||||
#declare CamX = DistCam * sin(CK);
|
#declare CamX = DistCam * sin(CK);
|
||||||
#declare CamY = 28;
|
#declare CamY = 28;
|
||||||
#declare CamZ = DistCam * cos(CK);
|
#declare CamZ = DistCam * cos(CK);
|
||||||
@ -47,5 +47,5 @@ camera {
|
|||||||
// focal_point <2, 1, 12>
|
// focal_point <2, 1, 12>
|
||||||
// aperture 0.046
|
// aperture 0.046
|
||||||
// blur_samples 30
|
// blur_samples 30
|
||||||
angle 8
|
angle 7
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,12 +6,10 @@ Build system and utilities.
|
|||||||
|
|
||||||
Un argument pour construire la séquence entière ou deux pour démarrer au milieu, c'est pratique quand le disjoncteur fait un *beu-beu*. Exemples :
|
Un argument pour construire la séquence entière ou deux pour démarrer au milieu, c'est pratique quand le disjoncteur fait un *beu-beu*. Exemples :
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
$ tools/mkloop.sh survol
|
$ tools/mkloop.sh survol
|
||||||
$ tools/mkloop.sh survol 133
|
$ tools/mkloop.sh survol 133
|
||||||
```
|
```
|
||||||
|
|
||||||
## Linkfarming
|
## Linkfarming
|
||||||
|
|
||||||
C'est le directeur de la production, le grand
|
C'est le directeur de la production, le grand
|
||||||
@ -29,4 +27,10 @@ Le fichier de sortie s'appelle *wip.mp4* dans tous les cas.
|
|||||||
|
|
||||||
## Plot the timing
|
## Plot the timing
|
||||||
|
|
||||||
|
On peut visualiser le temps de calcul d'une séquence avec la
|
||||||
|
commande [plot-timing.sh](./plot-timing.sh) qui génère un fichier
|
||||||
|
PNG. C'est un script basé sur *Awk* et *Gnuplot*.
|
||||||
|
|
||||||
|
```
|
||||||
|
$ tools/plot-timing.sh essai && d timing.png
|
||||||
|
```
|
||||||
|
|||||||
@ -4,7 +4,7 @@ Img_Width=1024
|
|||||||
Img_Height=720
|
Img_Height=720
|
||||||
|
|
||||||
# for imagemagick
|
# for imagemagick
|
||||||
TEXTCOL="Red"
|
TEXTCOL="Gray70"
|
||||||
STROKOL="OliveDrab"
|
STROKOL="DarkOliveGreen"
|
||||||
|
|
||||||
NBFRAMES=450
|
NBFRAMES=450
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user