commit su soir, espoir
This commit is contained in:
34
hexawood.inc
34
hexawood.inc
@@ -84,7 +84,7 @@ merge {
|
||||
#local RP = 0.040;
|
||||
sphere { 0, RP scale <1, 0.84, 1> translate 0.35*y }
|
||||
cylinder { 0, 0.35*y, RP }
|
||||
sphere { 0, 0.09 scale <1, 0.29, 1> }
|
||||
sphere { 0, 0.09 scale <1, 0.26, 1> }
|
||||
}
|
||||
#local R = rand(Rng1);
|
||||
#if ( R < 0.3 ) texture { Tinny_Brass }
|
||||
@@ -109,7 +109,7 @@ union {
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------ */
|
||||
#declare HW_Anneau0 = object
|
||||
#declare HW_Anneau_0 = object
|
||||
{
|
||||
merge {
|
||||
torus { Hc_rad*0.31, 0.0666 scale <1, 0.55, 1> }
|
||||
@@ -121,9 +121,35 @@ merge {
|
||||
#end // FOR
|
||||
}
|
||||
texture { GoldDark }
|
||||
rotate y * (1337 * NormClock)
|
||||
}
|
||||
|
||||
#declare HW_Anneau_1 = object
|
||||
{
|
||||
merge {
|
||||
#for (Foo, 0, 359, 60)
|
||||
#local DX = Hc_rad*0.35 * sin(radians(Foo+30));
|
||||
#local DZ = Hc_rad*0.35 * cos(radians(Foo+30));
|
||||
merge {
|
||||
cylinder { 0, 0.05*y, 0.006 }
|
||||
cone { 0.05*y, 0.006, 0.08*y, 0.012 }
|
||||
translate <DX, 0, DZ>
|
||||
}
|
||||
#end
|
||||
}
|
||||
#local R = rand(Rng1);
|
||||
texture { T_WIP_color }
|
||||
}
|
||||
|
||||
#declare HW_Anneau = object
|
||||
{
|
||||
union {
|
||||
object { HW_Anneau_0 }
|
||||
object { HW_Anneau_1 }
|
||||
}
|
||||
rotate y * (1664 * NormClock)
|
||||
translate y*0.32
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------ */
|
||||
#declare HexaWood = object
|
||||
{
|
||||
@@ -134,7 +160,7 @@ union {
|
||||
light_source { 0.20*y rgb <0, 0.20, 0.99> }
|
||||
#end
|
||||
object { HW_Cones () translate y*0.15 }
|
||||
object { HW_Anneau0 }
|
||||
object { HW_Anneau }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user