last commits before xmas
This commit is contained in:
parent
4e960026d2
commit
836e8e7c17
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
DIMS = -W1600 -H1200
|
DIMS = -W1600 -H1200
|
||||||
|
|
||||||
POVOPT = +q9 +A Declare=NbFrames=450 -d
|
POVOPT = +q9 +A0.05 Declare=NbFrames=450 -d
|
||||||
|
|
||||||
POVDEP = contexte.inc hexacone.inc hexabenz.inc \
|
POVDEP = contexte.inc hexacone.inc hexabenz.inc \
|
||||||
hexastar.inc \
|
hexastar.inc \
|
||||||
|
|||||||
@ -30,7 +30,7 @@ object { Le_Decor }
|
|||||||
|
|
||||||
#declare AV = 0.070;
|
#declare AV = 0.070;
|
||||||
#declare LatX = R_circ * 0.96 * cos(CK + AV);
|
#declare LatX = R_circ * 0.96 * cos(CK + AV);
|
||||||
#declare LatY = 2;
|
#declare LatY = 2.65;
|
||||||
#declare LatZ = R_circ * 0.97 * sin(CK + AV);
|
#declare LatZ = R_circ * 0.97 * sin(CK + AV);
|
||||||
|
|
||||||
camera {
|
camera {
|
||||||
|
|||||||
22
contexte.inc
22
contexte.inc
@ -101,7 +101,7 @@ union {
|
|||||||
|
|
||||||
#macro Les_GyroPhares ()
|
#macro Les_GyroPhares ()
|
||||||
union {
|
union {
|
||||||
#local E = SzSol * 0.431;
|
#local E = SzSol * 0.455;
|
||||||
#for (Idx, 0, 359, 60)
|
#for (Idx, 0, 359, 60)
|
||||||
#local Ang = radians(Idx+9.33);
|
#local Ang = radians(Idx+9.33);
|
||||||
#local Dx = E * sin(Ang);
|
#local Dx = E * sin(Ang);
|
||||||
@ -175,13 +175,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, 0.51+Cos_010(NormClock), 4>
|
translate <2, 0.57+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, 0.31+Cos_010(NormClock), -3>
|
translate <4, 0.61+Cos_010(NormClock), -3>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -196,7 +196,7 @@ blob {
|
|||||||
threshold 0.01
|
threshold 0.01
|
||||||
sphere { <0, 0, 0>, RHBlo, 1 }
|
sphere { <0, 0, 0>, RHBlo, 1 }
|
||||||
#local E = RHBlo * 1.210;
|
#local E = RHBlo * 1.210;
|
||||||
#local W = 0.1;
|
#local W = 0.15;
|
||||||
sphere { <-E, 0, 0>, RHBlo2, W }
|
sphere { <-E, 0, 0>, RHBlo2, W }
|
||||||
sphere { < E, 0, 0>, RHBlo2, W }
|
sphere { < E, 0, 0>, RHBlo2, W }
|
||||||
sphere { < 0, -E, 0>, RHBlo2, W }
|
sphere { < 0, -E, 0>, RHBlo2, W }
|
||||||
@ -213,15 +213,12 @@ blob {
|
|||||||
/*
|
/*
|
||||||
* on rempli le tableau avec la place des trous
|
* on rempli le tableau avec la place des trous
|
||||||
*/
|
*/
|
||||||
// XXX #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.19) * 1.090;
|
||||||
#local Px = sin(Angle) * (SzSol * 0.97);
|
#local Px = sin(Angle) * (SzSol * 0.97);
|
||||||
#local Pz = cos(Angle) * (SzSol * 1.04);
|
#local Pz = cos(Angle) * (SzSol * 1.04);
|
||||||
#declare UnderHoles[Idx] = <Px, 0, Pz>;
|
#declare UnderHoles[Idx] = <Px, 0, Pz>;
|
||||||
// XXX #write (Holes, Idx, " ", Angle, " ", UnderHoles[Idx], "\n")
|
|
||||||
#end
|
#end
|
||||||
// XXX #fclose Holes
|
|
||||||
|
|
||||||
#declare Underground = object
|
#declare Underground = object
|
||||||
{
|
{
|
||||||
@ -249,8 +246,6 @@ union {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// XXX object { Repere scale 25 translate y + Pos_RedB_2 }
|
|
||||||
|
|
||||||
/* ======================================================= */
|
/* ======================================================= */
|
||||||
/*
|
/*
|
||||||
* nouvel éclairage du 10 février 2025
|
* nouvel éclairage du 10 février 2025
|
||||||
@ -288,7 +283,7 @@ union {
|
|||||||
object { Chose () translate < 20, 0, -32> }
|
object { Chose () translate < 20, 0, -32> }
|
||||||
/* a l'exterieur du 'circular' */
|
/* a l'exterieur du 'circular' */
|
||||||
#for (foo, 0, 359, 18)
|
#for (foo, 0, 359, 18)
|
||||||
#local CK = radians(foo + (5*rand(Rng1)));
|
#local CK = radians(foo + (9*rand(Rng1)));
|
||||||
#local DX = 66 * sin(CK);
|
#local DX = 66 * sin(CK);
|
||||||
#local DZ = 64 * cos(CK);
|
#local DZ = 64 * cos(CK);
|
||||||
object { Chose () translate < DX, 0, DZ> } // XXX
|
object { Chose () translate < DX, 0, DZ> } // XXX
|
||||||
@ -372,12 +367,13 @@ union {
|
|||||||
object { Les_HexaPoles }
|
object { Les_HexaPoles }
|
||||||
object { Horloge rotate y*27 translate < 3, 0, -30> }
|
object { Horloge rotate y*27 translate < 3, 0, -30> }
|
||||||
object { Les_Choses }
|
object { Les_Choses }
|
||||||
object { Les_Arches (1) rotate y*59 translate <-22, 0, -20> }
|
object { Les_Arches (1.9) rotate y*152 translate <-34, 0, -26> }
|
||||||
object { Les_Arches (2) rotate y*152 translate <-34, 0, -26> }
|
|
||||||
|
|
||||||
object { Les_Cahutes () translate <23, 0, -10> }
|
object { Les_Cahutes () rotate y*90 translate <24, 0, -10> }
|
||||||
|
|
||||||
/* les trucs dans le Y négatif */
|
/* les trucs dans le Y négatif */
|
||||||
|
object { Les_Arches (4.9) translate <0, 0, -111> }
|
||||||
|
|
||||||
object { OpenBox(1.5, 0.06) translate <-16, 1.49, -88> }
|
object { OpenBox(1.5, 0.06) translate <-16, 1.49, -88> }
|
||||||
object { OpenBox(1.5, 0.06) translate <-18, 1.52, -104> }
|
object { OpenBox(1.5, 0.06) translate <-18, 1.52, -104> }
|
||||||
object { OpenBox(1.5, 0.06) translate <-17, 1.52, -134> }
|
object { OpenBox(1.5, 0.06) translate <-17, 1.52, -134> }
|
||||||
|
|||||||
15
dynamic.inc
15
dynamic.inc
@ -1,9 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "gadgets.inc"
|
|
||||||
|
|
||||||
|
|
||||||
// =======================================================
|
// =======================================================
|
||||||
// on va tenter de placer quelques trucs
|
// on va tenter de placer quelques trucs
|
||||||
// qui bougent sur le rail circulaire
|
// qui bougent sur le rail circulaire
|
||||||
@ -47,21 +44,21 @@ object { BiBenz rotate -y*(clock*0.26) 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, 0> }
|
||||||
object { HexaCone () rotate <4, 1, 6> translate < K, 1.9, 0> }
|
object { HexaCone () rotate <4, 1, 7> translate < K, 1.9, 0> }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
object { BiCone rotate -y*(Cos_010(NormClock)*55.38) translate Pos_RedB_1 }
|
object { BiCone rotate -y*(Cos_010(NormClock)*65.38) translate Pos_RedB_1 }
|
||||||
|
|
||||||
/* les tridents posés sur leur estrade */
|
/* les tridents posés sur leur estrade */
|
||||||
#declare BiTrident = object
|
#declare BiTrident = object
|
||||||
{
|
{
|
||||||
union {
|
union {
|
||||||
object { Trident_A () rotate -z * 3.5 translate -x*0.90 }
|
object { Trident_A () rotate -z * 9.9 translate -x*0.92 }
|
||||||
object { Trident_A () rotate z * 3.5 translate x*0.90 }
|
object { Trident_A () rotate z * 8.4 translate x*0.90 }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
object { BiTrident translate x*0.80
|
object { BiTrident
|
||||||
rotate y*(520*Cos_01(NormClock))
|
rotate y*(570*Cos_01(NormClock))
|
||||||
translate Pos_RedB_2 + (y*2)
|
translate Pos_RedB_2 + (y*2)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -311,7 +311,7 @@ plane {
|
|||||||
// =======================================================
|
// =======================================================
|
||||||
|
|
||||||
#local CamX = -2.7 + (1.8*Cos_010(NormClock));
|
#local CamX = -2.7 + (1.8*Cos_010(NormClock));
|
||||||
#local CamY = 0.41 + (1.2*exp(NormClock));
|
#local CamY = 0.61 + (1.1*exp(NormClock));
|
||||||
#local CamZ = -5.777 + (1.2*Cos_01(NormClock));
|
#local CamZ = -5.777 + (1.2*Cos_01(NormClock));
|
||||||
|
|
||||||
#local K = 8.6;
|
#local K = 8.6;
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* ======================================================= */
|
/* ======================================================= */
|
||||||
#declare R_C = 0.42;
|
#declare R_C = 0.35;
|
||||||
|
|
||||||
/* ce truc mérite un nom plus parlant ! */
|
/* ce truc mérite un nom plus parlant ! */
|
||||||
#macro Chose_le_pied ()
|
#macro Chose_le_pied ()
|
||||||
@ -37,7 +37,7 @@ union {
|
|||||||
cos(CK*(rand(Rng1))));
|
cos(CK*(rand(Rng1))));
|
||||||
#local Rt = 0.015+(0.03*Cos_010(NormClock));
|
#local Rt = 0.015+(0.03*Cos_010(NormClock));
|
||||||
#local B = <0, -0.05, 0>;
|
#local B = <0, -0.05, 0>;
|
||||||
#local H = 1.16;
|
#local H = 0.80;
|
||||||
cylinder { B, <C2X, H, C2Z>, Rt }
|
cylinder { B, <C2X, H, C2Z>, Rt }
|
||||||
sphere { <C2X, H, C2Z>, Rt }
|
sphere { <C2X, H, C2Z>, Rt }
|
||||||
#end
|
#end
|
||||||
@ -54,7 +54,7 @@ union {
|
|||||||
// ------------------------------------------------------ ##
|
// ------------------------------------------------------ ##
|
||||||
#macro Chose_le_corps () // = object
|
#macro Chose_le_corps () // = object
|
||||||
difference {
|
difference {
|
||||||
#local H = 0.50 + (0.10 * rand(Rng1));
|
#local H = 0.42 + (0.10 * rand(Rng1));
|
||||||
cone { 0, R_C*0.52, y*H, R_C }
|
cone { 0, R_C*0.52, y*H, R_C }
|
||||||
sphere { y*H, R_C*0.75 }
|
sphere { y*H, R_C*0.75 }
|
||||||
#local R = rand(Rng1);
|
#local R = rand(Rng1);
|
||||||
@ -121,7 +121,7 @@ prism {
|
|||||||
#macro HexaPole_tubes ()
|
#macro HexaPole_tubes ()
|
||||||
#local R = 0.04;
|
#local R = 0.04;
|
||||||
#local E = 0.51;
|
#local E = 0.51;
|
||||||
#local H = H_cone*1.25;
|
#local H = H_cone*0.875;
|
||||||
union {
|
union {
|
||||||
#for (A, 0, 359, 60)
|
#for (A, 0, 359, 60)
|
||||||
#local Xp = E * cos(radians(A));
|
#local Xp = E * cos(radians(A));
|
||||||
|
|||||||
@ -36,7 +36,7 @@ union {
|
|||||||
cylinder {-z, z, 0.11 }
|
cylinder {-z, z, 0.11 }
|
||||||
}
|
}
|
||||||
// XXX not very tested
|
// XXX not very tested
|
||||||
#local Sc = 3.87;
|
#local Sc = 3.57;
|
||||||
#local Rt1 = 0.333;
|
#local Rt1 = 0.333;
|
||||||
#local Rta = Rt1 / Sc;
|
#local Rta = Rt1 / Sc;
|
||||||
#local Rt2 = 0.0062;
|
#local Rt2 = 0.0062;
|
||||||
|
|||||||
@ -27,7 +27,7 @@ difference {
|
|||||||
#macro Trid_A_head ()
|
#macro Trid_A_head ()
|
||||||
union {
|
union {
|
||||||
#for (A, 0, 360, 120)
|
#for (A, 0, 360, 120)
|
||||||
#local E = 0.28;
|
#local E = 0.29;
|
||||||
#local Tx = E * sin(radians(A));
|
#local Tx = E * sin(radians(A));
|
||||||
#local Tz = E * cos(radians(A));
|
#local Tz = E * cos(radians(A));
|
||||||
object { Trid_A_cone () translate <Tx*2, 0, Tz> }
|
object { Trid_A_cone () translate <Tx*2, 0, Tz> }
|
||||||
@ -45,8 +45,8 @@ union {
|
|||||||
#local R = 0.095;
|
#local R = 0.095;
|
||||||
merge {
|
merge {
|
||||||
cylinder { <0, -L, 0>, <0, L, 0>, R }
|
cylinder { <0, -L, 0>, <0, L, 0>, R }
|
||||||
sphere { 0, R scale <1, 6.11, 1> translate y*L }
|
sphere { 0, R scale <1, 6.66, 1> translate y*L }
|
||||||
sphere { 0, R scale <1, 0.42, 1> translate -y*L }
|
sphere { 0, R scale <1, 0.45, 1> translate -y*L }
|
||||||
#local R = rand(Rng1);
|
#local R = rand(Rng1);
|
||||||
#if ( R < 0.333) texture { T_Chrome_1C }
|
#if ( R < 0.333) texture { T_Chrome_1C }
|
||||||
#elseif ( R < 0.666) texture { T_Silver_1C }
|
#elseif ( R < 0.666) texture { T_Silver_1C }
|
||||||
|
|||||||
@ -21,7 +21,7 @@ object { Le_Decor }
|
|||||||
|
|
||||||
// object { Repere scale 2 }
|
// object { Repere scale 2 }
|
||||||
|
|
||||||
#declare CK = NormClock * 1.78;
|
#declare CK = 0.8 - (NormClock * 0.71);
|
||||||
#declare DX_cam = 6.9 * cos(CK);
|
#declare DX_cam = 6.9 * cos(CK);
|
||||||
#declare DZ_cam = 5.4 * sin(CK);
|
#declare DZ_cam = 5.4 * sin(CK);
|
||||||
#declare Loc_cam = <DX_cam, 1.0, DZ_cam> + Pos_RedB_2;
|
#declare Loc_cam = <DX_cam, 1.0, DZ_cam> + Pos_RedB_2;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user