i’m not sure if this would be considered a real 3d engine but it does have z-sorting. this is the first time i real appretiated the power of functions. without them, the AS would be over 500 lines long but it’s only 49 right now. here’s a link to the swf…3d_balls.swf
it uses my patented circular motion. the balls are all duplicates of one ball and a function is applyed to them to convert the three imaginary coordinates (x,y,z) into two coordinates which flash can understand. the balls go around in circles around their x , z plane. each ball has a different rotation around the x axis so that the balls also move up and down rather than just side to side (the balls would only move side to side if the y and z axis weren’t rotated aroud the x axis since their movement is only on the x z plane) the scale and alpha is change relative to the z coordinate of the ball. every frame, the balls depth is swaped to become the same as their z coordinate. this acts as the z-sorting. if you would like to see a fla and further explanation, just ask. the AS isn’t terribly difficult.
- mike