nap time ?
This commit is contained in:
20
gadgets.inc
20
gadgets.inc
@@ -203,19 +203,20 @@ prism {
|
||||
#end // macro
|
||||
// ------------------------------------------------------ ##
|
||||
/* nouveau du 31 mars 2026, aux Bourtoulots
|
||||
*
|
||||
* XXX need more fine tuning !
|
||||
*/
|
||||
#macro HexaPole_abatjour (Quux)
|
||||
union {
|
||||
#local Raj = 0.333;
|
||||
torus { Raj, 0.013 translate -y*Quux }
|
||||
torus { Raj, 0.011 translate -y*Quux }
|
||||
#for (Foo, 0, 359, 18)
|
||||
#local DX = Raj * sin(radians(Foo));
|
||||
#local DZ = Raj * cos(radians(Foo));
|
||||
cylinder { -y*Quux, y*Quux, 0.009 translate <DX, 0, DZ> }
|
||||
#end // for
|
||||
torus { Raj, 0.02 translate y*Quux }
|
||||
rotate y*(clock*0.90*(rand(Rng1)-0.59))
|
||||
rotate y*(clock*1.86*(rand(Rng1)-0.52))
|
||||
texture { Aluminum }
|
||||
}
|
||||
#end // macro
|
||||
|
||||
@@ -224,7 +225,7 @@ sphere {
|
||||
0, 0.080
|
||||
texture {
|
||||
pigment { color rgb <1, 1, 1> }
|
||||
finish { emission 0.8 diffuse 0.6 }
|
||||
finish { emission 0.9 diffuse 0.6 }
|
||||
}
|
||||
}
|
||||
#end // macro
|
||||
@@ -232,18 +233,19 @@ sphere {
|
||||
#macro HexaPole_mat_lampe (Height)
|
||||
union {
|
||||
union {
|
||||
cylinder { 0, y*Height, 0.061 }
|
||||
cylinder { 0, y*Height, 0.061
|
||||
texture { LeGris }}
|
||||
#local Val = 0.09+(0.09*rand(Rng1));
|
||||
object { HexaPole_abatjour (Val)
|
||||
translate y*(Height+0.073) }
|
||||
texture { LeGris }
|
||||
|
||||
}
|
||||
|
||||
#local Pos = y*(Height+0.097);
|
||||
#if (rand(Rng1) < 0.333)
|
||||
#if (rand(Rng1) < 0.36)
|
||||
#local Val = 0.25 + 0.5*rand(Rng1);
|
||||
light_source {
|
||||
Pos rgb <0.86, 0.25+(0.5*rand(Rng1)), 0.99>
|
||||
Pos rgb <0.86, 0.29+(0.5*rand(Rng1)), 0.99>
|
||||
fade_distance 3.30
|
||||
fade_power 1.55
|
||||
looks_like { HexaPole_ampoule (0) }
|
||||
@@ -251,7 +253,7 @@ union {
|
||||
#else
|
||||
sphere {
|
||||
Pos, 0.080
|
||||
texture { Y_Texture }
|
||||
texture { LeGris }
|
||||
}
|
||||
#end // if
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user