3D-PDF Error when adding 3Dviews to media
I am facing problems when I want to add 3Dviews to my media. I cannot
compile the following code, getting an error 'undefined control sequence'.
But without the line '3Dviews=test.vws,' it works.
The strange thing is that this code had been working fine before I
installed the newest MikTex distribution and also updated all packages...
I would be thankful for any hints, can you help me please?
\documentclass[landscape]{article}
\usepackage[a4paper, left=1cm, right=1cm, top=2cm, bottom=2cm]{geometry}
\usepackage{graphicx}
\usepackage[dvipdfmx]{media9}
\usepackage[pdftex]{hyperref}
\begin{document}
\pagestyle{empty}
\centering
\includemedia[
label=converter3degreelines,
width=\textwidth,
height=\textheight,
activate=pagevisible,
deactivate=pageinvisible,
3Dviews=test.vws,
3Dmenu
]{
\includegraphics[width=0.45\textwidth]{test.png}
}{test.u3d}
\end{document}
The test.vws file contains the following:
VIEW=Default
COO=4.675 -4.675 4.675
C2C=0 0 80.9734
ROO=6.1057
ROLL=0
ORTHO=0.081891
PART=Mesh1
RENDERMODE=Wireframe
END
END
No comments:
Post a Comment