cosmetic changes

This commit is contained in:
tth 2022-02-16 14:25:43 +01:00
parent 1d9273a697
commit 9cedca1fea
1 changed files with 19 additions and 6 deletions

View File

@ -5,7 +5,7 @@
#version 3.7;
global_settings {
ambient_light rgb <0.12, 0.01, 0.01>
ambient_light rgb <0.12, 0.04, 0.04>
assumed_gamma 1.0
}
@ -37,21 +37,34 @@ plane {
// ----------------------------------------------------------
#declare BH = 5;
#declare BV = 5;
#declare BR = 0.025;
#declare BH = 5; // H = taille en horizontal
#declare BV = 5; // V = taille en vertical
#declare BR = 0.028;
#declare Une_Borne = object
{
union {
merge {
cylinder { <0, 0, 0>, <0, BV, 0>, BR }
cylinder { <0, 0, 0>, <0, 0.02, 0>, BR*6 }
cylinder { <0, 0, 0>, <0, 0.04, 0>, BR*6 }
}
}
#declare Cadre_Haut = object
{
merge {
cylinder { <-BH, 0, -BH>, <-BH, 0, BH>, BR }
cylinder { < BH, 0, -BH>, < BH, 0, BH>, BR }
cylinder { < BH, 0, -BH>, <-BH, 0, -BH>, BR }
cylinder { < BH, 0, BH>, <-BH, 0, BH>, BR }
}
pigment { color Gray50 }
}
#declare Les_Bornes = object
{
union {
object { Cadre_Haut translate y*(BV-0.05) }
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 } }