From 0285a14e0251312afe6d192aa9deebc97c389c86 Mon Sep 17 00:00:00 2001 From: Tonton Th Date: Thu, 2 Jan 2025 01:30:37 +0100 Subject: [PATCH] multiple tweakings... --- elements.inc | 2 +- essai.pov | 34 +++++++--------------------------- passage.pov | 23 +++++++++++++++++++---- scene.pov | 3 ++- topview.pov | 14 ++++++++------ 5 files changed, 37 insertions(+), 39 deletions(-) diff --git a/elements.inc b/elements.inc index 4a10dd4..e05bb5f 100644 --- a/elements.inc +++ b/elements.inc @@ -38,7 +38,7 @@ union { #local xR = (rand(Rng2)-0.5000) * kR; #local yR = (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) #local Couleur = rgb ; #else diff --git a/essai.pov b/essai.pov index b95fbc9..71cfc87 100644 --- a/essai.pov +++ b/essai.pov @@ -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 { 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 scale SC - translate 2*y*NormClock + translate 3*y*NormClock } translate < 0, 1, 0> } -object { Repere } +// object { Le_Decor } +// object { Repere } #if (0) 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 } translate <-0.80, 1, 0> } #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> } camera { - location <-0.7+NormClock, 1.81, 2.59> + location <-0.7+NormClock, 1.81, 2.09> look_at <0.0, 1.0, 0> - angle 64 + angle 54 } diff --git a/passage.pov b/passage.pov index 4469082..f04156c 100644 --- a/passage.pov +++ b/passage.pov @@ -16,21 +16,36 @@ // --------------------------------------- +object { Le_Decor } + #declare PosX = 0.333; #declare PosY = 1.20 + (NormClock*0.22); -#declare PosZ = (NormClock-0.5) * 29.22; +#declare PosZ = (NormClock-0.5) * 34.22; object { HexaCone translate } -#if ( clock > 130 ) + +#if ( (clock < 111) ) light_source { - <2, 0.30, -2> color Red + <3, 0.30, -8> color Blue spotlight radius .044 falloff 2 - tightness 10 + tightness 3 point_at } #end + +#if ( (clock > 230) ) +light_source { + <2, 0.30, -2> color White + spotlight + radius .044 + falloff 2 + tightness 3 + point_at + } +#end + camera { location <-1.56, 1.03, 9.76> look_at diff --git a/scene.pov b/scene.pov index d1b5bcc..2ea82e5 100644 --- a/scene.pov +++ b/scene.pov @@ -15,12 +15,13 @@ #include "contexte.inc" #include "elements.inc" +object { Le_Decor } object { HexaCone rotate < 3, 0, -4> rotate y*17 translate y*1.11 } #declare CK = 56 + (clock * 1); -#declare Dcam = 2.04; +#declare Dcam = 2.14; #declare CamX = Dcam * sin(radians(CK)); #declare CamZ = Dcam * 1.20 * cos(radians(CK)); #declare CamZ = CamZ - 0.11; diff --git a/topview.pov b/topview.pov index 8c64604..c9b96b8 100644 --- a/topview.pov +++ b/topview.pov @@ -14,19 +14,21 @@ #include "contexte.inc" #include "elements.inc" +object { Le_Decor } + light_source { <-16, 17, -24>, rgb <0.51, 0.65, 0.40> } -#declare TrX = 1.4 * sqrt(NormClock); -#declare TrY = 0.90 + (3.5 * sqrt(NormClock)); -#declare TrZ = 9.9 * sqrt(NormClock); +#declare TrX = 1.34 * sqrt(NormClock); +#declare TrY = 0.90 + (3.5 * Cos_01(NormClock)); +#declare TrZ = 9.999 * sqrt(NormClock); #declare TrH = ; #declare RrY = 57 * sqrt(NormClock); object { HexaCone rotate y*RrY translate TrH } // object { Repere scale 2 } -#declare CamY = 19 - (5*NormClock); -#declare LatY = -4 + NormClock; +#declare CamY = 19 - (4.5*NormClock); +#declare LatY = -3 + NormClock; camera { location <-3.60, CamY, 21.09> @@ -34,5 +36,5 @@ camera { // focal_point <0, 1, 0> // aperture 0.046 // blur_samples 30 - angle 47 + angle 45 }