Hello, I need help with an issue I have trying to resize a plane.

The Plane uses a MovieMaterial that loads images. I would like the
Plane to resize if the image loaded is of a different size. I got it
to work somewhat. The Plane shows the resized material correctly but
it's offset. The geometry shows a jagged bottom edge. I would also
like to animate the resize eventually.

I was wondering if there was a better way to do it.

Demo:
I implemented a click and drag to rotate or hover and a Double Click
to open or activate.
Once at the Interactive 3D Cube, double click on a face to open it.
Then double click on the first carousel item (flower) to bring it
forward. Then you can double click on the image to flip the Plane and
view the issue.

http://www.wemakedotcoms.com/_projects/stc09/portfolio/STC_Portfolio_loader_v1.html

In the resize handler I have:

plane.material = new STC3DCarouselMaterial(event.movie);
plane.width = event.width;
plane.height = event.height;

Any suggestions welcome!

Cheers,

Jerome.

Reply via email to