|
|
Oh, yes- once you scale the octahedron at 1.414*y, since it is perfectly
symmetrical, you can then use one more cube and trim it into a perfect
cuboctahedron like this:
// start of POV code
#declare octahedron = intersection {
object {box{<-2,-1,-1>, <2,1,1>} rotate 45*x}
object {box{<-1,-1,-2>, <1,1,2>} rotate 45*z}
pigment {color Green}
finish {roughness .1 specular .1}
}
object {intersection {
object {octahedron scale 1.414*y }
object {box{-1, 1} rotate 45*y pigment {color Green} finish {roughness .1
specular .1} }
} }
// end of POV code
Note the attached image.
Cheers!
Chip Shults
My robotics, space and CGI web page - http://home.cfl.rr.com/aichip
Post a reply to this message
Attachments:
Download 'Octahedr.jpg' (8 KB)
Preview of image 'Octahedr.jpg'
|
|