MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: fyi, making animation into PDF file from images genenerated by Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg131517] Re: fyi, making animation into PDF file from images genenerated by Mathematica
  • From: "Eduardo M. A. M. Mendes" <emammendes at gmail.com>
  • Date: Sat, 17 Aug 2013 02:05:23 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net
  • References: <20130605073041.F3FB66A71@smc.vnet.net> <koprk2$chl$1@smc.vnet.net> <20130607031848.9D1366A22@smc.vnet.net> <20130816110740.338036A1E@smc.vnet.net>

Hi there

It worked on my mac pro.

I guess you have used preview instead of Acrobat Reader.   Am I right?

Cheers

Ed


On Aug 16, 2013, at 8:07 AM, Murray Eisenberg <murray at math.umass.edu> wrote:

> I just tried this under Mac OS X (adjusting the Export statement accordingly, of course). And after importing the xd3 into MeshLab then exporting it as a u3d, when i run the LaTeX file in pdflatex, I get a totally blank page.
>
> On Jun 6, 2013, at 11:18 PM, RBaillie <bobbaillie at frii.com> wrote:
>
>> Nice!
>>
>> 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:
>>
>> \usepackage[english]{babel}
>> \usepackage{media9}
>>
>> \includemedia[
>> width=0.9\linewidth, height=0.9\linewidth,
>> activate=pageopen,
>> menu,
>> aac=60.0, roll=0.0, c2c=10.0 -3.0 10.0,
>> roo=3.0, coo=0.0 0.0 0.0,
>> lights=CAD, % display object without artificial colors
>> %lights=Primary, % colorize monochrome objects with R, G, B lights
>> render=SolidWireframe
>> ]{}
>> {supersphere.u3d}
>>
>> 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.
>
> ---
> Murray Eisenberg                                   
> murray at math.umass.edu
> Mathematics & Statistics Dept.     
> Lederle Graduate Research Tower          
> University of Massachusetts
> 710 North Pleasant Street 
> Amherst, MA 01003-9305
>
>
>
>
>
>




  • Prev by Date: Re: Quantity[] (Units) slows things! Solutions?
  • Next by Date: Re: How to remove external parentheses from a list
  • Previous by thread: Re: fyi, making animation into PDF file from images genenerated by Mathematica
  • Next by thread: Re: fyi, making animation into PDF file from images genenerated by Mathematica