hexablob + openbox -> boxed_blob
This commit is contained in:
parent
606536c3f3
commit
0649930f7e
20
contexte.inc
20
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 }
|
||||
}
|
||||
}
|
||||
|
||||
/* ======================================================= */
|
||||
|
||||
|
||||
15
essai.pov
15
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)
|
||||
|
||||
39
gadgets.inc
39
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 <clock, clock/2, clock/3> }
|
||||
}
|
||||
|
||||
/* ======================================================= */
|
||||
|
||||
|
||||
|
||||
#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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user