From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31099 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: 3D Artwork with ConTeXt Date: Fri, 29 Sep 2006 00:01:55 +0200 Message-ID: <451C4653.3090302@wxs.nl> References: <451C0FCE.7090201@nibua-r.org> 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 1159481172 5825 80.91.229.2 (28 Sep 2006 22:06:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Sep 2006 22:06:12 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 29 00:06:08 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 1GT3xO-0007HU-Nm for gctc-ntg-context-518@m.gmane.org; Fri, 29 Sep 2006 00:02:15 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DF79D1FF5D; Fri, 29 Sep 2006 00:02:12 +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 22360-02-3; Fri, 29 Sep 2006 00:02:04 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 200681FF81; Fri, 29 Sep 2006 00:02:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 228EA1FF81 for ; Fri, 29 Sep 2006 00:02:00 +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 22360-02-2 for ; Fri, 29 Sep 2006 00:01:54 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by ronja.ntg.nl (Postfix) with SMTP id ABAF61FF5D for ; Fri, 29 Sep 2006 00:01:54 +0200 (CEST) Original-Received: from [10.100.1.103] (unverified [10.100.1.103]) by controller-1 (SurgeMail 3.7b8) with ESMTP id 10521 for ; Fri, 29 Sep 2006 00:01:54 +0200 User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) Original-To: mailing list for ConTeXt users In-Reply-To: <451C0FCE.7090201@nibua-r.org> 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:31099 Archived-At: Renaud AUBIN wrote: > > Hi all, > > I'm now playing with u3d and since I'm at rookie level in ConTeXt dev, > I have (a lot?) of questions for you. > First, download http://www.nibua-r.org/ConTeXt/devel/3dartwork.tgz and > "texexec test-3dartwork". Since I use \externalfigure and u3d mean > nothing to ConTeXt, I obtain > > TeXUtil | running texmfstart rlxtools --identify ./context.u3d > identify: no decode delegate for this image format `./context.u3d'. > RlxTools | unable to identify ./context.u3d > > Ok, this is normal... I used \placefigure and \externalfigure for > convenience for the moment since I found natural to use them... How to > bypass RlxTools ? hm, maybe we need a feature to mark a category as non-rlx-able for the moment use \chardef\figurerlxmode\zerocount it's comparable to movies and so, as long as some kind of dimensions are known ... i'll look into that later > > Now, see t-3dartwork. There is a lot of work. The main idea is to > split \doPDFinsertiiidartwork into several macros ;) . I need help on: > 1. What's the best way to define the following macro > > \defineiiidartworkprojection[name][type=perspective|orthographic , > nf=automatic|explicit , near=number, far=number, fov=number.....] try to use existing ones: auto instead of automatic > > You're welcome to give your opinion on naming convention ;) > > 2. Same question for > \defineiiidartworkview[name][bgr=number, bgg=number, bgb=number (or 3 > floats for bgcol), projection=name, camera= 3 floats (but how?), > target= idem, up=idem] > > I'll use ruby and a magic | (see [NTG-context] run a ruby script and > use the standard output ???) to calculate C2W and CO... best is to make that pluggable, so that we can optimize such computations > > 3. ... I need to define a macro to setup the 3D annot before to use it > by \externalfigure or with another brand new macro... just collect whatever we need to do that and i'll integrate it in such a way that multiple backend are supported as well as mkii and mkiv code ----------------------------------------------------------------- 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 -----------------------------------------------------------------