From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51062 Path: news.gmane.org!not-for-mail From: "Michail Vidiassov" Newsgroups: gmane.comp.tex.context Subject: 3D PDF support (AKA asymptote support) Date: Fri, 5 Jun 2009 20:14:18 +0400 (MSD) Message-ID: <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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1244218888 28119 80.91.229.12 (5 Jun 2009 16:21:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Jun 2009 16:21:28 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 05 18:21:25 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 1MCcAS-0001nL-Ou for gctc-ntg-context-518@m.gmane.org; Fri, 05 Jun 2009 18:21:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 674601FA4C; Fri, 5 Jun 2009 18:21:19 +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 02640-02; Fri, 5 Jun 2009 18:20:44 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 73D611FB30; Fri, 5 Jun 2009 18:20:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1736B1FB30 for ; Fri, 5 Jun 2009 18:20:42 +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 32146-06 for ; Fri, 5 Jun 2009 18:20:33 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by ronja.ntg.nl (Postfix) with ESMTP id 9487E1FB29 for ; Fri, 5 Jun 2009 18:20:33 +0200 (CEST) Original-Received: from serv.iaas.msu.ru (serv.iaas.msu.ru [212.192.224.252]) by filter1-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n55GKQE2005607 for ; Fri, 5 Jun 2009 18:20:27 +0200 Original-Received: from mail.iaas.msu.ru (localhost [127.0.0.1]) (authenticated bits=0) by serv.iaas.msu.ru (8.14.2/8.14.2) with ESMTP id n55GEI7J016946 for ; Fri, 5 Jun 2009 20:14:18 +0400 (MSD) (envelope-from master@iaas.msu.ru) Original-Received: from mumla.antropos.msu.ru ([212.192.224.186]) (SquirrelMail authenticated user master) by squirrelmail.iaas.msu.ru with HTTP; Fri, 5 Jun 2009 20:14:18 +0400 (MSD) User-Agent: SquirrelMail/1.5.1 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.192.224.252; country=RU; region=48; city=Moscow; latitude=55.7522; longitude=37.6156; http://maps.google.com/maps?q=55.7522,37.6156&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 238264381 - 68c2d54e9d5d - 20090605 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:51062 Archived-At: 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 ___________________________________________________________________________________ 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 ___________________________________________________________________________________