Compare commits

..

No commits in common. "c82f6f4de5251993b71ede6cecac9f277912d8f9" and "134fd180c17e2eb0b716cf2d8cfe6b9fa0c5a647" have entirely different histories.

20 changed files with 134 additions and 179 deletions

View File

@ -19,18 +19,18 @@
#declare POS_Cutoff = <-24, 0, -7>; #declare POS_Cutoff = <-24, 0, -7>;
#local TY = 1.55; #local TY = 1.5;
#declare Pos = <0.50, -0.70, 0.75>; #declare Pos = <0.70, -0.70, 0.45>;
#declare Rad = 0.40 + (1.*NormClock); #declare Rad = 0.40 + (1.52*NormClock);
difference { difference {
object { HexaBenz () } object { HexaBenz () }
sphere { Pos, Rad } sphere { Pos, Rad }
translate y*TY + POS_Cutoff translate y*TY + POS_Cutoff
} }
sphere { Pos, 0.025 translate y*TY + POS_Cutoff texture { T_WIP_alert } } // sphere { Pos, 0.10 translate y*TY + POS_Cutoff }
// object { Repere translate y*2.8 + POS_Cutoff } // object { Repere scale 2 translate y*2.8 + POS_Cutoff }
/* this one is for debugging */ /* this one is for debugging */
object { OpenBox translate y*TY + POS_Cutoff } object { OpenBox translate y*TY + POS_Cutoff }
@ -47,12 +47,12 @@ object { Le_Decor }
// ======================================================= // =======================================================
#local CamX = -27.4 + (3.29*Cos_01(NormClock)); #local CamX = -25.4 + (2.29*Cos_01(NormClock));
#local CamY = 2.1 - (0.24*sqrt(NormClock)); #local CamY = 2.1 - (0.24*sqrt(NormClock));
#local CamZ = -0.85 + (2.02*NormClock); #local CamZ = -0.85 + (2.02*NormClock);
camera { camera {
location <CamX, CamY, CamZ> location <CamX, CamY, CamZ>
look_at <0, 1.5, 0> + POS_Cutoff look_at <0, 1.5, 0> + POS_Cutoff
angle 35 - 5*Cos_01(NormClock) angle 39 - 5*Cos_01(NormClock)
} }

View File

@ -32,7 +32,7 @@ object { Le_Decor }
camera { camera {
location <45, 126, 18> location <45, 126, 18>
look_at <0, 1.18, 0.17 + (2.9*NormClock)> look_at <0, 1.18, 0.17 + (1.9*NormClock)>
angle 49 angle 49
} }

View File

