thi is a really big commit
This commit is contained in:
parent
a5f2e41502
commit
8c60007b71
@ -28,9 +28,10 @@ object { Le_Decor }
|
|||||||
#declare CamY = 3.08 + abs(sin(CK/4.00));
|
#declare CamY = 3.08 + abs(sin(CK/4.00));
|
||||||
#declare CamZ = R_circ * sin(CK);
|
#declare CamZ = R_circ * sin(CK);
|
||||||
|
|
||||||
#declare LatX = R_circ * 0.95 * cos(CK + 0.09);
|
#declare AV = 0.06;
|
||||||
|
#declare LatX = R_circ * 0.98 * cos(CK + AV);
|
||||||
#declare LatY = 3;
|
#declare LatY = 3;
|
||||||
#declare LatZ = R_circ * 0.95 * sin(CK + 0.09);
|
#declare LatZ = R_circ * 0.99 * sin(CK + AV);
|
||||||
|
|
||||||
camera {
|
camera {
|
||||||
location <CamX, CamY, CamZ>
|
location <CamX, CamY, CamZ>
|
||||||
|
14
contexte.inc
14
contexte.inc
@ -65,7 +65,7 @@ union {
|
|||||||
#macro GyroPhare_lampe ()
|
#macro GyroPhare_lampe ()
|
||||||
union {
|
union {
|
||||||
difference {
|
difference {
|
||||||
cylinder { 0, y*H_gylampe, R_gyro }
|
cylinder { 0, y*H_gylampe, R_gyro * 1.12345678 }
|
||||||
cylinder { y*0.01, y*(H_gylampe-0.01), R_gyro*0.97 }
|
cylinder { y*0.01, y*(H_gylampe-0.01), R_gyro*0.97 }
|
||||||
#local WB = 0.017;
|
#local WB = 0.017;
|
||||||
union {
|
union {
|
||||||
@ -111,7 +111,8 @@ union {
|
|||||||
}
|
}
|
||||||
#end
|
#end
|
||||||
/* ======================================================= */
|
/* ======================================================= */
|
||||||
/* 11 avril 2025, je pose un grand cercle d'hexapoles
|
/* 11 avril 2025, je pose un grand cercle d'hexapoles
|
||||||
|
* 9 octobre 2025, je rajoute un rail circulaire
|
||||||
*/
|
*/
|
||||||
#declare Les_HexaPoles = object
|
#declare Les_HexaPoles = object
|
||||||
{
|
{
|
||||||
@ -128,7 +129,14 @@ union {
|
|||||||
#local Xp = E * cos(Ra);
|
#local Xp = E * cos(Ra);
|
||||||
#local Zp = E * sin(Ra);
|
#local Zp = E * sin(Ra);
|
||||||
object { HexaPole () translate <Xp, 0, Zp> }
|
object { HexaPole () translate <Xp, 0, Zp> }
|
||||||
#end
|
#end // for
|
||||||
|
|
||||||
|
torus { R_circular, 0.25
|
||||||
|
scale <1, 0.3210, 1>
|
||||||
|
translate 0.33*y
|
||||||
|
// !!! pigment { color Cyan }
|
||||||
|
texture { T_Planete_A scale 3 }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* ======================================================= */
|
/* ======================================================= */
|
||||||
|
10
cutoff.pov
10
cutoff.pov
@ -28,9 +28,9 @@ difference {
|
|||||||
translate y*TY + POS_Cutoff
|
translate y*TY + POS_Cutoff
|
||||||
}
|
}
|
||||||
|
|
||||||
// object { Repere scale 2 translate y*2.6 + POS_Cutoff }
|
|
||||||
|
|
||||||
/* this one is for debugging */
|
/* this two objects are for debugging */
|
||||||
|
// object { Repere scale 2 translate y*2.6 + POS_Cutoff }
|
||||||
// object { OpenBox translate y*TY + POS_Cutoff }
|
// object { OpenBox translate y*TY + POS_Cutoff }
|
||||||
|
|
||||||
// =======================================================
|
// =======================================================
|
||||||
@ -45,12 +45,12 @@ object { Le_Decor }
|
|||||||
|
|
||||||
// =======================================================
|
// =======================================================
|
||||||
|
|
||||||
#local CamX = -25.4 + (2.39*Cos_01(NormClock));
|
#local CamX = -25.4 + (3.14*Cos_01(NormClock));
|
||||||
#local CamY = 1.6 - (0.24*sqrt(NormClock));
|
#local CamY = 1.9 - (0.27*sqrt(NormClock));
|
||||||
#local CamZ = -1.85 + (4.02*NormClock);
|
#local CamZ = -1.85 + (4.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 39 - 5*Cos_01(NormClock)
|
angle 39 - 6*Cos_01(NormClock)
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,7 @@ union {
|
|||||||
object { HexaCone () rotate <4, 1, 6> translate < K, 1.9, 0> }
|
object { HexaCone () rotate <4, 1, 6> translate < K, 1.9, 0> }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
object { BiCone rotate -y*(Cos_010(NormClock)*666) translate Pos_RedB_1 }
|
object { BiCone rotate -y*(Cos_010(NormClock)*55.38) translate Pos_RedB_1 }
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* on fait passer un hexatruc dans le ciel
|
* on fait passer un hexatruc dans le ciel
|
||||||
|
@ -55,7 +55,7 @@ object { Le_Decor }
|
|||||||
// object { Repere scale 5 translate y }
|
// object { Repere scale 5 translate y }
|
||||||
|
|
||||||
#local CamX = -8.7 + ( 6.9 * Cos_01(NormClock));
|
#local CamX = -8.7 + ( 6.9 * Cos_01(NormClock));
|
||||||
#local CamY = 0.95 + (26.64 * Cos_01(NormClock));
|
#local CamY = 0.42 + (27.89 * Cos_01(NormClock));
|
||||||
#local CamZ = 16.86 + (14.9 * Cos_01(NormClock));
|
#local CamZ = 16.86 + (14.9 * Cos_01(NormClock));
|
||||||
|
|
||||||
camera {
|
camera {
|
||||||
|
82
essai.pov
82
essai.pov
@ -14,17 +14,45 @@
|
|||||||
#include "hexacone.inc"
|
#include "hexacone.inc"
|
||||||
#include "hexabenz.inc"
|
#include "hexabenz.inc"
|
||||||
#include "hexawood.inc"
|
#include "hexawood.inc"
|
||||||
|
|
||||||
// =======================================================
|
|
||||||
// #include "dynamic.inc"
|
|
||||||
|
|
||||||
// =======================================================
|
|
||||||
|
|
||||||
#include "trident.inc"
|
#include "trident.inc"
|
||||||
|
|
||||||
|
// =======================================================
|
||||||
|
/* nouveau du 7 octobre 2025 */
|
||||||
|
#macro Une_Boule ()
|
||||||
|
sphere {
|
||||||
|
0, 0.25
|
||||||
|
#local R = rand(Rng1);
|
||||||
|
#if (R < 0.333)
|
||||||
|
pigment { color Red }
|
||||||
|
#elseif (R < 0.666)
|
||||||
|
pigment { color Green }
|
||||||
|
#else
|
||||||
|
pigment { color Blue }
|
||||||
|
#end
|
||||||
|
}
|
||||||
|
#end // macro
|
||||||
|
|
||||||
|
#declare Les_Boules = object
|
||||||
|
{
|
||||||
|
union {
|
||||||
|
#for (A, 0, 12, 1)
|
||||||
|
object { Une_Boule ()
|
||||||
|
#local TX = 1.2 * (0.5 - NormClock);
|
||||||
|
#local TY = 2 * Cos_010(abs(sin(clock)));
|
||||||
|
#local TZ = 3.31 * cos(NormClock*888);
|
||||||
|
translate <TX, TY, TZ>
|
||||||
|
}
|
||||||
|
#end // for
|
||||||
|
}
|
||||||
|
finish { ambient 0 phong 1 }
|
||||||
|
//translate <-0.5, -0.5, -0.5> // recalage de l'objet fini
|
||||||
|
|
||||||
|
scale 1.3333333
|
||||||
|
}
|
||||||
|
// =======================================================
|
||||||
|
|
||||||
#debug " ACTION !!!\n"
|
#debug " ACTION !!!\n"
|
||||||
|
|
||||||
// ------------------------------------------------------ ##
|
|
||||||
// ------------------------------------------------------ ##
|
// ------------------------------------------------------ ##
|
||||||
|
|
||||||
#declare Tridents = object
|
#declare Tridents = object
|
||||||
@ -33,9 +61,9 @@
|
|||||||
#local RZ = 96 - (54*Cos_010(NormClock));
|
#local RZ = 96 - (54*Cos_010(NormClock));
|
||||||
union {
|
union {
|
||||||
object { Trident_A () rotate <RX, 0, RZ>
|
object { Trident_A () rotate <RX, 0, RZ>
|
||||||
translate < -1.4, 3, 0> }
|
translate < -1.4, 1.2, 0> }
|
||||||
object { Trident_A () rotate <0, clock, 0>
|
object { Trident_A () rotate <0, clock, 0>
|
||||||
translate < 1.4, 2, 0> }
|
translate < 1.4, 2.0, 0> }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -44,7 +72,7 @@ union {
|
|||||||
#declare Gyros = object
|
#declare Gyros = object
|
||||||
{
|
{
|
||||||
union {
|
union {
|
||||||
#for (I, 0, 359, 60)
|
#for (I, 0, 359, 30)
|
||||||
#declare E = 9;
|
#declare E = 9;
|
||||||
#declare Dx = E * sin(radians(I));
|
#declare Dx = E * sin(radians(I));
|
||||||
#declare Dz = E * cos(radians(I));
|
#declare Dz = E * cos(radians(I));
|
||||||
@ -55,42 +83,42 @@ union {
|
|||||||
}
|
}
|
||||||
// ------------------------------------------------------ ##
|
// ------------------------------------------------------ ##
|
||||||
|
|
||||||
object { Gyros }
|
// object { Gyros }
|
||||||
|
|
||||||
#declare Selector = mod(int(clock/17), 6);
|
#declare Selector = mod(int(clock/32), 6);
|
||||||
#debug concat("Selector = ", str(Selector, 6, 0), "\n")
|
#debug concat("Selector = ", str(Selector, 6, 0), "\n")
|
||||||
|
|
||||||
#switch (Selector)
|
#switch (Selector)
|
||||||
#case (0)
|
#case (0)
|
||||||
object { Cabane_Compteur scale 2 rotate y*clock }
|
object { Tridents scale 1.2 rotate -y*(clock*0.666) }
|
||||||
#debug " Cabane+Compteur !!!\n"
|
#debug " Tridents\n"
|
||||||
#break
|
#break
|
||||||
#case (1)
|
#case (1)
|
||||||
object { HexaPole () }
|
object { HexaPole () }
|
||||||
#debug " Hexapole !!!\n"
|
#debug " Hexapole\n"
|
||||||
#break
|
#break
|
||||||
#case (2)
|
#case (2)
|
||||||
object { HexaWood translate y*2 }
|
object { HexaWood translate y }
|
||||||
#debug " HexaWood !!!\n"
|
#debug " Hexawood !!!\n"
|
||||||
#break
|
#break
|
||||||
#case (3)
|
#case (3)
|
||||||
object { Chose rotate y*clock }
|
object { Chose rotate y*clock }
|
||||||
#debug " Chose\n"
|
#debug " Chose\n"
|
||||||
#break
|
#break
|
||||||
#case (4)
|
#case (4)
|
||||||
object { Chose rotate -y*clock }
|
object { HexaBenz () scale 2 translate 2.7*y rotate -y*clock }
|
||||||
#debug " Chose\n"
|
#debug " HexaBenz\n"
|
||||||
#break
|
#break
|
||||||
#case (5)
|
#case (5)
|
||||||
object { Horloge }
|
object { Les_Boules translate y*1.33 }
|
||||||
#debug " Horloge !!!\n"
|
#debug " boules\n"
|
||||||
#break
|
#break
|
||||||
#end // switch selector
|
#end // switch selector
|
||||||
|
|
||||||
|
|
||||||
plane {
|
plane {
|
||||||
y, 0
|
y, 0
|
||||||
texture { T_Planete_B scale 0.3333 }
|
texture { T_Planete_B scale 0.666 }
|
||||||
}
|
}
|
||||||
|
|
||||||
object { Repere translate y*0.8 }
|
object { Repere translate y*0.8 }
|
||||||
@ -98,17 +126,17 @@ object { Repere translate y*0.8 }
|
|||||||
// =======================================================
|
// =======================================================
|
||||||
|
|
||||||
#local CamX = -2.7 + (1.8*Cos_010(NormClock));
|
#local CamX = -2.7 + (1.8*Cos_010(NormClock));
|
||||||
#local CamY = 0.91 + (1.3*exp(NormClock));
|
#local CamY = 0.41 + (1.2*exp(NormClock));
|
||||||
#local CamZ = -5.777 + (0.8*Cos_01(NormClock));
|
#local CamZ = -5.777 + (1.2*Cos_01(NormClock));
|
||||||
|
|
||||||
#local K = 8.6;
|
#local K = 8.6;
|
||||||
#local CamX = CamX * K;
|
#local CamX = CamX * K;
|
||||||
#local CamY = CamY * K * 0.5;
|
#local CamY = CamY * K * 0.65;
|
||||||
#local CamZ = CamZ * K;
|
#local CamZ = CamZ * K;
|
||||||
|
|
||||||
camera {
|
camera {
|
||||||
orthographic
|
// orthographic
|
||||||
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 12 - 3*Cos_01(NormClock)
|
||||||
}
|
}
|
||||||
|
17
gadgets.inc
17
gadgets.inc
@ -20,15 +20,20 @@ merge {
|
|||||||
#for (Foo, 0, 7)
|
#for (Foo, 0, 7)
|
||||||
#local C2X = 4 * sin(CK+rand(Rng1)) * sin(CK*3);
|
#local C2X = 4 * sin(CK+rand(Rng1)) * sin(CK*3);
|
||||||
#local C2Z = 3 * (sin(-CK+rand(Rng1)) * cos(CK*(5+rand(Rng1))));
|
#local C2Z = 3 * (sin(-CK+rand(Rng1)) * cos(CK*(5+rand(Rng1))));
|
||||||
#local R = 0.05+(0.02*Cos_010(NormClock));
|
#local R = 0.05+(0.04*Cos_010(NormClock));
|
||||||
cylinder { 0, <C2X, 4.5, C2Z>, R }
|
cylinder { 0, <C2X, 4.5, C2Z>, R }
|
||||||
sphere { <C2X, 4.5, C2Z>, R }
|
sphere { <C2X, 4.5, C2Z>, R }
|
||||||
#end
|
#end
|
||||||
}
|
}
|
||||||
texture { tPlasticOrange }
|
#if (NormClock < 225)
|
||||||
scale <0.62, 0.5, 0.65>
|
texture { tPlasticOrange }
|
||||||
|
#else
|
||||||
|
texture { Ruby_Glass }
|
||||||
|
#end
|
||||||
|
|
||||||
|
scale <0.62, 0.5, 0.61>
|
||||||
rotate -y*clock
|
rotate -y*clock
|
||||||
translate y*1.6666666
|
translate y*1.50
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ======================================================= */
|
/* ======================================================= */
|
||||||
@ -110,8 +115,8 @@ union {
|
|||||||
|
|
||||||
#macro HexaPole ()
|
#macro HexaPole ()
|
||||||
union {
|
union {
|
||||||
object { Base_hexapole () scale <0.27, 0.2, 0.27> }
|
object { Base_hexapole () scale <0.24, 0.2, 0.24> }
|
||||||
object { HexaPole_tubes () translate y*0.2 }
|
object { HexaPole_tubes () translate y*0.25 }
|
||||||
rotate y*(53*rand(Rng1))
|
rotate y*(53*rand(Rng1))
|
||||||
}
|
}
|
||||||
#end // macro
|
#end // macro
|
||||||
|
@ -66,8 +66,8 @@ finish { phong 0.70 reflection 0.05 }
|
|||||||
}
|
}
|
||||||
#declare T_Planete_B = texture
|
#declare T_Planete_B = texture
|
||||||
{
|
{
|
||||||
pigment { rgb <0.40, 0.50, 0.70> }
|
pigment { rgb <0.42, 0.50, 0.70> }
|
||||||
finish { metallic 0.55 reflection 0.55 }
|
finish { metallic 0.50 reflection 0.33 }
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
26
hexabenz.inc
26
hexabenz.inc
@ -43,7 +43,7 @@ union {
|
|||||||
}
|
}
|
||||||
torus { E, E*0.05
|
torus { E, E*0.05
|
||||||
scale <1, 2.4, 1> rotate x*90
|
scale <1, 2.4, 1> rotate x*90
|
||||||
#if ( rand(Rng1) < 0.5 )
|
#if ( rand(Rng1) < 0.65 )
|
||||||
texture { T_Planete_A }
|
texture { T_Planete_A }
|
||||||
#else
|
#else
|
||||||
texture { T_Planete_B }
|
texture { T_Planete_B }
|
||||||
@ -67,7 +67,7 @@ merge {
|
|||||||
#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.25;
|
||||||
#local Dzb = z * 0.95;
|
#local Dzb = z * 0.97;
|
||||||
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> }
|
||||||
@ -88,7 +88,7 @@ difference {
|
|||||||
cylinder { < 1, 0, -1>, <-1, 0, 1>, R_Tube*0.21 }
|
cylinder { < 1, 0, -1>, <-1, 0, 1>, R_Tube*0.21 }
|
||||||
}
|
}
|
||||||
scale <1, 1, 4.4>
|
scale <1, 1, 4.4>
|
||||||
#if ( rand(Rng1) < 0.360)
|
#if ( rand(Rng1) < 0.390)
|
||||||
texture { Shadow_Clouds scale 0.56 }
|
texture { Shadow_Clouds scale 0.56 }
|
||||||
#else
|
#else
|
||||||
texture { Flashy }
|
texture { Flashy }
|
||||||
@ -110,7 +110,9 @@ rotate -z*clock*8
|
|||||||
}
|
}
|
||||||
|
|
||||||
// -------------------------------------------
|
// -------------------------------------------
|
||||||
|
/*
|
||||||
|
* This part need more work
|
||||||
|
*/
|
||||||
#local Forme_Cockpit = object
|
#local Forme_Cockpit = object
|
||||||
{
|
{
|
||||||
difference {
|
difference {
|
||||||
@ -118,11 +120,11 @@ difference {
|
|||||||
sphere { 0, R_Tube*0.72 scale 0.99 }
|
sphere { 0, R_Tube*0.72 scale 0.99 }
|
||||||
#for (Foo, 0, 359, 36)
|
#for (Foo, 0, 359, 36)
|
||||||
cylinder { x, 0, R_Tube*0.15
|
cylinder { x, 0, R_Tube*0.15
|
||||||
translate y*(R_Tube*0.32)
|
translate y*(R_Tube*0.34)
|
||||||
rotate y*Foo }
|
rotate y*Foo }
|
||||||
#end
|
#end
|
||||||
}
|
}
|
||||||
scale <1, 0.87, 1>
|
scale <1, 0.92, 1>
|
||||||
translate z*L_Tube*1.18
|
translate z*L_Tube*1.18
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -135,9 +137,9 @@ difference {
|
|||||||
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;
|
#local R2 = (R_Tube + R_int) / 2;
|
||||||
torus { R2, E_tube scale <1, 4, 1>
|
torus { R2, E_tube scale <1, 5, 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 { R2, E_tube scale <1, 5, 1>
|
||||||
rotate x*90 translate -z*L_Tube }
|
rotate x*90 translate -z*L_Tube }
|
||||||
|
|
||||||
/* cette sphere devrait devenir
|
/* cette sphere devrait devenir
|
||||||
@ -150,6 +152,12 @@ difference {
|
|||||||
texture { Soft_Silver scale 6.0 }
|
texture { Soft_Silver scale 6.0 }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ------------------------------------------------------
|
||||||
|
|
||||||
|
#warning "------> inserer ici antenne pour hexabenz"
|
||||||
|
|
||||||
|
// ------------------------------------------------------
|
||||||
|
|
||||||
#macro Benz_Tube ()
|
#macro Benz_Tube ()
|
||||||
// #declare Benz_Tube = object
|
// #declare Benz_Tube = object
|
||||||
// {
|
// {
|
||||||
@ -167,7 +175,7 @@ union {
|
|||||||
// #declare HexaBenz = object
|
// #declare HexaBenz = object
|
||||||
// {
|
// {
|
||||||
union {
|
union {
|
||||||
#local Rk = (rand(Rng1)-0.5) * 1312;
|
#local Rk = (rand(Rng1)-0.54) * 1312;
|
||||||
object { Benz_Cones () rotate z*NormClock*Rk}
|
object { Benz_Cones () rotate z*NormClock*Rk}
|
||||||
object { Benz_Tube () }
|
object { Benz_Tube () }
|
||||||
}
|
}
|
||||||
|
@ -32,6 +32,6 @@ camera {
|
|||||||
// 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
|
||||||
angle 55 - 25 * Cos_01(NormClock)
|
angle 55 - 26 * Cos_01(NormClock)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
12
hexawood.pov
12
hexawood.pov
@ -22,9 +22,15 @@ object { Le_Decor }
|
|||||||
|
|
||||||
// object { Repere translate <10, 1, 10> }
|
// object { Repere translate <10, 1, 10> }
|
||||||
|
|
||||||
|
#declare P1 = <-25, 0.4, (SzSol/2)+4>;
|
||||||
|
|
||||||
|
#declare Pos = Interpolate(P1, P_hexawood, 0.95);
|
||||||
|
#declare Pos2 = <Pos.x, 0.9, Pos.z>;
|
||||||
|
// object { Repere translate Pos }
|
||||||
|
|
||||||
camera {
|
camera {
|
||||||
location <39, 2+NormClock, 14>
|
location <18-NormClock, 1.60, 11.9-NormClock>
|
||||||
look_at <-20, 1.7, 25.6>
|
look_at Pos2
|
||||||
angle 26 + 2*NormClock
|
angle 26 + 2.11*NormClock
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -69,14 +69,15 @@ object { HexaCone ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
object { Planete rotate (-clock*0.21)*y }
|
object { Planete rotate (-clock*0.21)*y }
|
||||||
light_source { <19, 6, 15>, rgb <0.77, 0.79, 0.80> }
|
light_source { <23, 6, 15>, rgb <0.77, 0.79, 0.80> }
|
||||||
|
|
||||||
|
// -------------------------------------------------------------
|
||||||
camera {
|
camera {
|
||||||
location <3, -1.0+(2*NormClock), 8.59>
|
location <3, -1.0+(6.789*NormClock), 8.59>
|
||||||
look_at <0.0, 0.0, 0>
|
look_at <0.0, 0.0, 0>
|
||||||
focal_point <0.0, 0.0, 0>
|
focal_point <0.0, 0.0, 0>
|
||||||
aperture 0.046
|
aperture 0.046
|
||||||
blur_samples 30
|
blur_samples 30
|
||||||
angle 62
|
angle 60
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,12 +20,9 @@ object { Le_Decor }
|
|||||||
#debug "ACTION !!!\n"
|
#debug "ACTION !!!\n"
|
||||||
#include "dynamic.inc"
|
#include "dynamic.inc"
|
||||||
|
|
||||||
// ------------------------------------------------------ ##
|
|
||||||
// ------------------------------------------------------ ##
|
|
||||||
|
|
||||||
// =======================================================
|
// =======================================================
|
||||||
|
|
||||||
#declare CK = 2.59 * Cos_01(NormClock);
|
#declare CK = 2.79 * Cos_01(NormClock);
|
||||||
|
|
||||||
#declare CamY = 7 + (4*Cos_01(NormClock));
|
#declare CamY = 7 + (4*Cos_01(NormClock));
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ light_source {
|
|||||||
#end
|
#end
|
||||||
|
|
||||||
camera {
|
camera {
|
||||||
location <-2.76, 1.83, 8.76>
|
location <-2.76, 1.53, 8.76>
|
||||||
look_at <PosX+0.09, PosY, PosZ-0.03>
|
look_at <PosX+0.09, PosY, PosZ-0.03>
|
||||||
// focal_point <0, 1, 0>
|
// focal_point <0, 1, 0>
|
||||||
// aperture 0.046
|
// aperture 0.046
|
||||||
|
@ -36,7 +36,7 @@ object { Le_Decor }
|
|||||||
// object { Repere scale 3 translate <SzSol, 2, SzSol> }
|
// object { Repere scale 3 translate <SzSol, 2, SzSol> }
|
||||||
|
|
||||||
#local DistCam = 280;
|
#local DistCam = 280;
|
||||||
#local CK = 0.56 + (0.52 * NormClock);
|
#local CK = 0.333 + (0.52 * 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);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* H E X A C O N E
|
* H E X A C O N E - S C E N E
|
||||||
* nouveau projet Thu Dec 5 11:37:05 AM UTC 2024
|
* nouveau projet Thu Dec 5 11:37:05 AM UTC 2024
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -23,8 +23,8 @@ object { Le_Decor }
|
|||||||
|
|
||||||
// =======================================================
|
// =======================================================
|
||||||
|
|
||||||
#declare Debut = <-3, 87, 151> ;
|
#declare Debut = <-3, 87, 161> ;
|
||||||
#declare Fin = < 2, 91, 41> ;
|
#declare Fin = < 2, 91, 81> ;
|
||||||
#declare Pos = Cos_01(NormClock);
|
#declare Pos = Cos_01(NormClock);
|
||||||
#declare PosCam = Interpolate(Debut, Fin, Pos);
|
#declare PosCam = Interpolate(Debut, Fin, Pos);
|
||||||
|
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
Img_Width=1024
|
Img_Width=1024
|
||||||
Img_Height=720
|
Img_Height=720
|
||||||
|
|
||||||
TEXTCOL="White"
|
# for imagemagick
|
||||||
|
TEXTCOL="Red"
|
||||||
STROKOL="OliveDrab"
|
STROKOL="OliveDrab"
|
||||||
|
|
||||||
NBFRAMES=400
|
NBFRAMES=450
|
||||||
|
@ -16,7 +16,10 @@ fi
|
|||||||
|
|
||||||
# echo "plot timing $sequence" >> WS/log
|
# echo "plot timing $sequence" >> WS/log
|
||||||
|
|
||||||
grep $sequence WS/mp4.timing | tail -3600 | awk \
|
count=$( grep $sequence WS/mp4.timing | wc -l )
|
||||||
|
echo "$count samples for $sequence" | tee -a WS/log
|
||||||
|
|
||||||
|
grep $sequence WS/mp4.timing | tail -4000 | awk \
|
||||||
-v nbframes=$NBFRAMES \
|
-v nbframes=$NBFRAMES \
|
||||||
' \
|
' \
|
||||||
BEGIN { \
|
BEGIN { \
|
||||||
@ -56,7 +59,7 @@ gnuplot << __EOC__
|
|||||||
set term png size $Img_Width,$Img_Height
|
set term png size $Img_Width,$Img_Height
|
||||||
set output "timing.png"
|
set output "timing.png"
|
||||||
set grid
|
set grid
|
||||||
set xrange [:400]
|
set xrange [:450]
|
||||||
set yrange [0:]
|
set yrange [0:]
|
||||||
set title "Séquence '${sequence}'"
|
set title "Séquence '${sequence}'"
|
||||||
set xlabel "numéro de la trame"
|
set xlabel "numéro de la trame"
|
||||||
|
@ -28,7 +28,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.26;
|
#local E = 0.28;
|
||||||
#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> }
|
||||||
@ -36,7 +36,7 @@ union {
|
|||||||
#undef Tx
|
#undef Tx
|
||||||
#undef Tz
|
#undef Tz
|
||||||
torus { E*1.80, 0.02
|
torus { E*1.80, 0.02
|
||||||
scale <1, 4, 1> translate -y*0.12
|
scale <1, 4, 1> translate y*0.05
|
||||||
texture { T_Chrome_3B } }
|
texture { T_Chrome_3B } }
|
||||||
}
|
}
|
||||||
#end
|
#end
|
||||||
|
Loading…
Reference in New Issue
Block a user