Compare commits

..

No commits in common. "1c2a4f9be27045b2dbe616998a38669249ed6de0" and "877b5aaef60f41a66ad5268f913e1ffb225cbafd" have entirely different histories.

4 changed files with 20 additions and 47 deletions

View File

@ -9,8 +9,8 @@
* une idée à creuser davantage...
*/
#macro Chose () // = object
#declare Chose = object
{
merge {
difference {
cone { -1.2*y, 0.81, 0.2*y, 1.12 }
@ -25,17 +25,17 @@ merge {
cylinder { 0, <C2X, H, C2Z>, R }
sphere { <C2X, H, C2Z>, R }
#end
#if (rand(Rng1) < 0.42)
}
#if (rand(Rng1) < 0.225)
texture { tPlasticOrange }
#else
texture { Ruby_Glass }
#end // if
#end
scale <0.62, 0.5, 0.61>
rotate -y*clock
translate y*1.10
translate y*1.20
}
#end // macro
/* ======================================================= */
#declare Horloge = object

View File

@ -11,7 +11,7 @@ global_settings {
#include "stones.inc"
#include "woods.inc"
#declare Rng1 = seed(1234);
#declare Rng1 = seed(1337);
#declare foo = rand(Rng1);
#declare Rng2 = seed(now*24*60*60);
#declare bar = rand(Rng2);
@ -48,8 +48,8 @@ global_settings {
#declare WIP_color = texture
{
pigment { color Cyan*NormClock }
finish { phong 0.23 ambient 0.50 }
pigment { color Cyan*0.55 }
finish { phong 0.23 }
}
#declare T_WIP_alert = texture
@ -61,16 +61,15 @@ finish { ambient 1 specular 0.80 }
#declare T_Planete_A = texture
{
pigment { color rgb <0.20, 0.30, 0.10> }
normal { dents 0.28 scale 0.5}
normal { dents 0.38 scale 0.5}
finish { phong 0.70 reflection 0.05 }
}
#declare T_Planete_B = texture
{
pigment { rgb <0.42, 0.50, 0.70> }
normal { dents 0.14 scale 0.5}
finish { metallic 0.50 reflection 0.33 }
}
/* ------------------------------------------------------------ */
/*
* deux textures pour faire des batiments
*/
@ -87,7 +86,7 @@ pigment { color <0.7, 0.6, 0.5> }
normal { dents 0.25 scale 3 }
finish { roughness 1.00 }
}
/* ------------------------------------------------------------ */
#declare tPlasticOrange = texture
{
pigment{rgb <2.000, 0.50, 0.0>}
@ -134,7 +133,7 @@ finish {
}
} // This is a metal.
/* ============================================================ */
/* ------------------------------------------------------------ */
/*
* Usefull macros
*/

View File

@ -1,26 +0,0 @@
#!/bin/bash
set -eu
# retour aux vieilles pratiques : la Gif animée.
# c'est une nouveauté du 18 octobre 2025
SEQ="essai"
if [ $# == 1 ] ; then
SEQ=$1
fi
GIF="t-$SEQ.gif"
echo "seq $SEQ -> $GIF" | tee -a WS/log
convert \
-delay 10 -dither none \
-resize 40% \
-colorspace gray -equalize \
-colors 15 \
frames/$SEQ/?[012]*[369].png \
$GIF

View File

@ -42,7 +42,7 @@ do
# echo $frame $img $txt
convert ${TMPIMG} \
-font Courier-Bold \
-pointsize 14 \
-pointsize 11 \
-kerning 4 \
-fill ${TEXTCOL} \
-gravity north \