From 3728c5f73808c9b7274cd9c5b647785f84f27959 Mon Sep 17 00:00:00 2001 From: Tonton Th Date: Wed, 3 Dec 2025 12:51:23 +0100 Subject: [PATCH] =?UTF-8?q?=C3=A9volution=20de=20la=20chose?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gadgets.inc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gadgets.inc b/gadgets.inc index b15a673..ab7a3c3 100644 --- a/gadgets.inc +++ b/gadgets.inc @@ -4,12 +4,12 @@ */ /* ======================================================= */ -#declare R_C = 0.79; +#declare R_C = 0.72; /* ce truc mérite un nom plus parlant ! */ #macro Chose_le_pied () merge { - #local RCP = 0.54; + #local RCP = R_C * 0.666; cylinder { 0, y/2, 0.07 } cone { y*0.125, RCP, y*0.250, 0.07 } cylinder { 0, y*0.125, RCP } @@ -35,8 +35,8 @@ merge { #local C2X = (R_C + 0.2) * sin(CK2+rand(Rng1)) * sin(CK*3); #local C2Z = (R_C + 0.3) * (sin(-CK2+rand(Rng1)) * cos(CK*(rand(Rng1)))); - #local Rt = 0.04+(0.06*Cos_010(NormClock)); - #local H = 3.2; + #local Rt = 0.03+(0.04*Cos_010(NormClock)); + #local H = 2.4; cylinder { 0, , Rt } sphere { , Rt } #end @@ -53,15 +53,15 @@ merge { // ------------------------------------------------------ ## #macro Chose_le_corps () // = object difference { - cone { 0, R_C*0.72, 1.2*y, R_C } - sphere { 1.2*y R_C*0.73 } + cone { 0, R_C*0.55, y, R_C } + sphere { y, R_C*0.75 } #local R = rand(Rng1); #if (R < 0.25) texture { tPlasticOrange } #elseif (R < 0.50) texture { tPlasticBlue } #elseif (R < 0.75) texture { tPlasticPrune } #else texture { tPlasticGreen } #end // if - translate y*0.50 + translate y*0.48 } #debug "== Fin chose le corps\n" #end // macro