ready for another run ?

This commit is contained in:
tth
2022-02-18 19:30:10 +01:00
parent 64206904ca
commit 47a383f3b6
9 changed files with 66 additions and 34 deletions

View File

@@ -11,13 +11,18 @@ global_settings {
#include "colors.inc"
#include "nbimg.inc"
#include "WS/nbimg.inc"
#declare NormClock = clock / NbImg;
// ----------------------------------------------------------
#include "bloubs.inc"
#include "WS/bloubs.inc"
#fopen LC "WS/log.nb_bloubs" write
#write (LC, Nb_Bloubs, "\n")
#fclose LC
object {
Bloubs
@@ -27,8 +32,8 @@ object {
plane {
<0, 1, 0>, 0
texture {
pigment { color Gray05 }
finish { phong 0.18 metallic 0.45 }
pigment { color srgb <0.133, 0.144, 0.111> }
finish { phong 0.18 metallic 0.55 }
}
}
@@ -49,7 +54,7 @@ merge {
#declare Un_Cadre = object
{
merge {
#local Ruc = BR * 0.78;
#local Ruc = BR * 0.666;
cylinder { <-BH, 0, -BH>, <-BH, 0, BH>, Ruc }
cylinder { < BH, 0, -BH>, < BH, 0, BH>, BR }
cylinder { < BH, 0, -BH>, <-BH, 0, -BH>, BR }
@@ -100,16 +105,19 @@ union {
light_source { <9, 22, -17> color Gray80 }
light_source { <11, 19, 9> color Gray60 }
#declare XCAM = 8 -( NormClock*3 );
#declare YCAM = 5 + (11 * NormClock);
#declare XCAM = 8 - ( 8 * NormClock);
#declare YCAM = 5 + ( 6 * NormClock);
#declare ZCAM = -17;
#fopen LC "log.camera" append
/*
#fopen LC "WS/log.camera" append
#write (LC, clock, " ", NormClock, " ", YCAM, "\n")
#fclose LC
*/
camera {
location <XCAM, YCAM, -16>
look_at <0, 1, 0>
location <XCAM, YCAM, ZCAM>
look_at <0, 1.5, 0>
right x*image_width/image_height
angle 48
angle 42
}