cosmetic changes

This commit is contained in:
tth 2022-02-16 23:39:11 +01:00
parent 8122bf1932
commit c07b5f163f
1 changed files with 38 additions and 10 deletions

View File

@ -21,10 +21,13 @@ global_settings {
object {
Bloubs
/* XXX
texture {
pigment { color Gray60 }
finish { phong 0.58 specular 0.45 }
}
XXX */
finish { phong 0.33 specular 0.95 }
}
plane {
@ -39,7 +42,7 @@ plane {
#declare BH = 5; // H = taille en horizontal
#declare BV = 5; // V = taille en vertical
#declare BR = 0.028;
#declare BR = 0.035;
#declare Une_Borne = object
{
@ -49,21 +52,24 @@ merge {
}
}
#declare Cadre_Haut = object
#declare Un_Cadre = object
{
merge {
cylinder { <-BH, 0, -BH>, <-BH, 0, BH>, BR }
#local Ruc = BR * 0.78;
cylinder { <-BH, 0, -BH>, <-BH, 0, BH>, Ruc }
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>, Ruc }
}
pigment { color Gray50 }
pigment { color Gray40 }
}
#declare Les_Bornes = object
{
union {
object { Cadre_Haut translate y*(BV-0.05) }
#local E = 0.12;
object { Un_Cadre translate y*(BV-E) }
object { Un_Cadre translate y*E }
object { Une_Borne translate <-BH, 0, -BH> pigment { color Blue } }
object { Une_Borne translate < BH, 0, -BH> pigment { color Green } }
@ -75,19 +81,41 @@ union {
object { Les_Bornes }
// ----------------------------------------------------------
#local D = 0.016;
#declare Fleche = object
{
merge {
sphere { <-0.05, 0, 0>, D }
cylinder { <1, 0, 0>, <-0.05, 0, 0>, D }
cone { <1, 0, 0>, D*3.1, <1.10, 0, 0>, 0.0001 }
}
}
#declare Repere = object
{
union {
object { Fleche pigment { color Red }}
object { Fleche rotate z*90 pigment { color Green }}
object { Fleche rotate y*270 pigment { color Blue }}
}
}
// ----------------------------------------------------------
object { Repere scale 2+(1.9*NormClock) translate y*2.5 }
light_source { <9, 22, -17> color Gray80 }
light_source { <11, 19, 9> color Gray60 }
#declare HCAM = 5 + (11 * NormClock);
#declare XCAM = 8 -( NormClock*3 );
#declare YCAM = 5 + (11 * NormClock);
#fopen LC "log.camera" append
#write (LC, clock, " ", NormClock, " ", HCAM, "\n")
#write (LC, clock, " ", NormClock, " ", YCAM, "\n")
#fclose LC
camera {
location <7, HCAM, -16>
location <XCAM, YCAM, -16>
look_at <0, 1, 0>
right x*image_width/image_height
angle 50
angle 48
}