Message from discussion
3d device coordinates from a 3D polyline....
Received: by 10.224.213.1 with SMTP id gu1mr14122865qab.7.1349111242178;
Mon, 01 Oct 2012 10:07:22 -0700 (PDT)
Received: by 10.52.66.235 with SMTP id i11mr2880280vdt.7.1349111242089; Mon,
01 Oct 2012 10:07:22 -0700 (PDT)
Path: e10ni150503315qan.0!nntp.google.com!l8no19871142qao.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: comp.lang.idl-pvwave
Date: Mon, 1 Oct 2012 10:07:21 -0700 (PDT)
In-Reply-To: <MPG.2ad33b2b5c91b284989b6b@news.giganews.com>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=140.172.223.71;
posting-account=6vqDcgoAAAAPsZlusarEod134ZVMVWbN
NNTP-Posting-Host: 140.172.223.71
References: <f901b970-69ee-4ba1-8217-07a7b37fd140@googlegroups.com> <MPG.2ad33b2b5c91b284989b6b@news.giganews.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b29294f4-5d87-49b0-b472-94b443acbe48@googlegroups.com>
Subject: Re: 3d device coordinates from a 3D polyline....
From: George.millw...@yahoo.com
Injection-Date: Mon, 01 Oct 2012 17:07:22 +0000
Content-Type: text/plain; charset=ISO-8859-1
On Monday, October 1, 2012 6:32:00 AM UTC-6, David Fanning wrote:
> George.millw...@yahoo.com writes:
>
>
>
> > I have am idlgrpolyline which I can rotate in a 3D view (with the trackball).
>
> > I want to know the 2D coordinates of this line in the device (ie,the 2D the projection in the window). Can't figure it out.
>
>
>
> I'm no expert in this area, but I think the 3D to 2D
>
> conversions of the transformation matrix (which you
>
> can recover from the trackball) are well known. You
>
> can read the answer at the bottom of this article,
>
> for example:
>
>
>
> http://math.stackexchange.com/questions/336/why-are-3d-
>
> transformation-matrices-4x4-instead-of-3x3
>
>
>
> Cheers,
>
>
>
> David
>
>
>
>
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Hmm,
So there is nothing in the object graphics system like the 'CONVERT_COORD' routine ?
George.