From da681c34557a0e9dd4b7f179889af5a8f18f1694 Mon Sep 17 00:00:00 2001 From: tTh Date: Tue, 30 Jan 2024 13:31:08 +0100 Subject: [PATCH] bloubworld is now a cube --- BloubWorld/scene.pov | 59 ++++++++++++++++++++++++++++++++------------ 1 file changed, 43 insertions(+), 16 deletions(-) diff --git a/BloubWorld/scene.pov b/BloubWorld/scene.pov index fc870da..de22473 100644 --- a/BloubWorld/scene.pov +++ b/BloubWorld/scene.pov @@ -44,16 +44,19 @@ union { } } -cylinder { 0, -y, 30 pigment { color White } translate -4.20*y} +cylinder { 0, -y, 30 + texture { + pigment { color srgb <0.225, 0.244, 0.211> } + finish { phong 0.18 metallic 0.25 reflection 0.15 } + } +translate -6.20*y +} sky_sphere { pigment { color Gray20 } - emission rgb <0.1, 0.1, 0.1> + emission rgb <0.01, 0.01, 0.01> } - -// object { cylinder { <0, 0, 0>, <10, 0, 0>, 0.05 pigment { color Cyan } } } - // ---------------------------------------------------------- #declare Croisillon = object @@ -73,39 +76,63 @@ object { Croisillon scale 0.80 translate } // ---------------------------------------------------------- #declare BH = 6; // H = taille en horizontal -#declare BV = 4; // V = taille en vertical +#declare BV = 6; // V = taille en vertical #declare BR = 0.056; #declare Une_Borne = object { merge { cylinder { <0, BV, 0>, <0, -BV, 0>, BR } - cylinder { <0, 0.036, 0>, <0, -0.036, 0>, BR*2 } + cylinder { <0, 0.042, 0>, <0, -0.042, 0>, BR*1.90 } } } +#local Ruc = BR * 0.90; +#local Rud = BR * 0.30; + #declare Un_Cadre = object { merge { - #local Ruc = BR * 0.90; cylinder { <-BH, 0, -BH>, <-BH, 0, BH>, Ruc } cylinder { < BH, 0, -BH>, < BH, 0, BH>, Ruc } cylinder { < BH, 0, -BH>, <-BH, 0, -BH>, Ruc } cylinder { < BH, 0, BH>, <-BH, 0, BH>, Ruc } + cylinder { < BH, 0, 0>, <-BH, 0, 0>, Rud } + cylinder { < 0, 0, -BH>, < 0, 0, BH>, Rud } + } +texture { + pigment { color Gray50 } + finish { phong 0.87 specular 0.57 } + } +} + +#declare Montants = object +{ +union { + cylinder { <-BH, -BH, 0>, <-BH, BH, 0>, Rud } + cylinder { < BH, -BH, 0>, < BH, BH, 0>, Rud } + cylinder { < 0, -BH, -BH>, < 0, BH, -BH>, Rud } + cylinder { < 0, -BH, BH>, < 0, BH, BH>, Rud } + } +texture { + pigment { color Gray50 } + finish { phong 0.57 specular 0.87 } } -pigment { color Gray40 } } #declare Les_Bornes = object { union { - #local E = 0.0015; + #local E = 0.0005; object { Un_Cadre translate y*(BV-E) } object { Un_Cadre translate -y*(BV-E) } + object { Montants } + + #local G = Green * 0.80; object { Une_Borne translate <-BH, 0, -BH> pigment { color Blue } } - object { Une_Borne translate < BH, 0, -BH> pigment { color Green } } - object { Une_Borne translate <-BH, 0, BH> pigment { color Green } } + object { Une_Borne translate < BH, 0, -BH> pigment { color G } } + object { Une_Borne translate <-BH, 0, BH> pigment { color G } } object { Une_Borne translate < BH, 0, BH> pigment { color Red } } } } @@ -133,12 +160,12 @@ union { } // ---------------------------------------------------------- -light_source { <19, 12+NormClock, -17> color Gray80 } -light_source { <12, 10-NormClock, -29> color Gray70 } +light_source { < 19, 12+NormClock, -17> color Gray80 } +light_source { <-14, 10-NormClock, -29> color Gray70 } #declare XCAM = 5 - ( 10 * NormClock); -#declare YCAM = -1.1 + (1.15 * NormClock); -#declare ZCAM = -16.50; +#declare YCAM = -1.1 + (1.25 * NormClock); +#declare ZCAM = -19.20; #declare XLAT = 0; #declare YLAT = 0;