Thanks Chris but the issue is the texture being mapped to the wrong
side of the cube faces so i dont think that technique would solve the
issue.
Returning back to my "theCube" class at the top of this post I had the
following code:
public function v(x:Number, y:Number, z:Number):void
{
ve.push(new Vertex(x, y, z));
}
If I change the code to negate the z value as follows, it actually
appears to work:
public function v(x:Number, y:Number, z:Number):void
{
ve.push(new Vertex(x, y, -z));
}
Im not sure if that is correct though, visually it seems to have fixed
the issue but can someone please verify that this is the correct thing
to to?
Thanks!
On Feb 1, 3:30 pm, Charles Wardlaw <[email protected]> wrote:
> > sorry, im not sure i follow.
>
> Ahh, I sent you in the wrong direction -- you want to use a Bitmap and the
> copyPixels method of BitmapData. There's a tutorial on it here:
>
> http://www.8bitrocket.com/newsdisplay.aspx?newspage=13430
>
> I think you could adapt the code there to draw an SWF onto a Bitmap and
> convert that to a material. There might be a few extra steps, but it seems
> plausible in my head. ^_^;
> ~ C
>
>
>
>
>
> > On Feb 1, 2:06 pm, Charles Wardlaw <[email protected]> wrote:
> >>> Back to the document class, I have tried doing cb.scaleX = -1 as you
> >>> suggested but that did not work.
>
> >> Crazy idea but have you tried scaling it and then drawing the scaled
> >> version onto a Sprite, converting it to a bitmap?
>
> >> Sorry if that's already been suggested; I haven't followed this whole
> >> thread.
> >> ~ C- Hide quoted text -
>
> - Show quoted text -