Re: [NTG-context] Interactive U3D in .pdf via ConTeXt?
Hello, thanks both for the solution. Interactive 3D graphics works well with the latest Ctx Beta; even the preview member is not necessary. My last attempt with Laurana which gives the desired result can be downloaded here (30 days from now): http://leteckaposta.cz/809373502 On Sun, 18 May 2014 09:12:55 +0200, Michail Vidiassov mas...@iaas.msu.ru wrote: Dear luigi, you wrote: I've to play a bit with width , height and the 3D controls of the adobe reader to have a nice view, It should also be possible to select the model or its part in Adobe GUI (in the model tree, for example), select Zoom to part, ask Adobe viewer for camera properties and use them for view parameters. But I have to fix and improve my module to enable that functionality. Michail @Michail: Yes, it would be great also to say to PDF or to AR to initialize the view zooming maximally to the whole object (which is special case of Zoom to part with part being the whole object). Best regards, Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 241 096 751 Fax: +420 244 461 038 t-u3d.mkiv Description: Binary data t-u3d.log Description: Binary data ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Interactive U3D in .pdf via ConTeXt?
Dear luigi, you wrote: I've to play a bit with width , height and the 3D controls of the adobe reader to have a nice view, You could just use movie15 parameters (from Laurana.tex in the archive you mention) 3Daac=60, 3Droll=0, 3Dc2c=0 745.639 0, 3Droo=745.639, 3Dcoo=22.607 -1618.68 -149.864, and rewrite them as aac=60, roll=0, c2c={0, 745.639, 0}, roo=745.639, coo={22.607, -1618.68, -149.864}, The ConTeXt 3D PDF module interface was influenced by movie15 for obvious reasons (among them - unwillingness to write docs). It should also be possible to select the model or its part in Adobe GUI (in the model tree, for example), select Zoom to part, ask Adobe viewer for camera properties and use them for view parameters. But I have to fix and improve my module to enable that functionality. Michail ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Interactive U3D in .pdf via ConTeXt?
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 -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 241 096 751 Fax: +420 244 461 038 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Interactive U3D in .pdf via ConTeXt?
On Fri, May 16, 2014 at 9:55 PM, Lukáš Procházka l...@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 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___