The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: fyi, making animation into PDF file from images genenerated by Mathematica
Replies: 6   Last Post: Aug 16, 2013 3:09 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 18
Registered: 11/27/06
Re: fyi, making animation into PDF file from images genenerated by Mathematica
Posted: Jun 6, 2013 11:14 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


You can also create a pdf file with a 3D object that you can
interactively rotate with your mouse.

Here's how. First, create the Mathematica object:

superSphere = ContourPlot3D[x^4 + y^4 + z^4 == 1,
{x, -1, 1}, {y, -1, 1}, {z, -1, 1}, Mesh->False];
Export["C:\\junk\\supersphere.x3d", superSphere]

Second, import the x3d file into the free software MeshLab, then
export it as a u3d file.

Third, use the media 9 LaTeX package to import the u3d file into pdf:


width=0.9\linewidth, height=0.9\linewidth,
3Daac=60.0, 3Droll=0.0, 3Dc2c=10.0 -3.0 10.0,
3Droo=3.0, 3Dcoo=0.0 0.0 0.0,
3Dlights=CAD, % display object without artificial colors
%3Dlights=Primary, % colorize monochrome objects with R, G, B lights

Note: if the object looks inside out, you will have to go back into
MeshLab and reverse the object's normals, then re-export it.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.