/* * H E X A C O N E - C U T O F F * nouveau projet du Thu Dec 5 11:37:05 AM UTC 2024 */ #version 3.7; #include "globals.inc" #include "contexte.inc" #include "hexacone.inc" #include "hexabenz.inc" #include "hexawood.inc" #include "trident.inc" #include "dynamic.inc" // ======================================================= #declare POS_Cutoff = <-24, 0, -7>; #local TY = 1.55; #declare Pos = <0.50, -0.70, 0.75>; #declare Rad = 0.40 + (1.*NormClock); difference { object { HexaBenz () } sphere { Pos, Rad } translate y*TY + POS_Cutoff } sphere { Pos, 0.025 translate y*TY + POS_Cutoff texture { T_WIP_alert } } // object { Repere translate y*2.8 + POS_Cutoff } /* this one is for debugging */ object { OpenBox translate y*TY + POS_Cutoff } // ======================================================= light_source { <-24, 0.4, -1> colour Orange parallel point_at y*TY + POS_Cutoff } object { Le_Decor } // ======================================================= #local CamX = -27.4 + (3.29*Cos_01(NormClock)); #local CamY = 2.1 - (0.24*sqrt(NormClock)); #local CamZ = -0.85 + (2.02*NormClock); camera { location look_at <0, 1.5, 0> + POS_Cutoff angle 35 - 5*Cos_01(NormClock) }