@ -8,18 +8,16 @@
#include "groundbase.inc" #include "groundbase.inc"
#include "gadgets.inc"
/* ======================================================= */ /* ======================================================= */
/* /*
* essai du 12 mars 2025 * essai du 12 mars 2025
*/ */
#declare RedB_0_X = 19; #declare RedB_0_X = 18;
#declare RedB_0_Z = 29; #declare RedB_0_Z = 28;
#declare RedB_1_X = -24; #declare RedB_1_X = -24;
#declare RedB_1_Z = 7; #declare RedB_1_Z = 4;
#declare Pos_RedB_0 = <RedB_0_X, 0, RedB_0_Z>; #declare Pos_RedB_0 = <RedB_0_X, 0, RedB_0_Z>;
#declare Pos_RedB_1 = <RedB_1_X, 0, RedB_1_Z>; #declare Pos_RedB_1 = <RedB_1_X, 0, RedB_1_Z>;
@ -28,9 +26,9 @@
difference { difference {
#local R = 2.46; #local R = 2.46;
cylinder { 0, y*0.40, R } cylinder { 0, y*0.40, R }
cylinder { 0, y*0.36, R*0.99 } cylinder { 0, y*0.36, R*0.98 }
cone { y*0.37, R*0.80, y*0.425, R*0.83 } cone { y*0.37, R*0.80, y*0.42, R*0.83 }
#for (Foo, 0, 359, 10) #for (Foo, 20, 339, 10)
#local Dx = R * sin(radians(Foo)); #local Dx = R * sin(radians(Foo));
#local Dz = R * cos(radians(Foo)); #local Dz = R * cos(radians(Foo));
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> }
@ -50,15 +48,11 @@ union {
box { <-1, 0, -1>, <1, 1.94, 1> } box { <-1, 0, -1>, <1, 1.94, 1> }
translate y*(H_gyro+H_gylampe+0.04) translate y*(H_gyro+H_gylampe+0.04)
} }
#local R = rand(Rng1); #if (rand(Rng1) < 0.5)
#if (R < 0.33333)
texture { T_Stone25 scale 1+rand(Rng1) } texture { T_Stone25 scale 1+rand(Rng1) }
#elseif (R < 0.66666)
texture { T_Stone15 scale 1+rand(Rng1) }
#else #else
texture { T_Stone6 } texture { T_Stone6 }
#end #end
#undef R
} }
#end // macro #end // macro
@ -111,22 +105,7 @@ union {
} }
#end #end
/* ======================================================= */ /* ======================================================= */
/* 11 avril 2025, je pose un grand cercle d'hexapoles
*/
#declare Les_HexaPoles = object
{
union {
#for (Ang, 0, 359, 15)
#local E = (SzSol * 1.40) + (6*rand(Rng1));
#local Ra = radians(Ang);
#local Xp = E * cos(Ra);
#local Zp = E * sin(Ra);
object { HexaPole () translate <Xp, 0, Zp> }
#end
}
}
/* ======================================================= */
#declare Rhxba = 0.30; #declare Rhxba = 0.30;
#declare R2hxba = Rhxba * 0.48; #declare R2hxba = Rhxba * 0.48;
@ -193,9 +172,9 @@ blob {
*/ */
#fopen Holes "WS/holes.log" write #fopen Holes "WS/holes.log" write
#for (Idx, 0, 5) #for (Idx, 0, 5)
#local Angle = (Idx + 0.19) * 1.090; #local Angle = (Idx + 0.17) * 1.090;
#local Px = sin(Angle) * (SzSol * 0.97); #local Px = sin(Angle) * (SzSol * 1.21);
#local Pz = cos(Angle) * (SzSol * 1.04); #local Pz = cos(Angle) * (SzSol * 1.23);
#declare UnderHoles[Idx] = <Px, 0, Pz>; #declare UnderHoles[Idx] = <Px, 0, Pz>;
#write (Holes, Idx, " ", Angle, " ", UnderHoles[Idx], "\n") #write (Holes, Idx, " ", Angle, " ", UnderHoles[Idx], "\n")
#end #end
@ -212,7 +191,7 @@ difference {
cylinder { -y*5, y*5, 3.4 translate UnderHoles[Foo] } cylinder { -y*5, y*5, 3.4 translate UnderHoles[Foo] }
#end #end
} }
texture { T_Planete_A scale 0.42 } texture { T_Planete_A scale 0.3333 }
/* /*
texture { texture {
pigment { color Gray20 } pigment { color Gray20 }
@ -236,6 +215,31 @@ union {
/* ======================================================= */ /* ======================================================= */
#declare OpenBox = object
{
union {
#local R = 0.010;
/* les verticales */
cylinder { <-1, -1, -1>, <-1, 1, -1>, R }
cylinder { < 1, -1, -1>, < 1, 1, -1>, R }
cylinder { <-1, -1, 1>, <-1, 1, 1>, R }
cylinder { < 1, -1, 1>, < 1, 1, 1>, R }
/* en bas */
cylinder { < 1, -1, 1>, <-1, -1, 1>, R }
cylinder { < 1, -1, -1>, <-1, -1, -1>, R }
cylinder { <-1, -1, 1>, <-1, -1, -1>, R }
cylinder { < 1, -1, 1>, < 1, -1, -1>, R }
/* en haut */
cylinder { < 1, 1, 1>, <-1, 1, 1>, R }
cylinder { < 1, 1, -1>, <-1, 1, -1>, R }
cylinder { <-1, 1, 1>, <-1, 1, -1>, R }
cylinder { < 1, 1, 1>, < 1, 1, -1>, R }
#undef R
texture { WIP_color }
}
}
/* ======================================================= */ /* ======================================================= */
/* /*
@ -263,7 +267,7 @@ union {
object { Quad_lampe translate <-T, H, T> } object { Quad_lampe translate <-T, H, T> }
object { Quad_lampe translate < T, H, T> } object { Quad_lampe translate < T, H, T> }
} }
rotate -19 * y rotate -12 * y
} }
/* ======================================================= */ /* ======================================================= */
@ -345,14 +349,11 @@ sky_sphere {
union { union {
object { Underground } object { Underground }
object { La_GroundBase } object { La_GroundBase }
object { RedBase_0 (T_Beton_1) object { RedBase_0 (T_Beton_1) translate <RedB_0_X, 0, RedB_0_Z> }
translate <RedB_0_X, 0, RedB_0_Z> } object { RedBase_0 (T_Beton_2) translate <RedB_1_X, 0, RedB_1_Z> }
object { RedBase_0 (T_Beton_2)
translate <RedB_1_X, 0, RedB_1_Z> }
// object { Les_Lumieres } // object { Les_Lumieres }
object { QuadriLight } object { QuadriLight }
object { Les_GyroPhares () } object { Les_GyroPhares () }
object { Les_HexaPoles }
} }
} }
/* ------------------------------------------------------------ */ /* ------------------------------------------------------------ */

