gigantic refactoring, part one

This commit is contained in:
Tonton Th
2025-01-12 02:33:39 +01:00
parent 5d34aac50c
commit 273312e7c5
17 changed files with 275 additions and 163 deletions

View File

@@ -13,18 +13,21 @@
#include "contexte.inc"
#include "elements.inc"
#include "hexabenz.inc"
// ---------------------------------------
object { Le_Decor }
#declare PosX = 0.333;
#declare PosY = 1.20 + (NormClock*0.22);
#declare PosZ = (NormClock-0.5) * 34.22;
#declare PosY = 1.20 + (NormClock*0.24);
#declare PosZ = (NormClock-0.5) * 53.27;
object { HexaCone translate <PosX, PosY, PosZ> }
object { HexaCone () translate <PosX, PosY, PosZ> }
object { HexaBenz () translate <PosX+1.96, PosY+1.42, PosZ-11.5> }
object { HexaBenz () translate <PosX-1.96, PosY+2.42, PosZ-17.5> }
#if ( (clock < 111) )
#if ( (clock < 141) )
light_source {
<3, 0.30, -8> color Blue
spotlight
@@ -35,23 +38,23 @@ light_source {
}
#end
#if ( (clock > 230) )
#if ( (clock > 230) & (clock < 300) )
light_source {
<2, 0.30, -2> color White
spotlight
radius .044
falloff 2
tightness 3
point_at <PosX, PosY, PosZ>
point_at <PosX, PosY-0.30, PosZ>
}
#end
camera {
location <-1.56, 1.03, 9.76>
location <-1.76, 1.03, 9.76>
look_at <PosX, PosY, PosZ>
// focal_point <0, 1, 0>
// aperture 0.046
// blur_samples 30
angle 36
angle 34
}