diff --git a/contexte.inc b/contexte.inc index 9b8864b..49881d2 100644 --- a/contexte.inc +++ b/contexte.inc @@ -193,26 +193,6 @@ union { } } } -/* ------------------------------------------------------------ */ -#declare RHBlo = 0.24; -#declare RHBlo2 = RHBlo * 0.666; - -#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.15; - 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 } - } -} /* ======================================================= */ diff --git a/essai.pov b/essai.pov index 25e1177..2d63148 100644 --- a/essai.pov +++ b/essai.pov @@ -212,6 +212,15 @@ union { } // ------------------------------------------------------ ## +#declare Blob_Boxed = object +{ +union { + object { OpenBox(0.5, 0.01) } + object { HexaBlob } + } +} +// ------------------------------------------------------ ## + #debug " !!! ACTION !!!\n" light_source { @@ -244,9 +253,9 @@ union { object { Repere translate y*1 } #break #case (4) - object { Trident_A () - scale 1.8 - rotate <35, 0, 12> translate 2.6*y + object { Blob_Boxed + scale 4.000 + rotate <7, 0, 12> translate 3.7*y rotate -y*(clock*2) } #break #case (5) diff --git a/gadgets.inc b/gadgets.inc index 0a65dbe..7ef8a45 100644 --- a/gadgets.inc +++ b/gadgets.inc @@ -111,6 +111,33 @@ union { #end // macro /* ======================================================= */ + +/* ------------------------------------------------------------ */ + +#declare HexaBlob = object +{ +#declare RHBlo = 0.24; +#declare RHBlo2 = RHBlo * 0.777; +blob { + // threshold 0.01 + NormClock + threshold 0.07 + sphere { <0, 0, 0>, RHBlo, 1 } + #local E = RHBlo * 1.210; // XXX + #local W = 0.15; + 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 } + } +texture { T_WIP_bluewave scale 0.21 rotate } +} + +/* ======================================================= */ + + + #declare Horloge = object { #local Texte = str(NormClock, 6, 3); @@ -220,6 +247,7 @@ union { cylinder { < D, -D, -D>, < D, D, -D>, R } cylinder { <-D, -D, D>, <-D, D, D>, R } cylinder { < D, -D, D>, < D, D, D>, R } + /* en bas */ cylinder { < D, -D, D>, <-D, -D, D>, R } cylinder { < D, -D, -D>, <-D, -D, -D>, R } @@ -232,6 +260,17 @@ union { cylinder { <-D, D, D>, <-D, D, -D>, R } cylinder { < D, D, D>, < D, D, -D>, R } + /* les 8 coins */ + #local R2 = R * 1.38; + sphere { <-D, -D, -D>, R2 } + sphere { < D, -D, -D>, R2 } + sphere { <-D, -D, D>, R2 } + sphere { < D, -D, D>, R2 } + sphere { <-D, D, -D>, R2 } + sphere { < D, D, -D>, R2 } + sphere { <-D, D, D>, R2 } + sphere { < D, D, D>, R2 } + texture { Soft_Silver scale 6.50 } } #end