View File

@ -17,40 +17,30 @@
// ======================================================= // =======================================================
#declare POS_Cutoff = <-24, 0, -7>;
#local TY = 1.5;
#declare Kbox = (2.03*NormClock); #declare Kbox = (2.03*NormClock);
difference { difference {
object { HexaCone () } object { HexaCone () }
box { -1, 1 translate z*Kbox } box { -1, 1 translate z*Kbox }
translate y*TY + POS_Cutoff translate y*1.5 + Pos_RedB_1
} }
// object { Repere scale 2 translate y*2.6 + POS_Cutoff } // object { Repere translate y*1.5 + Pos_RedB_1 }
/* this one is for debugging */ /* this one is for debugging */
object { OpenBox translate y*TY + POS_Cutoff } // object { OpenBox translate <0, 1.5, Kbox> }
// ======================================================= // =======================================================
light_source {
<-24, 0.4, -1>
colour Orange
parallel
point_at y*TY + POS_Cutoff
}
object { Le_Decor } object { Le_Decor }
// ======================================================= // =======================================================
#local CamX = -25.4 + (2.19*Cos_01(NormClock)); #local CamX = -33.4 + (2.89*Cos_01(NormClock));
#local CamY = 1.6 - (0.24*sqrt(NormClock)); #local CamY = 2.5 + (0.24*sqrt(NormClock));
#local CamZ = -0.85 + (2.02*NormClock); #local CamZ = 5.85 + (2.42*NormClock);
camera { camera {
location <CamX, CamY, CamZ> location <CamX, CamY, CamZ>
look_at <0, 1.5, 0> + POS_Cutoff look_at <0, 1.5, 0> + Pos_RedB_1
angle 39 - 5*Cos_01(NormClock) angle 39 - 5*Cos_01(NormClock)
} }

View File

@ -24,8 +24,8 @@ object { BiBenz rotate -y*(clock*0.19) translate Pos_RedB_0 }
{ {
#local K = 1.27; #local K = 1.27;
union { union {
object { HexaCone () rotate y*90 translate <-K, 1.7, 0> } object { HexaCone () rotate y*90 translate <-K, 1.7, 1> }
object { HexaCone () translate < K, 1.9, 0> } object { HexaCone () translate < K, 1.9, 1> }
} }
} }
object { BiCone rotate -y*(Cos_010(NormClock)*777) translate Pos_RedB_1 } object { BiCone rotate -y*(Cos_010(NormClock)*777) translate Pos_RedB_1 }
@ -43,16 +43,17 @@ object { HexaCone () rotate y*((12*NormClock)+80) translate P }
* le vaisseau "trident" passe a travers les * le vaisseau "trident" passe a travers les
* trous de l'underground * trous de l'underground
*/ */
#fopen Trid "WS/tridents.log" write
// #fopen Trid "WS/tridents.log" write
#for (Foo, 0, 5) #for (Foo, 0, 5)
#declare Dy = rand(Rng1)-3+(11*NormClock); #declare Dy = -3+(11*NormClock);
#declare Tr = UnderHoles[Foo] + <0, Dy, 0>; #declare Tr = UnderHoles[Foo] + <0, Dy, 0>;
#declare Ry = ((rand(Rng1)-NormClock)*77); // #write (Trid, Foo, " ", NormClock, " ", Dy, " ",
#write (Trid, Foo, " ", NormClock, " ", Dy, " ", // UnderHoles[Foo], " ", Tr, "\n")
Ry, " ", Tr, "\n") object { Trident_A () rotate y*((rand(Rng1)-NormClock)*77)
object { Trident_A () rotate y*Ry translate Tr } translate Tr }
#end #end
#fclose Trid // #fclose Trid
/* /*
* echange hexacone et hexabenz * echange hexacone et hexabenz
@ -77,12 +78,12 @@ object { HexaBenz ()
/* /*
* passage d'un hexawood près de la base * passage d'un hexawood près de la base
*/ */
#declare A = <-25, 0.4, (SzSol/2)+4>; #declare A = <-21, 0.4, (SzSol/2)+4>;
#declare B = < 29, 0.5, (SzSol/2)+1>; #declare B = < 24, 0.5, (SzSol/2)+1>;
#declare P = Interpolate(A, B, NormClock); #declare P = Interpolate(A, B, NormClock);
#local K = NormClock*36; #local K = NormClock*36;
#local R = 16.64 * cos(K); #local R = 16.64 * cos(K);
#local H = 0.52 * pow(sin(K), 3); #local H = 0.48 * pow(sin(K), 3);
#declare P_hexawood = P + <0, 0.26+H, 0>; #declare P_hexawood = P + <0, 0.26+H, 0>;
object { HexaWood rotate z*R translate P_hexawood } object { HexaWood rotate z*R translate P_hexawood }

