Abstract
3DFS is a 3D engine written in AS2 (ActionScript 2) compatible with Flash Player 7.0 or more. [color=red]download [85KB]…[/color]
Features
3DFS’s features are :
[list]
[]polygonal object rendering (a face can be any 3D convex polygon);
[]camera management (track, dolly, tumble, pan & shake functions);
[]visible surface determination via S-Buffer implementation (perfect object intersection);
[]clipping (front, left, right, back planes);
[]backface culling (per object or face enabling);
[]flat shading with lighting coefficients : ambiant, diffuse & specular;
[]variable rendering resolution and simple variable blur rendering;
[]user defined object mouse events : onMouseOver, onPress, onRelease, etc;
[]usual math transformations : scaling, Euler & quaternion rotating, etc;
[]XML format scene loader;
[*]command line 3DS Max ‘.ASE’ format converter (‘tri’ or ‘quad’ modes available);
[/list]Limitations
Its present limitations are :
[list]
[]flat shading;
[]no texture handling;
[]no transparency handling;
[]only one light in the same position of the camera;
[]etc,…
[/list]Examples
[list]
[][color=red]cube[/color]
[*][color=red]ring[/color]
[/list]Screenshots
./cube
./ring
Credits
project web site : [color=red]http://3dfs.alpha-sigma.net[/color]
home web site : [color=red]http://www.alpha-sigma.net[/color]
Antonin Stefanutti