3D Graphics

Three-dimensional graphics are created using the function Graphics3D and a list of 3D primitives. The following primitives are supported so far:


Polygon[{{$x_1$, $y_1$, $z_1$}, {$x_2$, $y_2$, $z_3$}, ...}]

draws a filled polygon.

Line[{{$x_1$, $y_1$, $z_1$}, {$x_2$, $y_2$, $z_3$}, ...}]

draws a line.

Point[{$x_1$, $y_1$, $z_1$}]

draws a point.

Colors can also be added to three-dimensional primitives.

Graphics3D produces a Graphics3DBox:

Basic calculations