|
![](/i/fill.gif) |
To be more specific. This is what it looks like, when everything is
where is supposed to be, except the fill in for the sides:
camera{
orthographic
location <0,0,-3> look_at <0,0,0> angle 60
right x up y
}
light_source{<5,5,-10>,1.5}
#declare octaside =
//intersection {
union {
sphere {<-1,0,0>,0.075}
sphere {<1,0,0>,0.075}
sphere {<0,sqrt(2),0>,0.075}
cylinder {<-1,0,0>,<1,0,0>,0.075}
cylinder {<0,sqrt(2),0>,<1,0,0>,0.075}
cylinder {<-1,0,0>,<0,sqrt(2),0>,0.075}
texture {
pigment {rgb <1,1,1>}
}
//triangle {<-1,0,-0.075>,<0,sqrt(2),-0.075>,<1,0,-0.075>}
//triangle {<-1,0,0.075>,<0,sqrt(2),0.075>,<1,0,0.075>}
rotate <45,0,0> // test purposes, move to last statement in final
object, with translate.
translate <0,0,-1>
}
// box {<-1,0,-0.075>,<1,sqrt(2),0.075>}
//
//}}
union {
object {octaside}
object {octaside
rotate <0,90,0>}
object {octaside
rotate <0,180,0>}
object {octaside
rotate <0,270,0>}
union {
object {octaside}
object {octaside
rotate <0,90,0>}
object {octaside
rotate <0,180,0>}
object {octaside
rotate <0,270,0>}
rotate <0,0,180>
}
rotate <0,10,0>
}
Post a reply to this message
|
![](/i/fill.gif) |