U3D support

From Meshlab

Jump to: navigation, search
 A snapshot of a pdf viewed inside acrobat reader. You can interact with the 3d object inside acrobat reader by simply dragging on it.
Enlarge
A snapshot of a pdf viewed inside acrobat reader. You can interact with the 3d object inside acrobat reader by simply dragging on it.

Support for saving meshes in U3D format is useful for creating, using latex, nice PDFs with embedded 3D models. You simply need to convert your mesh into u3d format, and include the small snip of tex code generated by MeshLab with the right viewing parameters, in your latex paper and simply compile it with pdflatex. Thanks to the Movie15 package, you will have your u3D embedded in the pdf. Note that the u3d file format is quite compact; for an example you can look at this pdf that contains the 50k triangle mesh of the Laurana's bust squeezed to less than 250 kb. A zip with sources (latex and u3d file) can be found here.

A couple of notes. The conversion process is done through the use of the Universal 3D Sample Software by directly using the IDTF converter provided with the sample library. The conversion process can take a fairly long processing time (many seconds for a mesh composed by 50k triangles) so be patient! Moreover be careful that the process can fail when involving pathnames with non trivial chars.

Acrobat reader support this kind of files since ver. 7.

Personal tools