les derniers commits de 2026
This commit is contained in:
parent
d3e630b423
commit
0ba81b2668
@ -17,7 +17,7 @@
|
||||
|
||||
// =======================================================
|
||||
|
||||
#declare POS_Cutoff = <-20, 0, -7>;
|
||||
#declare POS_Cutoff = <-21, 0, -8>;
|
||||
|
||||
#local TY = 1.55;
|
||||
|
||||
|
||||
@ -32,7 +32,7 @@ object { Repere scale 10 translate y*10 }
|
||||
object { Le_Decor }
|
||||
|
||||
camera {
|
||||
location <45, 179+(61*NormClock), 18-(17*NormClock)>
|
||||
location <45, 179+(76*NormClock), 18-(17*NormClock)>
|
||||
look_at <0, 1.18, 0.17 + (2.4*NormClock)>
|
||||
right <image_width/image_height, 0, 0>
|
||||
angle 50
|
||||
|
||||
@ -22,7 +22,7 @@ object { Le_Decor }
|
||||
// =======================================================
|
||||
|
||||
#declare R_circ = R_circular + 0.07;
|
||||
#declare CK = 1.9 + (1.23 * sqrt(NormClock * 3.141592654));
|
||||
#declare CK = 1.9 + (1.23 * Cos_01(NormClock * 3.141592654));
|
||||
|
||||
#declare CamX = R_circ * cos(CK);
|
||||
#declare CamY = 3.08 + abs(sin(CK/4.00));
|
||||
|
||||
20
contexte.inc
20
contexte.inc
@ -114,6 +114,7 @@ union {
|
||||
/* ======================================================= */
|
||||
/* 11 avril 2025, je pose un grand cercle d'hexapoles
|
||||
* 9 octobre 2025, je rajoute un rail circulaire
|
||||
|
||||
*/
|
||||
#declare Les_HexaPoles = object
|
||||
{
|
||||
@ -132,6 +133,7 @@ union {
|
||||
object { HexaPole () translate <Xp, 0, Zp> }
|
||||
#end // for
|
||||
|
||||
/* pourquoi ce truc est là ? */
|
||||
torus { R_circular, 0.28
|
||||
scale <1, 0.3210, 1>
|
||||
translate 0.33*y
|
||||
@ -228,7 +230,7 @@ difference {
|
||||
box { <-Big, -0.19, -Big>, < Big, 0.0000, Big> }
|
||||
#undef Big
|
||||
#for (Foo, 0, 5)
|
||||
cylinder { -y*5, y*5, 3.2 translate UnderHoles[Foo] }
|
||||
cylinder { -y*5, y*5, 3.1 translate UnderHoles[Foo] }
|
||||
#end
|
||||
texture { Ground_Texture }
|
||||
}
|
||||
@ -239,7 +241,7 @@ difference {
|
||||
#declare Repere = object
|
||||
{
|
||||
union {
|
||||
#local R = 0.015;
|
||||
#local R = 0.01555555;
|
||||
cylinder { 0, <1, 0, 0>, R pigment { color Red } }
|
||||
cylinder { 0, <0, 1, 0>, R pigment { color Green } }
|
||||
cylinder { 0, <0, 0, 1>, R pigment { color Blue } }
|
||||
@ -333,9 +335,9 @@ sky_sphere {
|
||||
gradient y
|
||||
color_map {
|
||||
[ 0.2 color Gray20 ]
|
||||
[ 0.4 color rgb <.5, .4, .4> ]
|
||||
[ 0.4 color rgb <.5, .45, .4> ]
|
||||
[ 0.7 color Gray40 ]
|
||||
[ 0.9 color rgb <.5, .5, .4> ]
|
||||
[ 0.9 color rgb <.5, .5, .45> ]
|
||||
[ 1.0 color Gray20 ]
|
||||
}
|
||||
turbulence 3.14159 + 0.84 * Cos_010(NormClock)
|
||||
@ -372,14 +374,14 @@ union {
|
||||
object { Les_Cahutes () rotate y*90 translate <24, 0, -10> }
|
||||
|
||||
/* les trucs dans le Y négatif */
|
||||
object { Les_Arches (4.9) translate <0, 0, -111> }
|
||||
object { Trois_Arches (1.4) scale 2.7 translate <0, 0, -121> }
|
||||
|
||||
object { OpenBox(1.5, 0.06) translate <-16, 1.49, -88> }
|
||||
object { OpenBox(1.5, 0.06) translate <-19, 1.49, -88> }
|
||||
object { OpenBox(1.5, 0.06) translate <-18, 1.52, -104> }
|
||||
object { OpenBox(1.5, 0.06) translate <-17, 1.52, -134> }
|
||||
object { Les_Cahutes () translate <27, 0, -79> }
|
||||
object { OpenBox(1.5, 0.06) translate <-19, 1.52, -134> }
|
||||
object { Les_Cahutes () translate <29, 0, -79> }
|
||||
object { Les_Cahutes () translate <31, 0, -91> }
|
||||
object { Les_Cahutes () translate <29, 0, -104> }
|
||||
object { Les_Cahutes () translate <20, 0, -104> }
|
||||
}
|
||||
}
|
||||
/* ------------------------------------------------------------ */
|
||||
|
||||
@ -65,8 +65,8 @@ object { BiTrident
|
||||
/*
|
||||
* on fait passer un hexatruc dans le ciel
|
||||
*/
|
||||
#declare A = <-SzSol, 22, -10>;
|
||||
#declare B = < SzSol+4, 18, -11>;
|
||||
#declare A = <-SzSol, 24, -10>;
|
||||
#declare B = < SzSol+4, 26, -11>;
|
||||
#declare P = Interpolate(A, B, NormClock);
|
||||
object { HexaCone () rotate y*((12*NormClock)+80) translate P }
|
||||
|
||||
@ -76,9 +76,9 @@ object { HexaCone () rotate y*((12*NormClock)+80) translate P }
|
||||
*/
|
||||
// #fopen Trid "WS/tridents.log" write
|
||||
#for (Foo, 0, 5)
|
||||
#declare Dy = rand(Rng1)-3+(11*NormClock);
|
||||
#declare Dy = rand(Rng1)-4+(11*NormClock);
|
||||
#declare Tr = UnderHoles[Foo] + <0, Dy, 0>;
|
||||
#declare Ry = ((rand(Rng1)-NormClock)*97);
|
||||
#declare Ry = (( 0.5+rand(Rng1)-NormClock ) * 97);
|
||||
// #write (Trid, Foo, " ", NormClock, " ", Dy, " ",
|
||||
// Ry, " ", Tr, "\n")
|
||||
object { Trident_A () translate y+( (5*rand(Rng1)) - 2.5)
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
|
||||
#local posX = (idX * 4.72) + (rand(Rng1)-0.5);
|
||||
#local posY = 3.2 + (NormClock * 12 * (rand(Rng1)+0.75));
|
||||
#local posZ = (idZ * 4.37) ;
|
||||
#local posZ = (idZ * 4.39) ;
|
||||
#local Rx = (rand(Rng1) - 0.5) * 12;
|
||||
#local Ry = (rand(Rng1) - 0.5) * (24+NormClock);
|
||||
#local Rz = (rand(Rng1) - 0.5) * 11;
|
||||
@ -67,5 +67,5 @@ camera {
|
||||
location <CamX, CamY, CamZ>
|
||||
look_at <0.0, LatY, 0>
|
||||
right <image_width/image_height, 0, 0>
|
||||
angle 56 - (19.84 * NormClock)
|
||||
angle 56 - (21 * NormClock)
|
||||
}
|
||||
|
||||
78
essai.pov
78
essai.pov
@ -17,6 +17,36 @@
|
||||
// XXX
|
||||
#include "xperiment.inc"
|
||||
// XXX
|
||||
// =======================================================
|
||||
// nouveau du dernier jour 2025
|
||||
#include "hexastar.inc"
|
||||
|
||||
#declare Une_HexaStar = object
|
||||
{
|
||||
object { HexaStar translate y*3 }
|
||||
}
|
||||
|
||||
// =======================================================
|
||||
/*
|
||||
* new Tue Dec 30 07:39:09 AM UTC 2025
|
||||
*/
|
||||
|
||||
#declare Patrouille = object
|
||||
{
|
||||
union {
|
||||
#local EX = 2.3;
|
||||
#local EZ = 2.7;
|
||||
object { Trident_A () rotate x*87 }
|
||||
object { HexaBenz () translate <-EX, 0, -EZ> }
|
||||
object { HexaCone () translate < EX, -0.2, -EZ> }
|
||||
object { HexaBenz () translate <-EX*2, 0, -EZ*2> }
|
||||
object { HexaCone () translate < EX*2, -0.2, -EZ*2> }
|
||||
|
||||
object { Repere scale 2 translate y*3.4 }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// =======================================================
|
||||
/*
|
||||
* new Thu Dec 18 01:14:19 AM UTC 2025
|
||||
@ -29,7 +59,7 @@ union {
|
||||
#for (Foo, 0, 5)
|
||||
#local Dy = Foo * 0.580;
|
||||
union {
|
||||
cone { 0, Rco, <0, Hcs, 0>, 0.0001
|
||||
cone { 0, Rco, <0, Hcs, 0>, 0.001
|
||||
#if (rand(Rng1) < 0.50) texture { Y_Texture }
|
||||
#else texture { M_Texture }
|
||||
#end // if rand
|
||||
@ -66,7 +96,7 @@ union {
|
||||
/* nouveau du 7 octobre 2025 */
|
||||
#macro Une_Boule ()
|
||||
sphere {
|
||||
0, 0.15 + (rand(Rng1) * 0.06)
|
||||
0, 0.18 + (rand(Rng1) * 0.06)
|
||||
#local R = rand(Rng1);
|
||||
#if (R < 0.333) texture { C_Texture }
|
||||
#elseif (R < 0.666) texture { M_Texture }
|
||||
@ -102,14 +132,14 @@ union {
|
||||
#declare Obj_BasicTexture = object
|
||||
{
|
||||
#local R = 0.385;
|
||||
#local H = 1.2;
|
||||
#local H = 1.71;
|
||||
merge {
|
||||
cylinder { 0, y*H, R }
|
||||
sphere { 0, R scale <1, 0.50, 1> translate y*H }
|
||||
difference {
|
||||
#local R1 = R+0.46;
|
||||
#local R2 = R+0.63;
|
||||
box { <-0.19, 0, -0.17>, <R+0.4, H*0.39, R+0.6> }
|
||||
box { <-0.19, 0, -0.17>, <R+0.4, H*0.42, R+0.6> }
|
||||
cylinder { <R1, -1, R2>, <R1, 1, R2>, 0.27 }
|
||||
}
|
||||
}
|
||||
@ -147,13 +177,13 @@ union {
|
||||
#declare T_WIP_R = texture
|
||||
{
|
||||
pigment { color Red }
|
||||
finish { phong 0.23 ambient 0.50 }
|
||||
finish { phong 0.42 ambient 0.50 }
|
||||
}
|
||||
|
||||
#declare T_WIP_G = texture
|
||||
{
|
||||
pigment { color Green }
|
||||
finish { phong 0.23 ambient 0.50 }
|
||||
finish { phong 0.23 ambient 0.30 }
|
||||
}
|
||||
|
||||
#declare T_WIP_B = texture
|
||||
@ -166,29 +196,12 @@ finish { phong 0.23 ambient 0.50 }
|
||||
#declare T_WIP_1 = texture
|
||||
{
|
||||
pigment { color <0.36, 0.6, 0.79> }
|
||||
normal { dents 0.94 scale 0.5}
|
||||
normal { dents 2.94 scale 0.5}
|
||||
finish { specular 0.40 ambient 0.69 }
|
||||
}
|
||||
|
||||
#declare T_WIP_bluewave = texture
|
||||
{
|
||||
pigment {
|
||||
wood
|
||||
color_map {
|
||||
[0.0 color Gray70 ]
|
||||
[0.5 color Gray80 ]
|
||||
[0.5 color Blue ]
|
||||
[1.0 color Blue ]
|
||||
}
|
||||
rotate y*49
|
||||
translate <NormClock*0.1, sqrt(NormClock*0.4),
|
||||
Cos_010(NormClock)*0.333>
|
||||
scale <0.2, 0.3, 1>
|
||||
}
|
||||
finish { phong 1 }
|
||||
}
|
||||
// -------------------------------------------------------
|
||||
|
||||
// the place to try new textures
|
||||
#declare ProtoTextures = object
|
||||
{
|
||||
#local TX = 2.35;
|
||||
@ -225,10 +238,10 @@ union {
|
||||
#declare Des_Choses = object
|
||||
{
|
||||
union {
|
||||
object { Chose () translate < 2.0, 0, 2.32> }
|
||||
object { Chose () translate < 2.2, 0, 2.32> }
|
||||
object { Chose () translate <-2.9, 0, 3.91> }
|
||||
object { Chose () translate < 2.9, 0, -4.07> }
|
||||
object { Chose () translate <-3.4, 0, -3+NormClock> }
|
||||
object { Chose () translate <-3.4, 0, -(3+NormClock)> }
|
||||
object { Repere scale <3, 4, 3> translate 0.05*y }
|
||||
}
|
||||
}
|
||||
@ -239,7 +252,7 @@ union {
|
||||
// #debug " Les gyros !!!\n"
|
||||
union {
|
||||
#for (I, 0, 359, 30)
|
||||
#declare E = 12 + rand(Rng1);
|
||||
#declare E = 12 + (3*rand(Rng1));
|
||||
#declare Dx = E * sin(radians(I));
|
||||
#declare Dz = E * cos(radians(I));
|
||||
object { GyroPhare () translate <Dx, 0, Dz> }
|
||||
@ -269,11 +282,12 @@ object { Gyros }
|
||||
|
||||
#switch (Selector)
|
||||
#case (0)
|
||||
object { BasicTextures rotate -y*clock }
|
||||
object { BasicTextures rotate -y*3*clock) }
|
||||
#break
|
||||
#case (1)
|
||||
object { Les_Arches (1.57) rotate -y*(clock*0.666) }
|
||||
#declare AngleCam = 22;
|
||||
object { Patrouille rotate -y*(clock*0.666)
|
||||
translate y*2.5 }
|
||||
#local AngleCam = 31.0;
|
||||
#break
|
||||
#case (2)
|
||||
object { Le_ConeStack () translate y*0.20 }
|
||||
@ -291,7 +305,7 @@ object { Gyros }
|
||||
object { Les_Boules translate y*0.8 }
|
||||
#break
|
||||
#case (6)
|
||||
object { Les_Wagonnets rotate y*(clock) }
|
||||
object { Une_HexaStar rotate y*(clock) }
|
||||
#break
|
||||
#case (7)
|
||||
#local Pos = <0.5-NormClock, 0, 0>;
|
||||
|
||||
10
gadgets.inc
10
gadgets.inc
@ -47,7 +47,7 @@ union {
|
||||
#elseif (R < 0.75) texture { tPlasticPrune }
|
||||
#else texture { tPlasticGreen }
|
||||
#end // if
|
||||
translate y*1.05
|
||||
translate y*0.87
|
||||
}
|
||||
// #debug "== Fin chose les tiges\n"
|
||||
#end // macro
|
||||
@ -119,9 +119,9 @@ prism {
|
||||
// ------------------------------------------------------ ##
|
||||
|
||||
#macro HexaPole_tubes ()
|
||||
#local R = 0.04;
|
||||
#local E = 0.51;
|
||||
#local H = H_cone*0.875;
|
||||
#local R = 0.033;
|
||||
#local E = 0.49;
|
||||
#local H = H_cone*0.705;
|
||||
union {
|
||||
#for (A, 0, 359, 60)
|
||||
#local Xp = E * cos(radians(A));
|
||||
@ -129,7 +129,7 @@ union {
|
||||
union {
|
||||
#local H2 = H + rand(Rng1) + rand(Rng1);
|
||||
cylinder { 0, y*H2, R }
|
||||
sphere { 0, R*2 scale <1, 0.555, 1> }
|
||||
sphere { 0, R*3 scale <1, 0.555, 1> }
|
||||
sphere { 0, R*2 scale <1, 1.555, 1> translate y*H2 }
|
||||
#local Ra = rand(Rng1);
|
||||
#if (Ra < 0.25) texture { T_Chrome_1A }
|
||||
|
||||
23
globals.inc
23
globals.inc
@ -46,7 +46,7 @@ global_settings {
|
||||
* Some textures...
|
||||
*/
|
||||
|
||||
#declare WIP_color = texture
|
||||
#declare T_WIP_color = texture
|
||||
{
|
||||
pigment { color Cyan*NormClock }
|
||||
finish { phong 0.23 ambient 0.50 }
|
||||
@ -195,6 +195,27 @@ pigment {
|
||||
finish { phong 0.23 ambient 0.40 }
|
||||
scale <3, 4, 3>
|
||||
}
|
||||
/* ------------------------------------------------------------ */
|
||||
/* nouveau du lundi d'après noël 2025 */
|
||||
|
||||
#declare T_WIP_bluewave = texture
|
||||
{
|
||||
pigment {
|
||||
wood
|
||||
color_map {
|
||||
[0.0 color Gray70 ]
|
||||
[0.5 color Gray80 ]
|
||||
[0.5 color Blue ]
|
||||
[1.0 color Blue ]
|
||||
}
|
||||
// XXX rotate y*49
|
||||
translate <NormClock*0.1, sqrt(NormClock*0.4),
|
||||
NormClock*0.333>
|
||||
scale <0.2, 0.3, 1>
|
||||
}
|
||||
finish { phong 1 }
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------ */
|
||||
|
||||
#declare GoldDark = texture
|
||||
|
||||
@ -46,7 +46,8 @@ texture { T_Beton_2 }
|
||||
#debug concat("Texte du compteur ", Texte, "\n\n")
|
||||
text {
|
||||
ttf "datas/ComicMono-Bold.ttf" Texte 0.1, 0
|
||||
texture { T_WIP_alert }
|
||||
// texture { T_WIP_alert }
|
||||
texture { T_WIP_bluewave scale 0.65 }
|
||||
}
|
||||
}
|
||||
#declare Cabane_Compteur = object
|
||||
@ -66,7 +67,7 @@ intersection {
|
||||
png "datas/hf.png" smooth
|
||||
translate <-.5, 0, -.5>
|
||||
#local SC = SzSol * 1.111;
|
||||
scale <SC, 0.90, SC>
|
||||
scale <SC, 0.95, SC>
|
||||
texture {
|
||||
pigment {
|
||||
image_map { png "datas/cuivre.png" }
|
||||
|
||||
35
hexabenz.inc
35
hexabenz.inc
@ -74,16 +74,16 @@ merge {
|
||||
#for (foo, 0, 360, 30)
|
||||
#local Tx = E * sin(radians(foo));
|
||||
#local Ty = E * cos(radians(foo));
|
||||
#local Dza = z * 0.25;
|
||||
#local Dza = z * 0.27;
|
||||
#local Dzb = z * 0.97;
|
||||
cylinder { -Dza, Dzb, R translate <Tx, Ty, 0> }
|
||||
sphere { -Dza, R*1.8 translate <Tx, Ty, 0> }
|
||||
sphere { Dzb, R*1.8 translate <Tx, Ty, 0> }
|
||||
#end
|
||||
#if ( rand(Rng1) < 0.520)
|
||||
texture { Orange_Glass }
|
||||
#else
|
||||
texture { Yellow_Glass }
|
||||
#local R = rand(Rng1);
|
||||
#if ( R < 0.320) texture { Orange_Glass }
|
||||
#elseif (R < 0.64) texture { Ruby_Glass }
|
||||
#else texture { Yellow_Glass }
|
||||
#end
|
||||
}
|
||||
#end
|
||||
@ -96,10 +96,8 @@ difference {
|
||||
cylinder { < 1, 0, -1>, <-1, 0, 1>, R_Tube*0.21 }
|
||||
}
|
||||
scale <1, 1, 4.4>
|
||||
#if ( rand(Rng1) < 0.390)
|
||||
texture { Shadow_Clouds scale 0.56 }
|
||||
#else
|
||||
texture { Flashy }
|
||||
#if ( rand(Rng1) < 0.420) texture { Shadow_Clouds scale 0.56 }
|
||||
#else texture { Flashy }
|
||||
#end
|
||||
|
||||
#end // end macro
|
||||
@ -162,7 +160,18 @@ texture { Soft_Silver scale 6.0 }
|
||||
|
||||
// ------------------------------------------------------
|
||||
|
||||
#warning "===>> inserer antenne pour hexabenz"
|
||||
#declare Benz_Antenne = object
|
||||
{
|
||||
#local RBA = 0.026;
|
||||
union {
|
||||
sphere { 0, RBA }
|
||||
cylinder { 0, <0, 0.23, 0>, RBA*0.233 }
|
||||
}
|
||||
scale <1, 1, 10>
|
||||
#if ( mod(clock, 20) < (30*rand(Rng1)) ) texture { T_WIP_color }
|
||||
#else texture { T_WIP_alert }
|
||||
#end
|
||||
}
|
||||
|
||||
// ------------------------------------------------------
|
||||
|
||||
@ -173,6 +182,12 @@ union {
|
||||
object { Benz_Tubules () }
|
||||
object { Benz_Fuseau_Flash translate z*0.40 }
|
||||
object { Benz_Cylindre }
|
||||
|
||||
/* XXX */
|
||||
object { Repere }
|
||||
object { Benz_Antenne
|
||||
translate <0, -0.41, 0.70>
|
||||
rotate z*30 }
|
||||
}
|
||||
// }
|
||||
#end
|
||||
|
||||
@ -173,7 +173,7 @@ merge {
|
||||
#elseif (R < 0.8)
|
||||
texture { Dark_Green_Glass }
|
||||
#else
|
||||
texture { Flashy }
|
||||
texture { Flashy scale 2 }
|
||||
#end
|
||||
}
|
||||
#end // macro
|
||||
|
||||
@ -19,7 +19,7 @@ object { Le_Decor }
|
||||
|
||||
// object { Repere scale 2 }
|
||||
|
||||
#declare Loc_cam = <2, 2.5, 1> + (Pos_RedB_1 * 1.383);
|
||||
#declare Loc_cam = <2, 2.7-NormClock, 1> + (Pos_RedB_1 * 1.383);
|
||||
|
||||
camera {
|
||||
location Loc_cam
|
||||
@ -29,6 +29,6 @@ camera {
|
||||
// focal_point <0.37, 0.90, 0>
|
||||
// aperture 0.046
|
||||
// blur_samples 30
|
||||
angle 55 - 26 * Cos_01(NormClock)
|
||||
angle 55 - 25 * Cos_01(NormClock)
|
||||
}
|
||||
|
||||
|
||||
52
hexastar.inc
52
hexastar.inc
@ -1,9 +1,57 @@
|
||||
/*
|
||||
* H E X A S T A R
|
||||
*
|
||||
* nouveau du dernier jour de 2025, courage paur 2026 <3
|
||||
*/
|
||||
|
||||
/* ------------------------------------------------------------ */
|
||||
/* ------------------------------------------------------------ */
|
||||
/* ------------------------------------------------------------ */
|
||||
/* ============================================================ */
|
||||
/* Un des six éléments de base */
|
||||
|
||||
#declare HS_element_a = object
|
||||
{
|
||||
union {
|
||||
cone { <-4, 0, 0>, 0.05, <-1, 0, 0>, 1.00 }
|
||||
cone { < 4, 0, 0>, 0.05, < 1, 0, 0>, 1.00 }
|
||||
}
|
||||
}
|
||||
/* ------------------------------------------------------------ */
|
||||
#declare HS_element_b = object
|
||||
{
|
||||
difference {
|
||||
cylinder { <-1, 0, 0>, <1, 0, 0>, 0.70 }
|
||||
box { 0, <1, 1, 1> }
|
||||
}
|
||||
}
|
||||
/* ------------------------------------------------------------ */
|
||||
#declare HS_element = object
|
||||
{
|
||||
union {
|
||||
object { HS_element_a texture { GoldDark } }
|
||||
object { HS_element_b texture { G_Texture } }
|
||||
}
|
||||
}
|
||||
/* ============================================================ */
|
||||
/* On regroupe les six élements */
|
||||
#declare HS_les_elements = object
|
||||
{
|
||||
union {
|
||||
#for (Foo, 0, 60, 359)
|
||||
#local E = 0.31;
|
||||
#local Tx = E * sin(radians(Foo));
|
||||
#local Ty = E * cos(radians(Foo));
|
||||
object {
|
||||
HS_element
|
||||
rotate -z*foo
|
||||
translate <Tx, Ty, 0>
|
||||
}
|
||||
#end // end for
|
||||
}
|
||||
}
|
||||
/* ============================================================ */
|
||||
/* Et voici l'engin final */
|
||||
#declare HexaStar = object
|
||||
{
|
||||
object { HS_les_elements }
|
||||
}
|
||||
/* ============================================================ */
|
||||
|
||||
@ -30,10 +30,8 @@ union {
|
||||
HW_Un_Cone ()
|
||||
#if ( rand(Rng1) < 0.5 )
|
||||
texture { T_Wood32 rotate 37 scale 1.30 }
|
||||
// texture { WIP_color }
|
||||
#else
|
||||
texture { T_Wood23 rotate x*87 scale 1.33 }
|
||||
// texture { T_WIP_alert }
|
||||
#end
|
||||
// rotate -z*foo
|
||||
translate <Tx, Hc_ep - 0.22, Tz>
|
||||
|
||||
@ -22,7 +22,7 @@ object { Le_Decor }
|
||||
|
||||
// =======================================================
|
||||
|
||||
#declare CK = 2.79 * Cos_01(NormClock);
|
||||
#declare CK = 1.3 + (2.79 * Cos_01(NormClock));
|
||||
|
||||
#declare CamX = 1.22;
|
||||
#declare CamY = 7 + (4*Cos_01(NormClock));
|
||||
|
||||
@ -23,11 +23,12 @@ object { HexaCone () rotate y*((6*NormClock)+80) translate P }
|
||||
object { HexaBenz () rotate y*(clock/9) translate <-9, 3, 7> }
|
||||
|
||||
// ---------------------------------------------------------
|
||||
// WTF is that ??? XXX
|
||||
|
||||
#declare A = <-15, -1.9, SzSol>;
|
||||
#declare B = < 23, -0.7, SzSol>;
|
||||
#declare P = Interpolate(A, B, NormClock);
|
||||
object { HexaWood translate P }
|
||||
object { HexaWood scale 10 translate P }
|
||||
|
||||
// ---------------------------------------------------------
|
||||
|
||||
@ -36,14 +37,14 @@ object { Le_Decor }
|
||||
// object { Repere scale 3 translate <SzSol, 2, SzSol> }
|
||||
|
||||
#local DistCam = 380;
|
||||
#local CK = -1.101 - (0.130 * NormClock);
|
||||
#local CK = -1.101 - (0.072 * NormClock);
|
||||
#declare CamX = DistCam * sin(CK);
|
||||
#declare CamY = 28;
|
||||
#declare CamZ = DistCam * cos(CK);
|
||||
|
||||
camera {
|
||||
location <CamX, CamY, CamZ>
|
||||
look_at <0, 0.3, 0>
|
||||
look_at <0, 0.35, 0>
|
||||
right <image_width/image_height, 0, 0>
|
||||
// focal_point <2, 1, 12>
|
||||
// aperture 0.046
|
||||
|
||||
@ -28,7 +28,7 @@ object { Repere scale 2 translate y*2 }
|
||||
#declare Pos = sqrt(NormClock+0.02);
|
||||
#declare PosCam = Interpolate(Debut, Fin, Pos);
|
||||
|
||||
#declare LatX = 1.414 * sin(NormClock*7.1);
|
||||
#declare LatX = 0.414 * sin(NormClock*6.1);
|
||||
#declare LatCam = PosCam + <LatX, -20, -(4+(NormClock+11))>;
|
||||
|
||||
camera {
|
||||
|
||||
@ -59,7 +59,7 @@ merge {
|
||||
#macro Trid_A_ailette ()
|
||||
union {
|
||||
#local E = 0.49;
|
||||
object { Trid_A_cone () scale 0.85 translate <E, -0.05, 0> }
|
||||
object { Trid_A_cone () scale 0.89 translate <E, -0.05, 0> }
|
||||
cylinder { 0, x*E, 0.008 scale <1, 5, 1> }
|
||||
#local R = rand(Rng1);
|
||||
#if ( R < 0.6 ) texture { T_Silver_3A }
|
||||
|
||||
@ -74,7 +74,7 @@ union {
|
||||
object {
|
||||
// #debug concat(" Arche, val = ", str(Val, 6, 4), "\n")
|
||||
merge {
|
||||
#local Ha = 2;
|
||||
#local Ha = 1.80;
|
||||
#local D2 = Val * 1.414;
|
||||
// mettre une base de la colonne
|
||||
cylinder { <-1, 0, 0>, <-1, 0.20, 0> D2 }
|
||||
@ -120,6 +120,15 @@ union {
|
||||
}
|
||||
#end // macro
|
||||
|
||||
#macro Trois_Arches (Dist)
|
||||
union {
|
||||
object { Une_Arche (0.05) }
|
||||
object { Une_Arche (0.05) translate z*2 }
|
||||
object { Une_Arche (0.05) translate z*4 }
|
||||
scale 1.85
|
||||
}
|
||||
#end // macro trois arches
|
||||
|
||||
// ==============================================================
|
||||
/*
|
||||
* new Mon Oct 27 04:54:41 PM UTC 2025
|
||||
@ -183,6 +192,3 @@ scale 0.5
|
||||
// rotate -y * (clock*0.33)
|
||||
#end
|
||||
// =======================================================
|
||||
|
||||
|
||||
// ==============================================================
|
||||
|
||||
Loading…
Reference in New Issue
Block a user