View File

@ -33,7 +33,7 @@
#if ( (abs(posX)>1.2) & (abs(posZ)>1.2) ) #if ( (abs(posX)>1.2) & (abs(posZ)>1.2) )
#if (rand(Rng1) < 0.555) #if (rand(Rng1) < 0.505)
object { HexaCone () rotate <Rx, Ry, Rz> object { HexaCone () rotate <Rx, Ry, Rz>
translate <posX, posY, posZ> } translate <posX, posY, posZ> }
#else #else
@ -54,9 +54,9 @@ object { Le_Decor }
// object { Repere scale 5 translate y } // object { Repere scale 5 translate y }
#local CamX = -8.7 + ( 6.6 * Cos_01(NormClock)); #local CamX = -8.7 + (6.6*Cos_01(NormClock));
#local CamY = 2.95 + (22.64 * Cos_01(NormClock)); #local CamY = 2.95 + (18.64*Cos_01(NormClock));
#local CamZ = 16.86 + (12.9 * Cos_01(NormClock)); #local CamZ = 16.86 + (12.9*Cos_01(NormClock));
camera { camera {
location <CamX, CamY, CamZ> location <CamX, CamY, CamZ>

View File

@ -18,18 +18,20 @@
// ======================================================= // =======================================================
// #include "dynamic.inc" // #include "dynamic.inc"
/* ======================================================= */ /* ======================================================= */
// ------------------------------------------------------ ##
#declare Horloge = object #declare Horloge = object
{ {
#local Texte = str(NormClock, 6, 4); #local Texte = str(NormClock, 6, 4);
#debug concat("Texte horloge ", Texte, "\n\n") #debug concat("Texte horloge ", Texte, "\n\n")
text { text {
ttf "datas/DSEG7Classic-Regular.ttf" Texte 0.1, 0 ttf "datas/Rebel-Typographer.ttf" Texte 0.1, 0
texture { T_WIP_alert } texture { T_WIP_alert }
} }
scale 3.00 scale 3.00
rotate 90*x rotate -90*x
translate <-4.5, 0.02, 0> translate <-4.5,-0.21, 0>
} }
// ======================================================= // =======================================================
@ -71,7 +73,16 @@ union {
} }
// ------------------------------------------------------ ## // ------------------------------------------------------ ##
object { Gyros } object { Gyros }
/*
light_source {
<-8, 7, 19>
colour Gray60
parallel
point_at 0
}
*/
#declare Selector = mod(int(clock/32), 6); #declare Selector = mod(int(clock/32), 6);
#debug concat("Selector = ", str(Selector, 6, 0), "\n") #debug concat("Selector = ", str(Selector, 6, 0), "\n")
@ -82,12 +93,11 @@ object { Gyros }
#debug " Cabane+Compteur !!!\n" #debug " Cabane+Compteur !!!\n"
#break #break
#case (1) #case (1)
object { HexaPole } object { QuadriPole }
#debug " Hexapole !!!\n" #debug " Quadripole !!!\n"
#break #break
#case (2) #case (2)
object { Tridents translate y*2 } object { Tridents }
object { Cabane_Compteur scale 2 rotate y*clock }
#debug " Deux Tridents !!!\n" #debug " Deux Tridents !!!\n"
#break #break
#case (3) #case (3)
@ -111,6 +121,7 @@ plane {
} }
object { Repere translate y*0.6 } object { Repere translate y*0.6 }
// object { RedBase_0 (T_Planete_B) }
// ======================================================= // =======================================================
@ -126,5 +137,5 @@ object { Repere translate y*0.6 }
camera { camera {
location <CamX, CamY, CamZ> location <CamX, CamY, CamZ>
look_at <0, 1.4, 0> look_at <0, 1.4, 0>
angle 26 - 3*Cos_01(NormClock) angle 20 - 3*Cos_01(NormClock)
} }

