O'Reilly logo

Away3D 3.6 Cookbook by Michael Ivanov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exporting models from Prefab

Prefab features several different exporters. You can export Wavefront.obj (including the mtl file), the ActionScript file which represents a mesh object as well as the additional Away3D native format called AWD (Away data). Additionally, there is an option to export to AC3D as a format which is still not integrated inside Away3D. In this recipe, you will be shown how to export your models from Prefab to the ActionScript and AWD formats.

Getting ready

Make sure you have the latest version of Prefab installed on your machine. You can download the program from http://www.closier.nl/prefab/.

In the following couple of recipes, we make use of a low poly model of a wooden barrel. You can find the model, which is in 3ds format, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required