|
|
Here is the code for the image posted in p.b.i
// Start of Code
camera {
location <0.0, 0, -10>
right 4/3*x
look_at <0.0, 0.0, 0.0>
orthographic
}
light_source {
<0,0,-30>
color rgb 1
}
background {color rgb 1}
superellipsoid {<.75,.25> pigment {rgb x}
rotate x*0
translate <-5,2.5,0>
}
superellipsoid {<.75,.25> pigment {rgb x}
rotate x*45
translate <-2.5,2.5,0>
}
superellipsoid {<.75,.25> pigment {rgb x}
rotate x*90
translate <2.5,2.5,0>
}
superellipsoid {<.75,.25> pigment {rgb x}
rotate x*135
translate <5,2.5,0>
}
superellipsoid {<.75,.25> pigment {rgb y}
rotate y*0
translate <-5,0,0>
}
superellipsoid {<.75,.25> pigment {rgb y}
rotate y*45
translate <-2.5,0,0>
}
superellipsoid {<.75,.25> pigment {rgb y}
rotate y*90
translate <2.5,0,0>
}
superellipsoid {<.75,.25> pigment {rgb y}
rotate y*135
translate <5,0,0>
}
superellipsoid {<.75,.25> pigment {rgb z}
rotate z*0
translate <-5,-2.5,0>
}
superellipsoid {<.75,.25> pigment {rgb z}
rotate z*45
translate <-2.5,-2.5,0>
}
superellipsoid {<.75,.25> pigment {rgb z}
rotate z*90
translate <2.5,-2.5,0>
}
superellipsoid {<.75,.25> pigment {rgb z}
rotate z*135
translate <5,-2.5,0>
}
// End of Code
Post a reply to this message
|
|