Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I try to include a 3d model in a PDF file, but I get the error message: "A 3D data parsing error has occurred.", when I try to display it in Acrobat Reader 9.3 under Ubuntu 10.10.

I translated the tex file that you can find in the zip file under http://meshlab.sourceforge.net/wiki/index.php/U3D_support

I figure that there are the following error sources:

  • U3D file is corrupt or incompatible
  • the movie15 package is too old or incompatible
  • the tex file does not use the right options

I am currently unable to create my own u3d files with MeshLab and I did not find any other example files on the internet.

I already "replaced" the movie15.sty that is inside the zip file with movie15.sty that is shipping with Ubuntu.

I would be very greatful if someone could point me in the right direction.

For your convinience the beginning of the tex file:

\documentclass[a4paper]{article}
\usepackage[3D]{movie15}
\usepackage[UKenglish]{babel}
\usepackage[colorlinks=true]{hyperref} 
\begin{document}
\title{Embedding interactive 3D object in a PDF using MeshLab and U3D}
\author{Visual Computing Group - ISTI - CNR\\ \href{http://vcg.isti.cnr.it}{http://vcg.isti.cnr.it}}
\maketitle
\begin{center}
\includemovie[
    poster,
    toolbar, %same as `controls'
    label=lau.u3d,
    text=(lau.u3d),
    3Daac=60, 3Droll=0, 3Dc2c=0 745.639 0, 3Droo=745.639, 3Dcoo=22.607 -1618.68 -149.864,
    3Dlights=CAD,
    3Drender=Wireframe
]{\linewidth}{\linewidth}{Laurana.u3d}
...
share|improve this question
    
The tag always defaults to {pdftex} even though I want to have {pdflatex}. Also, I had not enough reputation to create {u3d}. –  bjoernz Mar 18 '11 at 12:27
    
{pdftex} is by design, see the “discouraged tags” section in meta.tex.stackexchange.com/questions/302/our-set-of-tags –  Caramdir Mar 18 '11 at 17:55
    
Thanks, Caramdir, for clarifying. –  bjoernz Mar 19 '11 at 13:42
add comment

2 Answers

up vote 2 down vote accepted

It appears that the U3D file that you have is incompatible with the version of Adobe Reader you are using. From my testing, your U3D file works fine with Adobe Acrobat Pro 9.0 but not with Adobe Reader 9.4.2. Furthermore, opening the U3D file in Photoshop and exporting again back to U3D produces a file that can be used without problems with Adobe Reader 9.4.2. So it's clearly an incompatibility problem.

share|improve this answer
    
Thanks for your feedback. This helps a lot. –  bjoernz Mar 19 '11 at 13:45
add comment

There is a chance that you do not need to change anything or open/export the file in Photoshop, just try to use Adobe Reader version 9.4.1 under Ubuntu.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.