Tuesday, June 06, 2006

Flash 3D maze and Max

These few days I have make a big progress to my project because I have found an example of a 3D Maze for Flash. Since this example still have distance to my target, I need to understand the concept and logic behind before I can modify the script. The walk through motion inside the maze in the example is quite primitive but he use a very clever method(simple geometry) to simplify 360degree and xyz calculation. He used HitTest instead of collision detection which save a lot of time for calculation. He also used a wall for the maze as a unit for calculation of everything like partition, the width of path, the size of maze, the no. of walls and columns. Besides, he used zoom(scale ratio) to calculate the ratio for the relationship between y and z. He make use of the movie clip function and the actionscript 'globaltoLocal' and 'localtoGlobal' for interchange of scale ratio inside movie clip and the main timeline.

After trying to modify the maze to the shape, size and color i want, i will start to use Flosc or Flashserver to let Flash communicate with Max/MSP.

0 Comments:

Post a Comment

<< Home