Thursday, June 08, 2006

3D maze testing




click the screeen first and arrow keys / F5 reset partition

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.

Monday, June 05, 2006

3D testing - 360degree xyz




click the screeen first and move your mouse

my testing on 3D geometry in flash - 2 blocks




click the screen and move UP DOWN LEFT RIGHT


This simple flash looks really simple but the actionscript that I've written is about 3 to 4 pages long because everything is written in script including the graphic. However, the perspective is wrong, is just the opposite, therefore the blocks seems crashing on you. I need to take time to fix it!