another bunch of little changes
This commit is contained in:
22
gadgets.inc
22
gadgets.inc
@@ -135,8 +135,11 @@ texture { T_WIP_bluewave scale 0.21 rotate <clock, clock/2, clock/3> }
|
||||
}
|
||||
|
||||
/* ======================================================= */
|
||||
|
||||
|
||||
/*
|
||||
* 18 février 2026, cette horloge mérite vraiment
|
||||
* d'être refaite de fond en comble, parce que ce
|
||||
* code est vraiment gruik.
|
||||
*/
|
||||
|
||||
#declare Horloge = object
|
||||
{
|
||||
@@ -152,7 +155,7 @@ scale 1.96
|
||||
rotate 90*x
|
||||
translate <-4.5, 0.046, 0>
|
||||
}
|
||||
// =======================================================
|
||||
// ----------------------------------------------------------
|
||||
// nouveau du 3 janvier 2026
|
||||
#local Horloge2 = object
|
||||
{
|
||||
@@ -162,9 +165,9 @@ object { Horloge scale <1, 0.28, 1> rotate -x*90
|
||||
#declare HorlogeDouble = object
|
||||
{
|
||||
union {
|
||||
box { <-3.20, 0.0, -0.07>, <3.20, 1.68, 0.07>
|
||||
box { <-3.10, 0.0, -0.06>, <3.10, 1.68, 0.06>
|
||||
texture { LeGris } }
|
||||
#local EC = 0.12;
|
||||
#local EC = 0.18;
|
||||
object { Horloge2 rotate y*180 translate z*EC }
|
||||
object { Horloge2 translate -z*EC }
|
||||
}
|
||||
@@ -274,12 +277,13 @@ union {
|
||||
texture { Soft_Silver scale 6.50 }
|
||||
}
|
||||
#end
|
||||
// ------------------------------------------------------ ##
|
||||
// ----------------------------------------------------------- ##
|
||||
/* XXX +++ make this a #macro +++ */
|
||||
#declare Blob_Boxed = object
|
||||
{
|
||||
union {
|
||||
object { OpenBox(0.5, 0.01) }
|
||||
object { HexaBlob }
|
||||
object { HexaBlob rotate <clock*0.9, clock*0.7, clock*0.5> }
|
||||
}
|
||||
}
|
||||
// =======================================================
|
||||
@@ -289,7 +293,7 @@ union {
|
||||
*/
|
||||
#macro Bubble ()
|
||||
sphere {
|
||||
0, 0.070
|
||||
0, 0.070 + 0.056*rand(Rng1)
|
||||
#local R = rand(Rng1);
|
||||
#if ( R < 0.25 ) texture { Ruby_Glass }
|
||||
#elseif ( R < 0.50 ) texture { Orange_Glass }
|
||||
@@ -314,7 +318,7 @@ union {
|
||||
#declare Les_Machins = object
|
||||
{
|
||||
union {
|
||||
#local Rk = 3.90 + NormClock;
|
||||
#local Rk = 3.60 + NormClock;
|
||||
#for (foo, 0, 359, 45)
|
||||
#local Xpos = Rk * sin(radians(foo));
|
||||
#local Zpos = Rk * cos(radians(foo));
|
||||
|
||||
Reference in New Issue
Block a user