Other Shapes
Box
box {
<0, 0, 0>, // Near lower left corner
<1, 1, 1> // Far upper right corner
pigment { Yellow }
}
Cone
cone {
<0, 0, 0>, 0.1 // Center and radius of one end
<0, 1, 0>, 0.5 // Center and radius of other end
pigment { Magenta }
}
Cylinder
cylinder {
<0, 0, 0>, // Center of one end
<0, 0, 3>, // Center of other end
1 // Radius
pigment { Green }
}
Triangle
triangle {
//3 corners:
<0, 0, 0>, <1, 0, 0>, <0.5, 1, 0>
pigment { Yellow }
}
Donut

Donut or Torus will be drawn around the x-axes with the very middle of the donut at <0,0,0>. We will move the torus around later!
#include "include/colors.inc"
camera {
location <0, -10, 0>
look_at <0, 0, 0>
}
torus {
4, 1 // major and minor radius
pigment { Orange }
}
light_source { <0, -20, 0> White}
Challenges
- make a crucifix cross (using 2 box shapes)
- make a spear (using 1 cylinder and 1 cone)
- make a fat donut (so adjust the widths used in the torus)
- make a power button symbol (using 1 box and 1 torus)
- make a pyramid using 4 triangles