Audiotool
please install the latest flashplayer
Split Bezier »
« Pepsi Can
back

Perspective texture mapping isn’t possible in flash7, though linear texture mapping is possible by skewing, scaling and rotating an image. By dividing the entire texture into a lot of single triangles and project their vertices in a perspective way, the artefacts of linear mapping are suppressed.

Katie wrote...

Hi, this is awesome. I’m new to flash and have been trying to figure out how to rotate an image like this in a picture cube. If you could point me in the right direction with some tips, references or advice i’d really appreciate it.
THanks :)

How many triangles are you using. Can you give me a hint to the algorithm? I was thinking i would just need to cut the image in half down the diagonal. Is that correct?

If you change the quality to “low” you see almost count them (24 triangles).

Stu wrote...

Hey,. that’s pretty cool. Do you have the source code available for this?

I need to manipulate an image in this manner, but need to restrict it to the Flash Player 7 as you have. (I know there’s easier ways in 8)

louis lin wrote...

ddd

Atef Ouni wrote...

Great !!!!

Any tutorial available on the subject?

name wrote...

i don’t get it :S its a spinning pic……

abbey wrote...

what does the countdown in the bottom left corner mean?

Roch MORIN wrote...

Wonderful. Is it possible to get sources?
regards
Roch

Vale wrote...

Hi, this is a great application. congratulations!
You can help me with the source files please. Actually I’m working on a 3d like car game, and this code will help me a lot. Thank you in advance! I will appreciate your help.

reversepro wrote...

why, isn’t it simple.

function rotate(e:Event) {
this.rotationX -= (MovieClip(root).mouseY-200)/10;
this.rotationY -= (300-MovieClip(root).mouseX)/10;
}
this.addEventListener(Event.ENTER_FRAME,rotate);

AS3

Leave a Comment