Print

Print


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