/* * H E X A C O N E - E S S A I * nouveau projet Thu Dec 5 11:37:05 AM UTC 2024 */ #version 3.7; #include "globals.inc" #include "colors.inc" #include "metals.inc" #include "textures.inc" #include "stones.inc" #declare NormClock = clock / 360.0; #include "contexte.inc" #include "elements.inc" // ======================================================= #declare RHBlo = 0.25; #declare RHBlo2 = RHBlo * 0.55; #declare HexaBlob = object { blob { // threshold 0.01 + NormClock threshold 0.01 sphere { <0, 0, 0>, RHBlo, 1 } #local E = RHBlo * 1.210; #local W = 0.1; sphere { <-E, 0, 0>, RHBlo2, W } sphere { < E, 0, 0>, RHBlo2, W } sphere { < 0, -E, 0>, RHBlo2, W } sphere { < 0, E, 0>, RHBlo2, W } sphere { < 0, 0, -E>, RHBlo2, W } sphere { < 0, 0, E>, RHBlo2, W } } } // ======================================================= object { HexaBlob #local SC = 1.111 + abs(sin(NormClock * 4 * 3.14159)); texture { T_Stone26 scale SC translate 2*y*NormClock } translate < 0, 1, 0> } object { Repere } #if (0) object { HexaBalls #local SC = 0.10 + abs(sin(NormClock * 4 * 3.14159)); texture { Lightning2 scale SC } translate <-0.80, 1, 0> } #end // ======================================================= light_source { <-8, 7, -9>, rgb <0.81, 0.65, NormClock> } // light_source { <-11, 7, 9>, rgb <0.31, NormClock, 0.80> } light_source { < 11, 7, 4>, rgb <1-NormClock, 0.28, 0.80> } camera { location <-0.7+NormClock, 1.81, 2.59> look_at <0.0, 1.0, 0> angle 64 }