Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Data Manipulation > Importing & Exporting >
Mathematica Import/Export Format

POV (.pov)

MIME type: model/x-pov
POV-Ray 3D scene description language and format.
Used for storing 3D models and scene descriptions.
Native file format of the POV-Ray raytracing software.
POV-Ray is an acronym derived from Persistence of Vision Raytracer.
Plain text ASCII format.
Uses the syntax of the POV-Ray scripting language.
  • Export supports the POV format Version 3.6.
  • Export["file.pov", expr, elem] creates a POV file by treating expr as specifying element elem.
  • Export["file.pov", {expr1, expr2, ...}, {elem1, elem2, ...}] treats each expri as specifying the corresponding elemi.
  • Export["file.pov", expr, opt1->val1] exports expr with the specified option elements taken to have the specified values.
  • Export["file.pov", {elem1->expr1, elem2->expr2, ...}, "Rules"] uses rules to specify the elements to be exported.
  • See the reference pages for full general information on Export.
  • Data representation elements:
"Graphics3D"POV file containing 3D geometries, represented as a Graphics3D object
"GraphicsComplex"list of GraphicsComplex objects, each representing a geometry stored in the file
"LineData"lines represented as lists of indices, referencing the vertices as given by the "VertexData" element
"LineObjects"list of Line primitives given in absolute coordinates
"PointData"point data in indexed form
"PointObjects"list of Point primitives given in absolute coordinates
"PolygonData"polygon data in indexed form
"PolygonObjects"list of Polygon primitives given in absolute coordinates
"VertexData"list of vertex coordinates
  • Export uses the "Graphics3D" element by default.
  • Advanced option:
"VerticalAxis"{0,0,1}orientation to assume for the coordinate system used in the file
  • By default, Mathematica assumes that in the coordinate system used by the POV format the vertical axis corresponds to the third coordinate.
  • With the setting "VerticalAxis"->{0, 1, 0}, Mathematica will apply the transformation {x, y, z}->{x, z, -y} to all graphics coordinates when exporting to POV.
Use ParametricPlot3D to create a solid 3D geometry:
Export it to POV:
Export inline graphics to a POV file:
Use ParametricPlot3D to create a solid 3D geometry:
In[1]:=
Click for copyable input
Out[1]=
Export it to POV:
In[2]:=
Click for copyable input
Out[2]=
 
Export inline graphics to a POV file:
In[1]:=
Click for copyable input
Out[1]=
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team