une chose presque meilleure
This commit is contained in:
parent
23254ba7fa
commit
24469ba611
11
gadgets.inc
11
gadgets.inc
@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
/* ======================================================= */
|
||||
#declare R_C = 0.65;
|
||||
#declare R_C = 0.45;
|
||||
|
||||
/* ce truc mérite un nom plus parlant ! */
|
||||
#macro Chose_le_pied ()
|
||||
@ -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.03+(0.04*Cos_010(NormClock));
|
||||
#local H = 2.4;
|
||||
#local Rt = 0.03+(0.02*Cos_010(NormClock));
|
||||
#local H = 1.56;
|
||||
cylinder { 0, <C2X, H, C2Z>, Rt }
|
||||
sphere { <C2X, H, C2Z>, Rt }
|
||||
#end
|
||||
@ -53,8 +53,9 @@ merge {
|
||||
// ------------------------------------------------------ ##
|
||||
#macro Chose_le_corps () // = object
|
||||
difference {
|
||||
cone { 0, R_C*0.46, y, R_C }
|
||||
sphere { y, R_C*0.75 }
|
||||
#local H = 0.60 + (0.10 * rand(Rng1));
|
||||
cone { 0, R_C*0.52, y*H, R_C }
|
||||
sphere { y*H, R_C*0.75 }
|
||||
#local R = rand(Rng1);
|
||||
#if (R < 0.25) texture { tPlasticOrange }
|
||||
#elseif (R < 0.50) texture { tPlasticBlue }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user