MASON-INTEREST-L Archives

September 2006

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Fri, 22 Sep 2006 23:27:29 -0400
MIME-version:
1.0 (Apple Message framework v752.2)
Reply-To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Content-type:
text/plain; charset=US-ASCII; delsp=yes; format=flowed
Subject:
From:
Sean Luke <[log in to unmask]>
In-Reply-To:
Content-transfer-encoding:
7bit
Comments:
To: MASON Multiagent Simulation Toolkit <[log in to unmask]>
Parts/Attachments:
text/plain (27 lines)
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

ATOM RSS1 RSS2