View File

@ -6,62 +6,21 @@
#version 3.7; #version 3.7;
// ======================================================= // =======================================================
#macro HexaPole () #declare QuadriPole = object
#local R = 0.06; {
#local E = 0.61; #local R = 0.02;
#local H = H_cone*4; #local E = 0.25;
#local H = H_cone*2;
union { union {
#for (A, 0, 359, 60) cylinder { 0, y*H, R translate -x*E }
#local Xp = E * cos(radians(A)); cylinder { 0, y*H, R translate x*E }
#local Zp = E * sin(radians(A)); cylinder { 0, y*H, R translate -z*E }
#local Ha = rand(Rng1); cylinder { 0, y*H, R translate z*E }
union {
cylinder { 0, y*H, R }
sphere { 0, R*2 scale <1, 0.666, 1> }
sphere { 0, R*2 scale <1, 0.666, 1> translate y*H }
#if (Ha < 0.30)
texture { T_Chrome_1A }
#elseif (Ha < 0.60)
texture { T_Chrome_4D }
#elseif (Ha < 0.90)
texture { T_Brass_2C }
#else
texture { Soft_Silver }
#end
translate <Xp, 0, Zp>
} }
#end texture { WIP_color }
}
#undef E #undef E
#undef H #undef H
#undef R #undef R
#end
// =======================================================
#declare OpenBox = object
{
union {
#local R = 0.010;
/* les verticales */
cylinder { <-1, -1, -1>, <-1, 1, -1>, R }
cylinder { < 1, -1, -1>, < 1, 1, -1>, R }
cylinder { <-1, -1, 1>, <-1, 1, 1>, R }
cylinder { < 1, -1, 1>, < 1, 1, 1>, R }
/* en bas */
cylinder { < 1, -1, 1>, <-1, -1, 1>, R }
cylinder { < 1, -1, -1>, <-1, -1, -1>, R }
cylinder { <-1, -1, 1>, <-1, -1, -1>, R }
cylinder { < 1, -1, 1>, < 1, -1, -1>, R }
/* en haut */
cylinder { < 1, 1, 1>, <-1, 1, 1>, R }
cylinder { < 1, 1, -1>, <-1, 1, -1>, R }
cylinder { <-1, 1, 1>, <-1, 1, -1>, R }
cylinder { < 1, 1, 1>, < 1, 1, -1>, R }
#undef R
texture { Soft_Silver scale 6.50 }
}
} }
// ======================================================= // =======================================================
/* /*

View File

@ -33,7 +33,7 @@ global_settings {
#declare H_cone = 0.97; #declare H_cone = 0.97;
#declare R_gyro = 0.08; #declare R_gyro = 0.08;
#declare H_gyro = 1.80; #declare H_gyro = 2.10;
#declare H_gylampe = 0.25; #declare H_gylampe = 0.25;
#declare H_QuadriLight = 34; #declare H_QuadriLight = 34;

View File

@ -8,15 +8,9 @@
union { union {
#local RA = R_basecone; #local RA = R_basecone;
#local RB = 0.001; #local RB = 0.001;
difference {
cone { 0, RA, y*0.89, 0.0001 } cone { 0, RA, y*0.89, 0.0001 }
cone { 0, RA, y*0.89, 0.0001 translate -0.014*y } sphere { 0, RA*1.098 scale <1, 0.58, 3.03>
} translate -0.02*y }
difference {
sphere { 0, RA*1.098 scale <1, 0.58, 3.03> }
sphere { 0, RA*1.096 scale <1, 0.58, 3.03> }
translate -0.02*y
}
} }
// } // }
#end #end
@ -66,8 +60,8 @@ merge {
#for (foo, 0, 360, 30) #for (foo, 0, 360, 30)
#local Tx = E * sin(radians(foo)); #local Tx = E * sin(radians(foo));
#local Ty = E * cos(radians(foo)); #local Ty = E * cos(radians(foo));
#local Dza = z * 0.25; #local Dza = z * 0.20;
#local Dzb = z * 0.95; #local Dzb = z * 0.90;
cylinder { -Dza, Dzb, R translate <Tx, Ty, 0> } cylinder { -Dza, Dzb, R translate <Tx, Ty, 0> }
sphere { -Dza, R*1.8 translate <Tx, Ty, 0> } sphere { -Dza, R*1.8 translate <Tx, Ty, 0> }
sphere { Dzb, R*1.8 translate <Tx, Ty, 0> } sphere { Dzb, R*1.8 translate <Tx, Ty, 0> }
@ -80,6 +74,8 @@ merge {
} }
#end #end
// XXX #declare Benz_Fuseau = object
// XXX {
#macro Benz_Fuseau () #macro Benz_Fuseau ()
difference { difference {
sphere { 0, R_Tube*0.39 } sphere { 0, R_Tube*0.39 }
@ -95,6 +91,7 @@ scale <1, 1, 4.4>
#end #end
#end // end macro #end // end macro
// XXX }
#declare Benz_Fuseau_Flash = object #declare Benz_Fuseau_Flash = object
{ {
@ -128,16 +125,13 @@ translate z*L_Tube*1.18
#declare Benz_Cylindre = object #declare Benz_Cylindre = object
{ {
#local E_tube = 0.02;
#local R_int = R_Tube - E_tube;
difference { difference {
union { union {
cylinder { z*L_Tube*1.6, -z*L_Tube, R_Tube } cylinder { z*L_Tube*1.6, -z*L_Tube, R_Tube }
/* les deux bouts du cylindre creux */ /* les deux bouts du cylindre creux */
#local R2 = (R_Tube + R_int) / 2; torus { R_Tube, 0.012
torus { R2, E_tube scale <1, 4, 1>
rotate x*90 translate z*L_Tube*1.6 } rotate x*90 translate z*L_Tube*1.6 }
torus { R2, E_tube scale <1, 4, 1> torus { R_Tube, 0.012
rotate x*90 translate -z*L_Tube } rotate x*90 translate -z*L_Tube }
/* cette sphere devrait devenir /* cette sphere devrait devenir
@ -145,7 +139,7 @@ difference {
object { Forme_Cockpit object { Forme_Cockpit
translate y*R_Tube*0.97} translate y*R_Tube*0.97}
} }
cylinder { z*4, -z*4, R_int } cylinder { z*4, -z*4, R_Tube*0.95 }
} }
texture { Soft_Silver scale 6.0 } texture { Soft_Silver scale 6.0 }
} }

View File

@ -24,11 +24,11 @@ object { Le_Decor }
// object { Repere scale 2 } // object { Repere scale 2 }
#declare Loc_cam = <2, 2, 1> + (Pos_RedB_1 * 1.563); #declare Loc_cam = <2, 2, -1> + (Pos_RedB_0 * 1.263);
camera { camera {
location Loc_cam location Loc_cam
look_at Pos_RedB_1 + <0.02, 1.16, 0> look_at Pos_RedB_0 + <0.12, 1.16, 0>
// focal_point <0.37, 0.90, 0> // focal_point <0.37, 0.90, 0>
// aperture 0.046 // aperture 0.046
// blur_samples 30 // blur_samples 30

View File

@ -23,7 +23,7 @@ object { Le_Decor }
// object { Repere translate <10, 1, 10> } // object { Repere translate <10, 1, 10> }
camera { camera {
location <39, 2, 14> location <40, 2, 15>
look_at <-20, 1.7, 25.6> look_at <-20, 1.7, 25.6>
angle 26 + NormClock angle 26 + NormClock
} }

View File

@ -59,13 +59,13 @@ union {
#declare PosY = 0; #declare PosY = 0;
#declare PosZ = RO * cos(CK); #declare PosZ = RO * cos(CK);
object { HexaBenz () object { HexaBenz ()
rotate -y*CK*82.3 translate <PosX, PosY, PosZ> rotate -y*CK*62.3 translate <PosX, PosY, PosZ>
} }
#declare PosX = RO * sin(CK+2.12); #declare PosX = RO * sin(CK+2.12);
#declare PosY = 0; #declare PosY = 0;
#declare PosZ = RO * cos(CK+2.23); #declare PosZ = RO * cos(CK+2.23);
object { HexaCone () object { HexaCone ()
rotate y*CK*99.22 translate <PosX, PosY, PosZ> rotate y*CK*79.22 translate <PosX, PosY, PosZ>
} }
object { Planete rotate (-clock*0.21)*y } object { Planete rotate (-clock*0.21)*y }

View File

@ -56,6 +56,6 @@ camera {
// focal_point <0, 1, 0> // focal_point <0, 1, 0>
// aperture 0.046 // aperture 0.046
// blur_samples 30 // blur_samples 30
angle 32 angle 34
} }

View File

@ -20,11 +20,11 @@
object { Le_Decor } object { Le_Decor }
#declare CK = 144 + (clock * 0.27); #declare CK = 144 + (clock * 0.27);
#declare Dcam = 3.75; #declare Dcam = 3.95;
#declare CamX = Dcam * cos(radians(CK)); #declare CamX = Dcam * sin(radians(CK));
#declare CamZ = Dcam * 1.20 * sin(radians(CK)); #declare CamZ = Dcam * 1.20 * cos(radians(CK));
#declare Lat = <0.03, 2.45, 0.17>; #declare Lat = <0.03, 1.58, 0.17>;
camera { camera {
location <CamX, 1.97, CamZ> location <CamX, 1.97, CamZ>
look_at Lat look_at Lat

View File

@ -19,16 +19,16 @@
object { Le_Decor } object { Le_Decor }
// object { Repere scale 2 translate y*2 } object { Repere scale 2 translate y*2 }
// ======================================================= // =======================================================
#declare Debut = <-3, 87, 94> ; #declare Debut = <-3, 87, 54> ;
#declare Fin = < 2, 91, 21> ; #declare Fin = < 2, 91, 8> ;
#declare Pos = Cos_01(NormClock); #declare Pos = Cos_01(NormClock);
#declare PosCam = Interpolate(Debut, Fin, Pos); #declare PosCam = Interpolate(Debut, Fin, Pos);
#declare LatCam = PosCam + <-1, -20, -(3+(NormClock+11))>; #declare LatCam = PosCam + <-1, -20, -(NormClock+10)>;
camera { camera {
location PosCam location PosCam

View File

@ -3,7 +3,7 @@
Img_Width=1024 Img_Width=1024
Img_Height=720 Img_Height=720
TEXTCOL="VioletRed" TEXTCOL="LawnGreen"
STROKOL="LawnGreen" STROKOL="VioletRed"
NBFRAMES=360 NBFRAMES=360

View File

@ -148,7 +148,6 @@ linkfarm cutoff
linkfarm topview linkfarm topview
linkfarm passage linkfarm passage
linkfarm scene linkfarm scene
linkfarm bubblecut
linkfarm orbite linkfarm orbite
linkfarm hexacone linkfarm hexacone
linkfarm remote linkfarm remote

View File

@ -39,7 +39,7 @@ object { HexaWood translate P }
object { Le_Decor } object { Le_Decor }
#declare CamY = 32 + (12.36 * Cos_01(NormClock)); #declare CamY = 31 + (12.34 * Cos_01(NormClock));
#declare LatY = -3 + ( 1.12 * NormClock); #declare LatY = -3 + ( 1.12 * NormClock);
camera { camera {

View File

@ -15,7 +15,7 @@ difference {
#if (Foo < 0.25) #if (Foo < 0.25)
texture { T_Brass_2C } texture { T_Brass_2C }
#elseif (Foo < 0.50) #elseif (Foo < 0.50)
texture { T_Chrome_2C } texture { T_Planete_B }
#elseif (Foo < 0.75) #elseif (Foo < 0.75)
texture { T_Chrome_3A } texture { T_Chrome_3A }
#else #else
@ -44,9 +44,9 @@ merge {
cylinder { <0, -L, 0>, <0, L, 0>, 0.065 } cylinder { <0, -L, 0>, <0, L, 0>, 0.065 }
sphere { 0, 0.065 scale <1, 6, 1> translate y*L } sphere { 0, 0.065 scale <1, 6, 1> translate y*L }
#if (rand(Rng1) < 0.50) #if (rand(Rng1) < 0.50)
texture { T_Chrome_1C } texture { Lightning2 }
#else #else
texture { T_Brass_5E } texture { New_Penny }
#end #end
} }
#undef L #undef L