//====================== 8-Eck ===================
intersection{
box {<-1, 0.0,-1>,< 1,1.0,1> rotate<0, 0,0> }
box {<-1,-0.1,-1>,< 1,1.1,1> rotate<0,45,0> }
scale <1,0.5,1>
texture{Polished_Brass
normal{bumps 0.3 scale 0.02}
finish{ambient 0.15 diffuse 0.85 phong 1}
}
translate<1.1,0.00,0>}
//====================== 8-Eck hohl ==============
intersection{
box {<-1, 0.0,-1>,< 1,1.0,1> rotate<0, 0,0> }
box {<-1,-0.1,-1>,< 1,1.1,1> rotate<0,45,0> }
cylinder{<0,-0.1,0>,<0,1.1,0>,0.5 inverse
scale <1,0.5,1>
texture{Polished_Chrome
normal{bumps 0.3 scale 0.2}
finish{ambient 0.15 diffuse 0.85 phong 1}
}
translate<-1.1,0.50,0.5>}
//--------------------------------------- end ---- |
The resulting image:
|