Realtime 3D textured plane rendering in Flash using Maya animation
I am working on a flash website that involves animating a pile of cards using Rigid Body Dynamics in Maya. Considering the amount of the animation and the number of cards, rendering as PNG sequences wasn't a viable option.
To save a lot of file size and painful frame by frame hand animations, I combined a MEL script that project a 3D point into a 2D space and a image distortion class found in the Sandy engine.
The result is a simple text file generated from Maya and then read into flash. The images on each cards are rendered in realtime using 4 points distortion (the faces are actually made out of 8 triangles for better display ).
I have also been working on a very simple OBJ file importer in Processing which is a lot more simple than the one done by Tatsuya SAITO . I will post the sources of these two very soon.
To save a lot of file size and painful frame by frame hand animations, I combined a MEL script that project a 3D point into a 2D space and a image distortion class found in the Sandy engine.
The result is a simple text file generated from Maya and then read into flash. The images on each cards are rendered in realtime using 4 points distortion (the faces are actually made out of 8 triangles for better display ).
I have also been working on a very simple OBJ file importer in Processing which is a lot more simple than the one done by Tatsuya SAITO . I will post the sources of these two very soon.
Labels: 2d, 3d, code, flash, processing