Thank you for your help Joe. It's got me afloat.
Although it took me a bit to figure out that U and V
are the picture's width and height scaled between 0
and 1 - I started off just using the pixel values of
the points I wanted - and got a mess. I found the LR
a bit cryptic on this matter.
Incidentally - why don't your replies appear in the
NUG list archive as separate messages any more like
everyone else? Your reply to my question is embedded
in the question starting the next thread - "How to
tell if a window IS maximized," - not as a separate
message.
Thanks - Peter.
On Mar 27, 2007, at 22:58 UTC, Peter Wyeth wrote:
> I don't see a way of doing this out of the box with
the Trimesh
> class, but I really hope I'm missing something.
You are -- this is a very straightforward application
of the Trimesh
class (and its support classes). You create the mesh
with the
triangles however you want them; you assign the UV
coordinates to pin
the texture on however you want it; you make a
Material out of your
picture, and attach it to the Trimesh. C'est tout!
Does this get you going? Or, where exactly are you
stuck?
Best,
- Joe
___________________________________________________________
What kind of emailer are you? Find out today - get a free analysis of your
email personality. Take the quiz at the Yahoo! Mail Championship.
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
From Wed 28 Mar 2007 15:38:54 -0600
Return-Path: <realbasic-nug-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
id EC7C51D56B0D; Wed, 28 Mar 2007 14:39:03 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on
www.realsoftware.com
X-Spam-Level:
X-Spam-Status: No, score=-2.8 required=4.5 tests=ALL_TRUSTED,AWL,BAYES_00,
NO_REAL_NAME autolearn=ham version=3.1.1
Received: from lists.realsoftware.com (m.realsoftware.com [66.116.103.65])
by xmail.realsoftware.com (Postfix) with ESMTP id 0C9611D56B02;
Wed, 28 Mar 2007 14:39:03 -0700 (PDT)
Received: from real-software-mini.local (localhost [127.0.0.1])
by lists.realsoftware.com (Postfix) with ESMTP id 015D7197C1C;
Wed, 28 Mar 2007 16:38:59 -0500 (CDT)
X-Original-To: realbasic-nug at lists dot realsoftware dot com
Delivered-To: realbasic-nug at lists dot realsoftware dot com
Received: from mail.verex.com (mail.verex.com [66.116.103.197])
by lists.realsoftware.com (Postfix) with ESMTP id 6165C197C11
for <realbasic-nug at lists dot realsoftware dot com>;
Wed, 28 Mar 2007 16:38:54 -0500 (CDT)
Received: from [66.116.103.197] (localhost [127.0.0.1])
by mail.verex.com (Postfix) with SMTP id 69E63721FDF
for <realbasic-nug at lists dot realsoftware dot com>;
Wed, 28 Mar 2007 15:38:54 -0600 (MDT)
Date: Wed, 28 Mar 2007 15:38:54 -0600
Subject: Re: Window on which Screen(x)
From: joe at strout dot net
To: realbasic-nug at lists dot realsoftware dot com
In-Reply-To: <1507BE09-59E2-44C1-9DAC-F030205AF332 at tribu dot ch>
X-Mailer: VerEx Email Gateway
Message-Id: <20070328213854 dot 69E63721FDF at mail dot verex dot com>
X-BeenThere: realbasic-nug at lists dot realsoftware dot com
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: realbasic-nug-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug-bounces at lists dot realsoftware dot com
On Mar 28, 2007, at 21:21 UTC, Arnaud Nicolet wrote:
> Then, if even using mathematics, you can't say "I'm on the 3rd
> screen, below the 1st one", why is it useful to know the index of the
> screens where the window is?
Hey, I'm not the one that asked how to figure that out. :) But in the
past, I've done this to know which window to switch to full-screen mode
on. Armageddon does this, IIRC. Whichever screen the window is mostly
on, that's the screen that's used if you switch to full-screen mode.
Best,
- Joe
--
Joe Strout -- joe at strout dot net
Verified Express, LLC "Making the Internet a Better Place"
http://www.verex.com/
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
From Wed 28 Mar 2007 15:42:54 -0600
Return-Path: <realbasic-nug-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
id 8CE731D56C15; Wed, 28 Mar 2007 14:43:05 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on
www.realsoftware.com
X-Spam-Level:
X-Spam-Status: No, score=-2.8 required=4.5 tests=ALL_TRUSTED,AWL,BAYES_00,
NO_REAL_NAME autolearn=ham version=3.1.1
Received: from lists.realsoftware.com (m.realsoftware.com [66.116.103.65])
by xmail.realsoftware.com (Postfix) with ESMTP id 81E9A1D56C0B;
Wed, 28 Mar 2007 14:43:02 -0700 (PDT)
Received: from real-software-mini.local (localhost [127.0.0.1])
by lists.realsoftware.com (Postfix) with ESMTP id 7582F197C4B;
Wed, 28 Mar 2007 16:42:58 -0500 (CDT)
X-Original-To: realbasic-nug at lists dot realsoftware dot com
Delivered-To: realbasic-nug at lists dot realsoftware dot com
Received: from mail.verex.com (mail.verex.com [66.116.103.197])
by lists.realsoftware.com (Postfix) with ESMTP id 25778197C40
for <realbasic-nug at lists dot realsoftware dot com>;
Wed, 28 Mar 2007 16:42:54 -0500 (CDT)
Received: from [66.116.103.197] (localhost [127.0.0.1])
by mail.verex.com (Postfix) with SMTP id 4884F722002
for <realbasic-nug at lists dot realsoftware dot com>;
Wed, 28 Mar 2007 15:42:54 -0600 (MDT)
Date: Wed, 28 Mar 2007 15:42:54 -0600
Subject: Re: Draping a picture on a trimesh
From: joe at strout dot net
To: realbasic-nug at lists dot realsoftware dot com
In-Reply-To: <63949 dot 23182 dot qm at web23404 dot mail dot ird dot yahoo dot
com>
X-Mailer: VerEx Email Gateway
Message-Id: <20070328214254 dot 4884F722002 at mail dot verex dot com>
X-BeenThere: realbasic-nug at lists dot realsoftware dot com
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: realbasic-nug-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug-bounces at lists dot realsoftware dot com
On Mar 28, 2007, at 21:32 UTC, Peter Wyeth wrote:
> Thank you for your help Joe. It's got me afloat. Although it took
> me a bit to figure out that U and V are the picture's width and
> height scaled between 0 and 1 - I started off just using the pixel
> values of the points I wanted - and got a mess. I found the LR a bit
> cryptic on this matter.
Ah yes, with UV values the range 0-1 always maps onto the width and
height of your texture. You can use values outside that range, and the
texture will just repeat, like a tiled background on a web page. If
this isn't clear in the LR, you might file a feature request to have
that spelled out. I know RS reads and handles those requests, because
I've had a seen a few of them fixed myself recently.
> Incidentally - why don't your replies appear in the NUG list archive
> as separate messages any more like everyone else? Your reply to my
> question is embedded in the question starting the next thread - "How
> to tell if a window IS maximized," - not as a separate message.
Goodness, I haven't a clue. Sounds like a bug in the list archive
software. Nasty one, too.
Best,
- Joe
--
Joe Strout -- joe at strout dot net
Verified Express, LLC "Making the Internet a Better Place"
http://www.verex.com/
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|