#include "colors.inc"
#include "textures.inc"
#include "shapes.inc"
#version 3.0
global_settings { assumed_gamma 2.2 }
//------CAMERA ANGLES INCLUDE FRONT VIEW, SIDE VIEW AND TOP VIEW------
//front view
camera {
location <0,>
look_at <0,>
}
light_source { <0,> White }
plane {
<0,>,
-1.0
texture {
pigment {White}
}
}
sphere {
<0,80,200>,200
texture {
pigment { color red 2 green 2 blue 2}
}
}
//METAL STEM
cylinder {
<0,>,
<0,>, 2.5
}
//METAL RING
#declare ring = torus {
15,
0.5
texture {
pigment {Red}
}
}
//METAL PARTS CONNECTING
#declare metal_part = cylinder {
<1,>,
<15,>, .5
}
object {metal_part}
object {metal_part rotate y*90}
object {metal_part rotate y*-90}
object {metal_part rotate y*180}
#declare metal_p1 = cylinder {
<15,>,
<22.25,>, .5
}
object {metal_p1}
object {metal_p1 rotate y*90}
object {metal_p1 rotate y*-90}
object {metal_p1 rotate y*180}
#declare metal_p2 = cylinder {
<0,>,
<22,>, .5
}
object {ring}
object{metal_p2 }
object{metal_p2 rotate y*90}
object{metal_p2 rotate y*-90}
object{metal_p2 rotate y*180}