ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Renaud AUBIN <aubin@nibua-r.org>
Subject: 3D Artwork with ConTeXt
Date: Thu, 28 Sep 2006 20:09:18 +0200	[thread overview]
Message-ID: <451C0FCE.7090201@nibua-r.org> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1474 bytes --]


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

[-- Attachment #1.2: Type: text/html, Size: 2120 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

             reply	other threads:[~2006-09-28 18:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-28 18:09 Renaud AUBIN [this message]
2006-09-28 22:01 ` Hans Hagen
2006-09-29  7:53   ` Renaud AUBIN
2006-09-29 14:06     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=451C0FCE.7090201@nibua-r.org \
    --to=aubin@nibua-r.org \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).