export graphics to u3d

Victor Ivrii's picture

u3d became a popular format for 3D graphics and with Adobe Acrobat/Reader 7.07 embracing it
(sorry, everybody but MacOS/Windows users seem to be left on cold now) it seems to be great
for electronic publishing (look at first few links from http://www.microtype.com/homenewupdated.html)

Unfortunately so far only CAD and Framemaker seem to have u3d export.

My suggestion: provide u3d export for Maple 3D graphics

edgar's picture

contradition?

Don't these two contradict each other?

u3d became a popular format

and

only CAD and Framemaker seem to have u3d export
---
G A Edgar

Victor Ivrii's picture

Maple vs Mathematica in 3d export: Mathematica wins (sigh)

So far it looks like Maple (11) can export only into wrl files while Mathematica (6) provides export to .ply, .stl, .obj, .3ds, wrl formats.

Meshlab 1.1.1 (free and multiplatform) can convert .ply, .stl, .obj to .u3d and using LaTeX with movie15 package I can embed u3d models into pdf. Currently Meshlab does not accept .wrl as an import.

Definitely .u3d export directly would be the most welcome, but .ply is the best alternative, and .stl, .obj are viable alternative as well

Victor Ivrii, Department of Mathematics, University of Toronto
http://www.math.toronto.edu/ivrii

Victor Ivrii's picture

Maple 12: disappointment in 3d

Maple 12 have no brought no new 3d export formats; vrml remains the only choice and AFAIK there is no free multiplatform tool to convert it to u3d.

Victor Ivrii, Department of Mathematics, University of Toronto
http://www.math.toronto.edu/ivrii

Maple 12: disappointment in 3d

Blender imports VRML and exports to PLY (OBJ) and MeshLab imports and converts them to U3D.

Roman Plch

http://www.math.muni.cz/~plch

Victor Ivrii's picture

Have you actually try this?

Blender 2.46 for python-2.5 MacOS intel failed to import any wrl file.
Any file I tried to export to ply could not be open by Meshlab 1.1.1 (error). Blender itself importing its own exports produced something very different from the original. Looks like pre-alpha version for me

Victor Ivrii, Department of Mathematics, University of Toronto
http://www.math.toronto.edu/ivrii

Blender, Meshlab, Javaview

Blender 2.44 for Linux has no problems with importing Maple .wrl graphics. I exported this graphics with Blender to .ply and .obj format. The commercial software Deep Exploration has no problems with opening these files, but You are right, Meshlab 1.1.1 can not open these files. So i think the problem is in Meshlab.

 

Another way to produce .u3d files from Maple graphics with free software(there are no problems with Deep Exploration, You can directly open a Maple VRML file and export it to U3D): Display Maple graphics with use of Javaview, export it to a .obj file, read it with Meshlab and convert to .u3d ,see the example at:http://www.math.muni.cz/~plch/jezura2.pdf.

 

Roman

Victor Ivrii's picture

Still the same

Thank you, but it still almost the same:

I tried javaview 3.95 001, Full or for Maple

It complains Warning: loading failed, file = /Users/ivrii/Desktop/plot2.wrl
at jv.loader.PjImportModel.load(PjImportModel.java)

Actually officially JV supports only vrml 2 but Maple uses vrml 1 (and it looks like most of the free soft depreciates it). OK, Blender can import vrml and save it as ply or obj but Meshlab does not like both (reports an error) while Javaview rejects ply but reads obj. However JV cannot export to ply

Deep Exploration is not only expensive commercial but runs on Windows only

Victor Ivrii, Department of Mathematics, University of Toronto
http://www.math.toronto.edu/ivrii

Victor Ivrii's picture

JavaView

With the kind help of Roman Plch I managed to use JavaView engine as an external exporter which after a couple of conversions became u3d usable in pdf. However it is a real shame that such long way is needed and that Maple Help even does not mention it(pdf is the main Mathematics e-publishing format and actually the only format which should be used) Victor Ivrii, Department of Mathematics, University of Toronto http://www.math.toronto.edu/ivrii

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
}