multiple tweakings...

This commit is contained in:
Tonton Th 2025-01-02 01:30:37 +01:00
parent cf95106744
commit 0285a14e02
5 changed files with 37 additions and 39 deletions

View File

@ -38,7 +38,7 @@ union {
#local xR = (rand(Rng2)-0.5000) * kR; #local xR = (rand(Rng2)-0.5000) * kR;
#local yR = (rand(Rng2)-0.5000) * kR; #local yR = (rand(Rng2)-0.5000) * kR;
#local zR = (rand(Rng2)-0.5000) * kR; #local zR = (rand(Rng2)-0.5000) * kR;
#local Value = sin(NormClock * 25.536); #local Value = sin(NormClock * 26.536);
#if (Value < 0) #if (Value < 0)
#local Couleur = rgb <abs(Value), 0, 0>; #local Couleur = rgb <abs(Value), 0, 0>;
#else #else

View File

@ -18,43 +18,23 @@
// ======================================================= // =======================================================
#declare RHBlo = 0.25;
#declare RHBlo2 = RHBlo * 0.55;
#declare HexaBlob = object
{
blob {
// threshold 0.01 + NormClock
threshold 0.01
sphere { <0, 0, 0>, RHBlo, 1 }
#local E = RHBlo * 1.210;
#local W = 0.1;
sphere { <-E, 0, 0>, RHBlo2, W }
sphere { < E, 0, 0>, RHBlo2, W }
sphere { < 0, -E, 0>, RHBlo2, W }
sphere { < 0, E, 0>, RHBlo2, W }
sphere { < 0, 0, -E>, RHBlo2, W }
sphere { < 0, 0, E>, RHBlo2, W }
}
}
// =======================================================
object { object {
HexaBlob HexaBlob
#local SC = 1.111 + abs(sin(NormClock * 4 * 3.14159)); #local SC = 1.71 + 0.5 * abs(sin(NormClock * 3 * 3.14159));
texture { T_Stone26 texture { T_Stone26
scale SC scale SC
translate 2*y*NormClock translate 3*y*NormClock
} }
translate < 0, 1, 0> translate < 0, 1, 0>
} }
object { Repere } // object { Le_Decor }
// object { Repere }
#if (0) #if (0)
object { HexaBalls object { HexaBalls
#local SC = 0.10 + abs(sin(NormClock * 4 * 3.14159)); #local SC = 0.18 + abs(sin(NormClock * 4 * 3.14159));
texture { Lightning2 scale SC } texture { Lightning2 scale SC }
translate <-0.80, 1, 0> } translate <-0.80, 1, 0> }
#end #end
@ -67,7 +47,7 @@ light_source { <-8, 7, -9>, rgb <0.81, 0.65, NormClock> }
light_source { < 11, 7, 4>, rgb <1-NormClock, 0.28, 0.80> } light_source { < 11, 7, 4>, rgb <1-NormClock, 0.28, 0.80> }
camera { camera {
location <-0.7+NormClock, 1.81, 2.59> location <-0.7+NormClock, 1.81, 2.09>
look_at <0.0, 1.0, 0> look_at <0.0, 1.0, 0>
angle 64 angle 54
} }

View File

@ -16,21 +16,36 @@
// --------------------------------------- // ---------------------------------------
object { Le_Decor }
#declare PosX = 0.333; #declare PosX = 0.333;
#declare PosY = 1.20 + (NormClock*0.22); #declare PosY = 1.20 + (NormClock*0.22);
#declare PosZ = (NormClock-0.5) * 29.22; #declare PosZ = (NormClock-0.5) * 34.22;
object { HexaCone translate <PosX, PosY, PosZ> } object { HexaCone translate <PosX, PosY, PosZ> }
#if ( clock > 130 )
#if ( (clock < 111) )
light_source { light_source {
<2, 0.30, -2> color Red <3, 0.30, -8> color Blue
spotlight spotlight
radius .044 radius .044
falloff 2 falloff 2
tightness 10 tightness 3
point_at <PosX, PosY, PosZ> point_at <PosX, PosY, PosZ>
} }
#end #end
#if ( (clock > 230) )
light_source {
<2, 0.30, -2> color White
spotlight
radius .044
falloff 2
tightness 3
point_at <PosX, PosY, PosZ>
}
#end
camera { camera {
location <-1.56, 1.03, 9.76> location <-1.56, 1.03, 9.76>
look_at <PosX, PosY, PosZ> look_at <PosX, PosY, PosZ>

View File

@ -15,12 +15,13 @@
#include "contexte.inc" #include "contexte.inc"
#include "elements.inc" #include "elements.inc"
object { Le_Decor }
object { HexaCone object { HexaCone
rotate < 3, 0, -4> rotate < 3, 0, -4>
rotate y*17 translate y*1.11 } rotate y*17 translate y*1.11 }
#declare CK = 56 + (clock * 1); #declare CK = 56 + (clock * 1);
#declare Dcam = 2.04; #declare Dcam = 2.14;
#declare CamX = Dcam * sin(radians(CK)); #declare CamX = Dcam * sin(radians(CK));
#declare CamZ = Dcam * 1.20 * cos(radians(CK)); #declare CamZ = Dcam * 1.20 * cos(radians(CK));
#declare CamZ = CamZ - 0.11; #declare CamZ = CamZ - 0.11;

View File

@ -14,19 +14,21 @@
#include "contexte.inc" #include "contexte.inc"
#include "elements.inc" #include "elements.inc"
object { Le_Decor }
light_source { <-16, 17, -24>, rgb <0.51, 0.65, 0.40> } light_source { <-16, 17, -24>, rgb <0.51, 0.65, 0.40> }
#declare TrX = 1.4 * sqrt(NormClock); #declare TrX = 1.34 * sqrt(NormClock);
#declare TrY = 0.90 + (3.5 * sqrt(NormClock)); #declare TrY = 0.90 + (3.5 * Cos_01(NormClock));
#declare TrZ = 9.9 * sqrt(NormClock); #declare TrZ = 9.999 * sqrt(NormClock);
#declare TrH = <TrX, TrY, TrZ>; #declare TrH = <TrX, TrY, TrZ>;
#declare RrY = 57 * sqrt(NormClock); #declare RrY = 57 * sqrt(NormClock);
object { HexaCone rotate y*RrY translate TrH } object { HexaCone rotate y*RrY translate TrH }
// object { Repere scale 2 } // object { Repere scale 2 }
#declare CamY = 19 - (5*NormClock); #declare CamY = 19 - (4.5*NormClock);
#declare LatY = -4 + NormClock; #declare LatY = -3 + NormClock;
camera { camera {
location <-3.60, CamY, 21.09> location <-3.60, CamY, 21.09>
@ -34,5 +36,5 @@ camera {
// focal_point <0, 1, 0> // focal_point <0, 1, 0>
// aperture 0.046 // aperture 0.046
// blur_samples 30 // blur_samples 30
angle 47 angle 45
} }