add rotor to the reactors

This commit is contained in:
Tonton Th 2024-12-23 19:36:38 +01:00
parent 1fc0810d40
commit 00790763b1
2 changed files with 77 additions and 35 deletions

View File

@ -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 <Red, 0.03, 0.03>
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> , <DXail, DYail, DZail/5> }
}
#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> , <DXail, DYail, DZail/5> }
}
#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>
}

View File

@ -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> , <DXail, DYail, DZail/5> }
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
}