This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / Graphics and Sound / Graphics Primitives  /

  • Graphics3D[ primitives , options ] represents a three-dimensional graphical image.
  • Graphics3D is displayed using Show.
  • The following graphics primitives can be used:
  • The sound primitives SampledSoundList and SampledSoundFunction can also be included.
  • The following graphics directives can be used:
  • The following options can be given:
  • Nested lists of graphics primitives can be given. Specifications such as GrayLevel remain in effect only until the end of the list which contains them.
  • The standard print form for Graphics3D[ ... ] is -Graphics3D-. InputForm prints the explicit list of primitives.
  • The default light sources used are 1,0,1 , RGBColor[1,0,0] , 1,1,1 , RGBColor[0,1,0] , 0,1,1 , RGBColor[0,0,1] .
  • Graphics3D[SurfaceGraphics[ ... ]] can be used to convert a SurfaceGraphics object into Graphics3D representation.
  • Graphics[SurfaceGraphics[ ... ]] generates a representation in terms of ordinary 2D graphics primitives.
  • See the Mathematica book: Section 2.9.1.
  • See also: Plot3D, SurfaceGraphics, ParametricPlot3D.
  • Related packages: Graphics`Graphics3D`, Graphics`Shapes`, Graphics`Polyhedra`.

    Further Examples

    Beside using functions like Plot3D, you create three-dimensional graphics with graphics primitives. The command draws a random quadrilateral.

    Evaluate the cell to see the graphic.