Compare commits

..

4 Commits

Author SHA1 Message Date
Tonton Th
0171c92682 ajust the camera 2025-12-18 11:28:16 +01:00
Tonton Th
93faad3ec2 a small tuning 2025-12-18 11:22:16 +01:00
Tonton Th
0f15000cf5 patch & explain 2025-12-18 11:21:03 +01:00
Tonton Th
2ec6a3f11c cosmetic 2025-12-18 11:19:51 +01:00
7 changed files with 21 additions and 16 deletions

View File

@ -31,7 +31,7 @@ object { Repere scale 10 translate y*7 }
object { Le_Decor } object { Le_Decor }
camera { camera {
location <45, 179+(51*NormClock), 18-(17*NormClock)> location <45, 179+(56*NormClock), 18-(17*NormClock)>
look_at <0, 1.18, 0.17 + (2.4*NormClock)> look_at <0, 1.18, 0.17 + (2.4*NormClock)>
angle 50 angle 50
} }

View File

@ -22,7 +22,7 @@ object { Le_Decor }
// ======================================================= // =======================================================
#declare R_circ = R_circular + 0.07; #declare R_circ = R_circular + 0.07;
#declare CK = 1.777 + (1.23 * sqrt(NormClock * 3.141592654)); #declare CK = 1.9 + (1.23 * sqrt(NormClock * 3.141592654));
#declare CamX = R_circ * cos(CK); #declare CamX = R_circ * cos(CK);
#declare CamY = 3.08 + abs(sin(CK/4.00)); #declare CamY = 3.08 + abs(sin(CK/4.00));

View File

@ -40,7 +40,6 @@ difference {
cone { 0, 0.01, y*0.41, 0.10 translate <Dx, 0, Dz> } cone { 0, 0.01, y*0.41, 0.10 translate <Dx, 0, Dz> }
#end #end
} }
// pigment { color Red*0.8 }
texture { T } texture { T }
#end // macro #end // macro
@ -174,13 +173,13 @@ union {
object { HexaBalls object { HexaBalls
texture { Lightning1 scale 0.44 } texture { Lightning1 scale 0.44 }
rotate <clock/3, clock/4, clock/9> rotate <clock/3, clock/4, clock/9>
translate <2, 1.71+Cos_010(NormClock), 4> translate <2, 1.51+Cos_010(NormClock), 4>
} }
object { HexaBalls object { HexaBalls
texture { Lightning2 scale 0.56 } texture { Lightning2 scale 0.56 }
rotate <-clock, clock*0.33333, clock*3> rotate <-clock, clock*0.33333, clock*3>
translate <4, 1.51+Cos_010(NormClock), -3> translate <4, 1.31+Cos_010(NormClock), -3>
} }
} }
} }
@ -304,9 +303,9 @@ union {
union { union {
#if (1) #if (1)
light_source { light_source {
<2.3, 5.50, 4.86> color Gray70 <2.3, 5.50, 2.86> color Gray70
spotlight spotlight
radius 14 falloff 10 tightness 8 radius 19 falloff 10 tightness 8
point_at <0, 0.95, 0.22222222> point_at <0, 0.95, 0.22222222>
} }
#end #end
@ -374,7 +373,7 @@ union {
object { Les_Arches (1) rotate y*59 translate <-22, 0, -20> } object { Les_Arches (1) rotate y*59 translate <-22, 0, -20> }
object { Les_Arches (2) rotate y*152 translate <-34, 0, -26> } object { Les_Arches (2) rotate y*152 translate <-34, 0, -26> }
object { Les_Cahutes () translate <22, 0, -9> } object { Les_Cahutes () translate <23, 0, -10> }
/* les trucs dans le Y négatif */ /* les trucs dans le Y négatif */
object { OpenBox(1.5, 0.08) translate <-16, 1.49, -88> } object { OpenBox(1.5, 0.08) translate <-16, 1.49, -88> }

View File

@ -86,9 +86,9 @@ text {
ttf "datas/ComicMono-Bold.ttf" Texte 0.1, 0 ttf "datas/ComicMono-Bold.ttf" Texte 0.1, 0
texture { tPlasticPrune } texture { tPlasticPrune }
} }
scale 3.00 scale 2.10
rotate 90*x rotate 90*x
translate <-4.5, 0.044, 0> translate <-4.5, 0.043, 0>
} }
// ======================================================= // =======================================================
@ -107,6 +107,12 @@ prism {
#else texture { T_Beton_2 } #else texture { T_Beton_2 }
#end // if #end // if
scale 0.666 // WTF ? scale 0.666 // WTF ?
/* Pourquoi ce scale ?
* parce que la spline est 'hardcoded' quelques
* lignes plus haut, et qu'il y a des méthodes
* probablement bien tordues pour rendre ça en
* même temps kitch et technofutile
*/
} }
#end // macro #end // macro
// ------------------------------------------------------ ## // ------------------------------------------------------ ##

View File

@ -23,7 +23,7 @@ object { Le_Decor }
camera { camera {
location Loc_cam location Loc_cam
#local H = 1.16 + (NormClock*0.28); #local H = 1.16 + (NormClock*0.34);
look_at Pos_RedB_1 + <0.02, H, 0> look_at Pos_RedB_1 + <0.02, H, 0>
// focal_point <0.37, 0.90, 0> // focal_point <0.37, 0.90, 0>
// aperture 0.046 // aperture 0.046

View File

@ -83,7 +83,7 @@ difference {
#macro HW_une_patte () #macro HW_une_patte ()
merge { merge {
/* XXX */ /* XXX */
#local RP = 0.042; #local RP = 0.040;
sphere { 0, RP scale <1, 0.84, 1> translate 0.35*y } sphere { 0, RP scale <1, 0.84, 1> translate 0.35*y }
cylinder { 0, 0.35*y, RP } cylinder { 0, 0.35*y, RP }
sphere { 0, 0.09 scale <1, 0.29, 1> } sphere { 0, 0.09 scale <1, 0.29, 1> }
@ -123,7 +123,7 @@ merge {
#end // FOR #end // FOR
} }
texture { GoldDark } texture { GoldDark }
rotate y * 65 * Cos_010(NormClock) rotate y * (165 * NormClock)
translate y*0.32 translate y*0.32
} }
/* ------------------------------------------------------------ */ /* ------------------------------------------------------------ */

View File

@ -25,11 +25,11 @@ object { Repere scale 2 translate y*2 }
#declare Debut = <-3, 89, 188> ; #declare Debut = <-3, 89, 188> ;
#declare Fin = < 2, 91, -15> ; #declare Fin = < 2, 91, -15> ;
#declare Pos = sqrt(NormClock+0.04); #declare Pos = sqrt(NormClock+0.02);
#declare PosCam = Interpolate(Debut, Fin, Pos); #declare PosCam = Interpolate(Debut, Fin, Pos);
#declare LatX = 3 * sin(NormClock*7.1); #declare LatX = 3 * sin(NormClock*7.1);
#declare LatCam = PosCam + <LatX, -20, -(3+(NormClock+11))>; #declare LatCam = PosCam + <LatX, -20, -(4+(NormClock+11))>;
camera { camera {
location PosCam location PosCam