artistic changes

This commit is contained in:
tth 2022-03-16 13:44:29 +01:00
parent a740106ae9
commit dd94a4a2a8

View File

@ -5,7 +5,7 @@
#version 3.7; #version 3.7;
global_settings { global_settings {
ambient_light rgb <0.12, 0.07, 0.07> ambient_light rgb <0.14, 0.08, 0.08>
assumed_gamma 1.0 assumed_gamma 1.0
} }
@ -19,8 +19,8 @@ global_settings {
#include "WS/bloubs.inc" #include "WS/bloubs.inc"
#fopen LC "WS/log.nb_bloubs" write #fopen LC "WS/log.nb_bloubs" append
#write (LC, Nb_Bloubs, "\n") #write (LC, " ", Nb_Bloubs, "\n")
#fclose LC #fclose LC
@ -29,11 +29,18 @@ object {
finish { phong 0.55 specular 0.55 } finish { phong 0.55 specular 0.55 }
} }
plane { object {
<0, 1, 0>, 0 union {
plane { <1, 0, 0>, -23 }
plane { <1, 0, 0>, 23 }
plane { <0, 1, 0>, -23 }
plane { <0, 1, 0>, 23 }
plane { <0, 0, 1>, 50 }
texture { texture {
pigment { color srgb <0.155, 0.144, 0.111> } pigment { color srgb <0.195, 0.144, 0.111> }
finish { phong 0.18 metallic 0.55 } finish { phong 0.18 metallic 0.35 reflection 0.35 }
}
} }
} }
@ -41,23 +48,23 @@ plane {
#declare BH = 5; // H = taille en horizontal #declare BH = 5; // H = taille en horizontal
#declare BV = 5; // V = taille en vertical #declare BV = 5; // V = taille en vertical
#declare BR = 0.035; #declare BR = 0.028;
#declare Une_Borne = object #declare Une_Borne = object
{ {
merge { merge {
cylinder { <0, 0, 0>, <0, BV, 0>, BR } cylinder { <0, BV, 0>, <0, -BV, 0>, BR }
cylinder { <0, 0, 0>, <0, 0.04, 0>, BR*6 } cylinder { <0, 0.012, 0>, <0, -0.012, 0>, BR*3 }
} }
} }
#declare Un_Cadre = object #declare Un_Cadre = object
{ {
merge { merge {
#local Ruc = BR * 0.666; #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>, BR } cylinder { < BH, 0, -BH>, < BH, 0, BH>, Ruc }
cylinder { < BH, 0, -BH>, <-BH, 0, -BH>, BR } cylinder { < BH, 0, -BH>, <-BH, 0, -BH>, Ruc }
cylinder { < BH, 0, BH>, <-BH, 0, BH>, Ruc } cylinder { < BH, 0, BH>, <-BH, 0, BH>, Ruc }
} }
pigment { color Gray40 } pigment { color Gray40 }
@ -66,9 +73,9 @@ pigment { color Gray40 }
#declare Les_Bornes = object #declare Les_Bornes = object
{ {
union { union {
#local E = 0.02; #local E = 0.002;
object { Un_Cadre translate y*(BV-E) } object { Un_Cadre translate y*(BV-E) }
object { Un_Cadre translate y*E } object { Un_Cadre translate -y*(BV-E) }
object { Une_Borne translate <-BH, 0, -BH> pigment { color Blue } } 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 } }
@ -100,24 +107,22 @@ union {
} }
// ---------------------------------------------------------- // ----------------------------------------------------------
// object { Repere scale 2+(1.9*NormClock) translate y*2.5 } light_source { <19, -12, -17> color Gray80 }
light_source { <11, 14, 9> color Gray60 }
light_source { <9, 22, -17> color Gray80 } #declare XCAM = 8 - ( 15 * NormClock);
light_source { <11, 19, 9> color Gray60 } #declare YCAM = 1 + (0.75 * NormClock);
#declare ZCAM = -17.5;
#declare XCAM = 8 - ( 8 * NormClock); #declare XLAT = Bary_X;
#declare YCAM = 5 + ( 3 * NormClock); #declare YLAT = Bary_Y;
#declare ZCAM = -15; #declare ZLAT = Bary_Z;
/* // object { Repere scale 2.5 translate <XLAT, YLAT, ZLAT> }
#fopen LC "WS/log.camera" append
#write (LC, clock, " ", NormClock, " ", YCAM, "\n")
#fclose LC
*/
camera { camera {
location <XCAM, YCAM, ZCAM> location <XCAM, YCAM, ZCAM>
look_at <0, 1.5, 0> look_at <XLAT, YLAT, ZLAT>
right x*image_width/image_height right x*image_width/image_height
angle 51 angle 66
} }