From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31096 Path: news.gmane.org!not-for-mail From: Renaud AUBIN Newsgroups: gmane.comp.tex.context Subject: 3D Artwork with ConTeXt Date: Thu, 28 Sep 2006 20:09:18 +0200 Message-ID: <451C0FCE.7090201@nibua-r.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2115968368==" X-Trace: sea.gmane.org 1159467171 21240 80.91.229.2 (28 Sep 2006 18:12:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Sep 2006 18:12:51 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 28 20:12:50 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 1GT0N9-0003rI-VU for gctc-ntg-context-518@m.gmane.org; Thu, 28 Sep 2006 20:12:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C5B511FFAB; Thu, 28 Sep 2006 20:12:34 +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 06290-03; Thu, 28 Sep 2006 20:12:30 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 101321FF9D; Thu, 28 Sep 2006 20:09:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1176C1FF9D for ; Thu, 28 Sep 2006 20:09: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 05276-03-2 for ; Thu, 28 Sep 2006 20:09:31 +0200 (CEST) Original-Received: from 42.mail-out.ovh.net (42.mail-out.ovh.net [213.251.189.42]) by ronja.ntg.nl (Postfix) with SMTP id 3C3271FF9C for ; Thu, 28 Sep 2006 20:09:30 +0200 (CEST) Original-Received: (qmail 21014 invoked by uid 503); 28 Sep 2006 18:09:11 -0000 Original-Received: from b6.ovh.net (HELO mail187.ha.ovh.net) (213.186.33.56) by 42.mail-out.ovh.net with SMTP; 28 Sep 2006 18:09:11 -0000 Original-Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 28 Sep 2006 18:09:23 -0000 Original-Received: from d83-179-246-171.cust.tele2.fr (HELO ?192.168.78.10?) (aubin@nibua-r.org@83.179.246.171) by ns0.ovh.net with SMTP; 28 Sep 2006 18:09:22 -0000 User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: fr, en Original-To: ConTeXt Mailing List X-Ovh-Remote: 83.179.246.171 (d83-179-246-171.cust.tele2.fr) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|H 0.5/N 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:31096 Archived-At: This is a multi-part message in MIME format. --===============2115968368== Content-Type: multipart/alternative; boundary="------------060703080702030609030605" This is a multi-part message in MIME format. --------------060703080702030609030605 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 ? 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.....] 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... 3. ... I need to define a macro to setup the 3D annot before to use it by \externalfigure or with another brand new macro... That's it for the moment... Renaud --------------060703080702030609030605 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
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 ?

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.....]

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...

3. ... I need to define a macro to setup the 3D annot before to use it by \externalfigure or with another brand new macro...

That's it for the moment...


Renaud
--------------060703080702030609030605-- --===============2115968368== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============2115968368==--