3D engine in Adobe Flash
2016. Own development

Dream of many enthusiasts is to make a 3D engine that would work out a 3D scene in an Internet browser. As a rule, this was done on the Adobe Flash platform. But such engines did not work well with complex scenes, because the Adobe Flash Player does not use the hardware accelerator of video card. Taking this into account, Victor 3D chose a different path - he wrote a 3D engine for single objects that can live in any Flash animation and without it. How it works:
1. The object is created in 3DSmax and exported to a file .3ds or .ase.
2. This file is entered into a specially created translator. The translator optimizes the object: it removes unnecessary points on one straight line and combines triangles on one plane into one polygon. This way, the volume of the model is reduced hundreds of times without loss of quality, so that the Flash engine draws a single polygon instead of a series of triangles. Example:

Original object   Optimized object

Next, the translator outputs an array of model data as a Flash Script, from which a Flash project file is created. Model maps, as well as active elements and sounds are added to it. This is then exported to a playable .swf file. It can be placed in an Html page or in any Flash animation.

The Adobe Flash Plugin is now closed in internet browsers, so here is a video showing how the 3D Flash engine works. If you want to make sure more, download this file castle.swf, 488 kb, and check out in Adobe Flash Player.