From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25697 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: U3D (embedded 3D objects) Date: Mon, 30 Jan 2006 13:02:37 +0100 Message-ID: <43DE005D.402@wxs.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1138622571 18023 80.91.229.2 (30 Jan 2006 12:02:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 30 Jan 2006 12:02:51 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 30 13:02:48 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1F3Xk5-0005uZ-KQ for gctc-ntg-context-518@m.gmane.org; Mon, 30 Jan 2006 13:02:45 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2B3CB127BE; Mon, 30 Jan 2006 13:02:45 +0100 (CET) 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 19841-05; Mon, 30 Jan 2006 13:02:42 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 18784127FA; Mon, 30 Jan 2006 13:02:42 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6343B127FA for ; Mon, 30 Jan 2006 13:02:40 +0100 (CET) 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 19926-08 for ; Mon, 30 Jan 2006 13:02:39 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with SMTP id 12048127BE for ; Mon, 30 Jan 2006 13:02:38 +0100 (CET) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 3493 for ; Mon, 30 Jan 2006 07:15:05 +0300 User-Agent: Thunderbird 1.5 (Windows/20051201) Original-To: mailing list for ConTeXt users In-Reply-To: X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:25697 Archived-At: Matthias Weber wrote: > Hello, > > is there support for .u3d files in ConTeXt available or planned? This > would take advantage of Acrobat 7 support > for these 3D data files. There is a LaTeX package (http:// > www.tug.org/tex-archive/macros/latex/contrib/movie15/) > that does that, and it even works on my Mac. > (mime type controlled i assume that you refer to support for graphic formats that depend on specific plug-ins; contrary to the older support for movies, such features need a bit more, in particular a relationship between the part of the screen where the stuff is shown and the place where the resources are embedded and refered to. the framework for that has been present for a while now (was implemented right after 6 came out) but in practice only a fraction of the plugins / graphic formats work ok (for instance, smill based graphics/sequences are rather plug-in dependent and buggy); the mediashow stuff on the site and in the distributions implements this renderign) \definerenderingwindow [example] [width=320pt,height=150pt,frame=off, background=color,backgroundcolor=gray, openpageaction=StartCurrentRendering, closepageaction=NextPage]% StopCurrentRendering] \useexternalrendering[example-1][audio/mpeg] [eldorado.mp3] \useexternalrendering[example-2][audio/mpeg] [myst-12.mp3] \useexternalrendering[example-3][application/x-shockwave-flash][http://localhost/mb.swf] [auto] \useexternalrendering[example-4][application/x-shockwave-flash][celebration.swf] \useexternalrendering[example-5][video/quicktime] [p1000726.mov] \useexternalrendering[example-6][application/smil] [quadratic_map.smi] \def\renderingmenu[#1]% {\hbox {\setupbuttons[width=2.5em]% \button{\symbol[StartRendering]} [StartRendering{#1}]\enspace \button{\symbol[StopRendering]} [StopRendering{#1}]\enspace \button{\symbol[PauseRendering]} [PauseRendering{#1}]\enspace \button{\symbol[ResumeRendering]}[ResumeRendering{#1}]}} \renderingmenu[example-1]\blank \renderingmenu[example-2]\blank \renderingmenu[example-3]\blank \renderingmenu[example-4] \placefigure{A ShockWave}{\placerenderingwindow[example][example-4]} \page \renderingmenu[example-5] \placefigure{A Movie}{\placerenderingwindow[example][example-5]} \page \renderingmenu[example-6] \placefigure{A Smile}{\placerenderingwindow[example][example-6]} etc etc (see x-res-50 for other examples) much of the plugin behaviou can be tuned with key/values in pdf, but it is rather messy (kind of: the plugin provides this, so we need these and those keys): no clear consistent model is present); in order for me to provide more detailed support, i first need to cook up a more or less consistent control model (not too much pdf dependent) since whenever possible, i keep context's interface independent of the pdf way of doing things so, if you want more detailed support for this i need (1) proper conforming resources, and (2) a description of what is needed (which is not the same as a cut and paste from the pdf spec with all possible features) and (3) time and (4) motivation (i.e. it should be usable, used, etc etc;) implementing pdf related features just because it's in pdf is no longer a good motive since pdf specs/functionality keeps changing, esp in those areas it's rather instable ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------