From 40bf162ba8d5f21f301674c1260ad7c6503f8433 Mon Sep 17 00:00:00 2001 From: Tonton Th Date: Sun, 2 Nov 2025 13:58:23 +0100 Subject: [PATCH] moving a wagonet to a better file --- essai.pov | 32 -------------------------------- xperiment.inc | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/essai.pov b/essai.pov index 937d42b..9215d35 100644 --- a/essai.pov +++ b/essai.pov @@ -24,38 +24,6 @@ * rail circulaire */ -#macro Wagonnet_0 (Longueur) -object { - /* le corps */ - merge { - #local L2 = Longueur / 2; - #local R = 0.50; - cylinder { , <-L2, 0, 0>, R } - sphere { <0, 0, 0>, R - scale <3, 1, 1> - translate x*L2 - } - - /* le kiosque (est-ce un sous-marin ?) */ - sphere { <-L2, 0, 0>, R } - merge { - cylinder { <0, 0, 0>, <0, L2, 0>, R/4 } - sphere { <0, 0, 0>, R/4 - scale <1, 0.4, 1> translate y*L2 - } - scale <2, 1, 1> translate x*L2*0.70 - } - #local R = rand(Rng1); - #if (R < 0.333) - texture { WIP_color } - #elseif (R < 0.666) - texture { GoldDark } - #else - texture { Flashy scale 17 } - #end - } -} -#end // macro #declare Un_Wagonnet = object { diff --git a/xperiment.inc b/xperiment.inc index ee5d218..cceeef6 100644 --- a/xperiment.inc +++ b/xperiment.inc @@ -4,6 +4,38 @@ * A cosy place for experimental things (2025/10/27) * */ +#macro Wagonnet_0 (Longueur) +object { + /* le corps */ + merge { + #local L2 = Longueur / 2; + #local R = 0.55; + cylinder { , <-L2, 0, 0>, R } + sphere { <0, 0, 0>, R + scale <3, 1, 1> + translate x*L2 + } + + /* le kiosque (est-ce un sous-marin ?) */ + sphere { <-L2, 0, 0>, R } + merge { + cylinder { <0, 0, 0>, <0, L2, 0>, R/4 } + sphere { <0, 0, 0>, R/4 + scale <1, 0.4, 1> translate y*L2 + } + scale <2, 1, 1> translate x*L2*0.70 + } + #local R = rand(Rng1); + #if (R < 0.333) + texture { WIP_color } + #elseif (R < 0.666) + texture { GoldDark } + #else + texture { Flashy scale 17 } + #end + } +} +#end // macro // ======================================================= /*