From 00790763b1b84589f8a239f9d867499cc7e44f4c Mon Sep 17 00:00:00 2001 From: Tonton Th Date: Mon, 23 Dec 2024 19:36:38 +0100 Subject: [PATCH] add rotor to the reactors --- elements.inc | 80 ++++++++++++++++++++++++++++++++++++++++++++++++---- essai.pov | 32 ++------------------- 2 files changed, 77 insertions(+), 35 deletions(-) diff --git a/elements.inc b/elements.inc index 7049034..d509eda 100644 --- a/elements.inc +++ b/elements.inc @@ -21,7 +21,7 @@ union { union { difference { object { HexaCone_shape } - object { HexaCone_shape scale 0.99 } + object { HexaCone_shape scale 0.98 } sphere {0, 0.24 } cylinder { <-1, 0, 0.55>, <1, 0, 0.55>, RA*0.40 } @@ -33,7 +33,10 @@ union { cylinder {-y, y, 0.10 } cylinder {-z, z, 0.10 } } - light_source { 0, rgb <0.99, 0.05, 0.05> + // clignotement de la lumiere \o/ + // #local Red = abs(sin(NormClock * 47.88)); + #local Red = rand(R2); + light_source { 0, rgb fade_distance 0.99 fade_power 1.58 } @@ -119,6 +122,31 @@ merge { texture { Orange_Glass } } +/* ------------------------------------------ + * new Sat Dec 21 11:17:36 PM UTC 2024 + */ +#declare DXail = 0.001; +#declare DYail = 0.0025; +#declare DZail = 0.028; + +#declare Une_Ailettte = object +{ +box { <-DXail, -DYail, -DZail> , } +} + +#declare Le_rotor = object +{ +union { + cylinder { <-0.1, 0, 0>, <0.1, 0, 0>, 0.003 } + #for (foo, 0, 18) + object { Une_Ailettte + rotate (foo*27)*x + translate ((foo*0.012)-0.05)*x } + #end + } +texture { T_Chrome_1C } +} + /* ------------------------------------------------------ * */ @@ -149,15 +177,55 @@ merge { texture { T_Brass_1C } } -#declare Les_Tuyeres = object +#declare Reacteur = object +{ +union { + object { Tuyere } + object { Le_rotor rotate x*clock translate -0.05*x } + } +} + +#declare Les_Reacteurs = object { union { #local E = 0.59; - object { Tuyere translate -E*z } - object { Tuyere translate E*z } + object { Reacteur translate -E*z } + object { Reacteur translate E*z } } rotate -y*90 } +/* ------------------------------------------ + * new Sat Dec 21 11:17:36 PM UTC 2024 + */ +#declare DXail = 0.001; +#declare DYail = 0.0025; +#declare DZail = 0.028; + +#declare Une_Ailettte = object +{ +box { <-DXail, -DYail, -DZail> , } +} + +#declare Le_rotor = object +{ +union { + cylinder { <-0.1, 0, 0>, <0.1, 0, 0>, 0.003 } + #for (foo, 0, 18) + object { Une_Ailettte + rotate (foo*27)*x + translate ((foo*0.012)-0.05)*x } + #end + } +// texture { T_Chrome_1C } +texture { + pigment { color Orange } + finish { ambient 0.7 phong 0.5 brilliance 0.9 metallic 0.7 } + } +} + + + +// ###########################################################"" #declare HexaCone = object { @@ -167,7 +235,7 @@ union { object { HexaCone_head translate <0, 0, T+DTa> } object { HexaCone_radar translate <0, T+0.18, 0> } object { HexaCone_derives translate <0, 0, -0.67> } - object { Les_Tuyeres translate -0.18*y } + object { Les_Reacteurs translate -0.18*y } } rotate <-7, 0, -4> } diff --git a/essai.pov b/essai.pov index 85fe623..b861699 100644 --- a/essai.pov +++ b/essai.pov @@ -20,42 +20,16 @@ global_settings { // ======================================================= -/* ------------------------------------------ - * new Sat Dec 21 11:17:36 PM UTC 2024 - */ -#declare DXail = 0.001; -#declare DYail = 0.0025; -#declare DZail = 0.028; - -#declare Une_Ailettte = object -{ -box { <-DXail, -DYail, -DZail> , } -pigment { color Cyan } -} - -#declare Le_rotor = object -{ -union { - cylinder { <-0.1, 0, 0>, <0.1, 0, 0>, 0.001 - pigment { color Magenta } } - #for (foo, 0, 18) - object { Une_Ailettte - rotate (foo*27)*x - translate ((foo*0.01)-0.05)*x } - #end - } -} // ======================================================= -object { Tuyere translate <0, 1, 0> } -object { Le_rotor translate <0, 1, 0> } +object { Reacteur translate <0, 1, 0> } light_source { <-6, 7, -4>, rgb <0.81, 0.65, 0.40> } light_source { <-6, 7, 4>, rgb <0.31, 0.65, 0.80> } camera { - location <-0.99, 1.01, 0.24> + location <-0.91, 1.01, 0.20> look_at <0, 1.0, 0> - angle 37 + angle 32 }