Sender: |
|
Date: |
Fri, 22 Sep 2006 23:27:29 -0400 |
MIME-version: |
1.0 (Apple Message framework v752.2) |
Reply-To: |
|
Content-type: |
text/plain; charset=US-ASCII; delsp=yes; format=flowed |
Subject: |
|
From: |
|
In-Reply-To: |
|
Content-transfer-encoding: |
7bit |
Comments: |
|
Parts/Attachments: |
|
|
On Sep 22, 2006, at 9:22 PM, Ryan Kadomoto wrote:
> But this doesn't really help me completely. Ideally, I want the
> image to be
> on a single rectangular plane that I can rotate.
Previously you had indicated that when you created an
ImagePortrayal3D at (0,0,0), you couldn't see it. I presume that
issue is fixed by loading the image right?
If what you need is for the image to be *rotateable*, you need to
state that the ImagePortrayal3D not be "oriented" -- that is, always
facing the user. Instead of saying
new ImagePortrayal3D(image),
try saying
new ImagePortrayal3D(image, false, opaque)
...where opaque is true (strongly recommended for speed) if your
image doesn't need semitransparency, else false. The second argument
is the oriented-portrayal argument. We're setting it false.
From there you may need to change the orientation of the portrayal
-- you'd do that like any other one, by wrapping it in a
TransformedPortrayal3D.
Sean
|
|
|