On Fri, May 16, 2014 at 9:55 PM, Lukáš Procházka <LPr@pontex.cz> wrote:
Hello,

is there way to include U3D (or X3D after conversion) into a .pdf via ConTeXt?

- An example of such an embed object and its capabilities at http://www.behaviometrix.com/public_html/brain.pdf

LaTeX offers this via movie15 package; is it possible to produce such document with ConTeXt?

Best regards,

Lukas

get the latest beta,
get Laurana.u3d from
http://www.tug.org/texshowcase/Laurana_tex.zip
use an appropriate default.png

\starttext
\startluaparameterset [u3d:myset:display:1]
    toolbar=false,
    preview="default.png",
    view = {
        name = 'default',
        bg = {1,1,1},
        mag = 25,
        coo = {2,2,2},
        c2c = {0,0,1},
        rot = {40,0,60},
        roo = 2,
        lights = 'CAD'
    }
\stopluaparameterset
\useexternalfigure  [Laurana]  [Laurana.u3d]  [width=\textwidth,   height=0.5\textwidth, display=u3d:myset:display:1]
\placefigure[here]{Laurana}{\externalfigure[Laurana]}
\stoptext

I've to play a bit with width , height and the 3D controls of the adobe reader to have a nice view,
initially the picture show only the 3D axis -- the model is "below" the Y axis.
--
luigi