antenne radar, première version

This commit is contained in:
Tonton Th 2024-12-15 22:24:38 +01:00
parent 76e0955e19
commit 286e384f64
3 changed files with 14 additions and 8 deletions

View File

@ -45,17 +45,21 @@ texture { New_Penny }
{ {
union { union {
#for (foo, 0, 360, 60) #for (foo, 0, 360, 60)
#local RR = 0.16; #local RR = 0.17;
#local PX = RR * sin(radians(foo)); #local PX = RR * sin(radians(foo));
#local PZ = RR * cos(radians(foo)); #local PZ = RR * cos(radians(foo));
sphere { 0, 0.008 sphere { 0, 0.009
scale <1, 1.37, 1> scale <1, 1.39, 1>
translate <PX, 0, PZ> translate <PX, 0.007, PZ>
} }
cylinder { -0.11*y, <PX, 0, PZ>, 0.003 } #local R2 = 0.08;
#local PX2 = R2 * sin(radians(foo));
#local PZ2 = R2 * cos(radians(foo));
cylinder { <PX2, -0.06, PZ2>, <PX, 0, PZ>*0.98, 0.003 }
#end #end
torus { R2, 0.004 translate -0.06*y }
} }
texture { PinkAlabaster scale 8 } texture { Soft_Silver scale 1.0 }
} }
#declare HexaCone_head = object #declare HexaCone_head = object

View File

@ -15,8 +15,10 @@ global_settings {
object { HexaCone_radar translate y*0.6 } object { HexaCone_radar translate y*0.6 }
light_source { <-6, 7, -4>, rgb <0.81, 0.65, 0.40> }
camera { camera {
location <-3, 2, 1> location <-3, 1, 1>
look_at <0, 0.6, 0> look_at <0, 0.6, 0>
angle 10 angle 10
} }

View File

@ -18,7 +18,7 @@ object { HexaCone translate y*1.15 }
#declare CK = 56 + (clock * 2); #declare CK = 56 + (clock * 2);
#declare Dcam = 1.95; #declare Dcam = 1.95;
#declare CamX = Dcam * sin(radians(CK)); #declare CamX = Dcam * sin(radians(CK));
#declare CamZ = Dcam * 1.23 * cos(radians(CK)); #declare CamZ = Dcam * 1.20 * cos(radians(CK));
#declare CamZ = CamZ - 0.9; #declare CamZ = CamZ - 0.9;
#declare Lat = <0.03, 1.08, 0.22>; #declare Lat = <0.03, 1.08, 0.22>;