[vtkusers] PDF 3D support

Mathieu Malaterre mathieu.malaterre at gmail.com
Mon Dec 17 07:43:55 EST 2007


Hi Michail,

  That looks pretty cool ! did you check with the gl2ps team if anyone
had started working on it. Since gl2ps is well integrated in VTK it
will be easy to simply upgrade gl2ps to get 3D PDF support in VTK.

2 cents,
-Mathieu

On Dec 16, 2007 4:09 PM, Michail Vidiassov <master at iaas.msu.ru> wrote:
>   Dear All,
>
> Since nobody replied to my previous post, I have to do that myself
>
> > did anybody try to make VTK produce U3D files
> > (a 3D model file format Adobe Reader is player for)?
>
> What is it:
>
> for those of you interested in seeing how 3-d PDF can be used in the
> physical sciences you might like to see this paper.
> http://astronomy.swin.edu.au/s2plot/3dpdf/
> While the subject area of the paper is 3-d PDF for astronomy publishing,
> it could equally be applied to many other areas of science.
>
> VTK examples in pdf:
>
> http://www.iaas.msu.ru/tmp/Medical.pdf
> http://www.iaas.msu.ru/tmp/cells.pdf
>
> How can it be achieved:
>
> Using the available tools:
>
> vtk exoprts to some 3d model file, say VRML ->
> Acrobat 3D (Windows) converts it to u3d format and embedes in pdf.
> Acrobat 3D Toolkit allows limited edition of the model.
>
> The other tool is Deep Exploration (older version of it is distributed as
> Acrobat 3D Toolkit), it can produce u3d and, optionally, make a standalone
> pdf with it.
> Acrobat (not 3D, say on Mac) and pdfLaTeX with movie15 package can embed
> a ready U3D file into pdf.
>
> The drawbacks are having to
>   shell out money
>   go through Windows GUI every time you regenerate the model and retypeset the document
>   do with the VRML import limitations.
>
> My proposal:
>
> > Intel provides a (free&open) compiler that makes U3D files
> > from text scene description files it seems to be easy to export to.
>
> It really turned out to be not that hard to convert vtkVRMLExporter into
> vtkIDTFExporter (even given my zero knowledge of vtk and C programming
> skills acquired in USSR high school long ago).
> The bad news were that Intel soft turned out to be hard to compile on Mac.
> Intel distributes Win32 binaries and promises of portability to Linux and
> Mac, 32 and 64 bit, big- and low-endian machines.
>
> The results of the pipeline (running on Mac OS 10.5)
> file.cxx -> vtkIDTFExporter -> file.idtf -> IDTFconverter -> file.u3d ->
> pdflatex -> file.pdf
> you can see at
>
> http://www.iaas.msu.ru/tmp/Medical.pdf
> http://www.iaas.msu.ru/tmp/cells.pdf
>
> Ergo:
>
> > On the positive side - is there public interest in having such an exporter written?
>
> As far as I can see my converter serves my needs,
>   if someone who wants more turns up I am ready to share the code and discuss improvements
> (like textures support, optimisation, Intel software packaging).
>
> Please, do not ask me about making u3d directly (without IDTF stage).
> U3D file format spec has parts numbered as (ta-da-dA-DA) 9.6.1.3.4.9.3.2.1.3!
> It seems really deep to me. And yet the doc does not cover it all, if the
> Intel support answers a question the usual answer is "Use the Source, Luke"!
>
>
>   Sincerely, Michail
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



-- 
Mathieu



More information about the vtkusers mailing list