From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51063 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: 3D PDF support (AKA asymptote support) Date: Fri, 5 Jun 2009 19:32:21 +0200 Message-ID: References: <1285.212.192.224.186.1244218458.squirrel@squirrelmail.iaas.msu.ru> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2106731396==" X-Trace: ger.gmane.org 1244223217 9822 80.91.229.12 (5 Jun 2009 17:33:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Jun 2009 17:33:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 05 19:33:35 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1MCdIK-0001yC-0S for gctc-ntg-context-518@m.gmane.org; Fri, 05 Jun 2009 19:33:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7191D1FB7F; Fri, 5 Jun 2009 19:33:31 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10341-03; Fri, 5 Jun 2009 19:32:40 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A76D01FB39; Fri, 5 Jun 2009 19:32:40 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3402D1FB39 for ; Fri, 5 Jun 2009 19:32:37 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02033-09 for ; Fri, 5 Jun 2009 19:32:24 +0200 (CEST) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by ronja.ntg.nl (Postfix) with ESMTP id 88E3E1FB29 for ; Fri, 5 Jun 2009 19:32:23 +0200 (CEST) Original-Received: from mail-ew0-f228.google.com (mail-ew0-f228.google.com [209.85.219.228]) by filter3-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n55HWL1S029724 for ; Fri, 5 Jun 2009 19:32:22 +0200 Original-Received: by ewy28 with SMTP id 28so2292409ewy.2 for ; Fri, 05 Jun 2009 10:32:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=oSmkRwvCuPnZdOfk7xDMbro15E7nCZK+pR5MNUupx0M=; b=n9kHbLQYgz5kHe2sV/6aIghVv+NweAZoy6Gnn8pNkfLMkLj96KQnNYmqmDtBzj6sMb ZnxCv73EWDGmN91mNrWHowAVGxL8D3yKP6oO57VxJcrblIREIJ8hciosTQ2X0Nf5GusT mGCqhP/R1+MhQ0G0c1Pm0L06XM2hM++l7rPq0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=jwT6IKZjdojz0LaXSPIeWxOYoCEYQ4VImS6Pg99BtSU2cZjnMAE5l1mHRkKoISFqZX ia/pNsq7UIh//66yUC/PPMa93kEp7P4kpd25vHNACwSkXpD6Qf5GLHAFOPtpY9O2U9Hu 8CVB7Q5ZKrhfx6iGqzRcH9mXCsiL7D/GNxz94= Original-Received: by 10.216.36.80 with SMTP id v58mr1288951wea.193.1244223141245; Fri, 05 Jun 2009 10:32:21 -0700 (PDT) In-Reply-To: <1285.212.192.224.186.1244218458.squirrel@squirrelmail.iaas.msu.ru> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.219.228; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 238286853 - 2fcc1fb0651f - 20090605 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:51063 Archived-At: --===============2106731396== Content-Type: multipart/alternative; boundary=0016367b6af25af28d046b9d4610 --0016367b6af25af28d046b9d4610 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On Fri, Jun 5, 2009 at 6:14 PM, Michail Vidiassov wrote: > Dear Hans, Mojca and All, > > a draft for an analog of LaTeX movie15 package for including Adobe Reader > compatible 3d models into PDF files is at > > http://www.iaas.msu.ru/tmp/movie15context.tgz . > > Almost no docs/comments inside, but questions are of course welcome. > > You'd better take a brief look at part 5.2 of movie15 docs > > > http://www.ctan.org/tex-archive/macros/latex/contrib/movie15/doc/movie15.pdf > > and part 13.6 of ISO/Adobe PDF spec > > http://www.adobe.com/devnet/acrobat/pdfs/PDF32000_2008.pdf > > to understand what are the settings. > > Since I lack understanding of ConTeXt/luatex combo and have to pass data > for dictionaries containing other dictionaries to 3D model embedder I had > to abuse two existing parameters, "control" and "display" and rely on sane > lua code being put there. > And even the limited parameter correctness checks do not report problems, > they just silently fail to execute. > > One more option to deal with 3D models is not to embed them as annotations > in the main PDF file, but to make a PDF with only 3D model in it and > attach it to the main PDF, linking to a clickable 2D image (like > attachfile2 LaTeX package). Donno if that functionality is in working > condition now and how to use it. > > Sincerely, Michail > hi michael some time ago Renaud Aubin discover http://meshlab.sourceforge.net/ cfr Renaud Aubin 2008-11-22 19:132008-11-22 18:13 +100UTC Re: [NTG-context] embedding 3d pdf -- luigi --0016367b6af25af28d046b9d4610 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Fri, Jun 5, 2009 at 6:14 PM, Michail = Vidiassov <master@iaas.msu.ru> wrote:
Dear Hans, Mojca and All,

a draft for an analog of LaTeX movie15 package for including Adobe Reader compatible 3d models into PDF files is at

http://www.iaas.msu.ru/tmp/movie15context.tgz .

Almost no docs/comments inside, but questions are of course welcome.

You'd better take a brief look at part 5.2 of movie15 docs

http://www.ctan.org/tex-archive/macros/late= x/contrib/movie15/doc/movie15.pdf

and part 13.6 of ISO/Adobe PDF spec

http://www.adobe.com/devnet/acrobat/pdfs/PDF32000_2008.pdf

to understand what are the settings.

Since I lack understanding of ConTeXt/luatex combo and have to pass data for dictionaries containing other dictionaries to 3D model embedder I had to abuse two existing parameters, "control" and "display&quo= t; and rely on sane
lua code being put there.
And even the limited parameter correctness checks do not report problems, they just silently fail to execute.

One more option to deal with 3D models is not to embed them as annotations<= br> in the main PDF file, but to make a PDF with only 3D model in it and
attach it to the main PDF, linking to a clickable 2D image (like
attachfile2 LaTeX package). Donno if that functionality is in working
condition now and how to use it.

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Sincerely, Michail

<= br>--
luigi

--0016367b6af25af28d046b9d4610-- --===============2106731396== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============2106731396==--