22 Apr 2010

Away3D 3.5.0 & 2.5.0 released

by Rob Bateman

Away3D's latest update brings some FPS love to Flash... in the form of a brand new render engine and data format for large play areas. 2.5.0 and 3.5.0 represent the latest full engine releases of Away3D for Flash Player 9 and 10. You can grab the code either from the svn repository or the downloads page, where you will also find a bunch of updated examples. Accompanying the Away3D update is the latest version of Prefab3D a 3D preparation tool created by Fabrice Closier using Adobe AIR. You can download the runtime from the official Prefab3D installation page, or from the AIR Marketplace where you can also submit feedback (and we encourage you to do so!). Prefab3D is still very much a work in progress, but its newest feature allows the export of specially formatted .awd files optimised for FPS rendering (otherwise known as BSP files). As an example of what is possible with this new feature, the following Hacienda demo was created using the latest Prefab3D runtime and Away3D sources: hacienda_01 A number of rooms can be navigated using the mouse and keyboard, with collision detection enabled by processing the BSP format in Away3D. The beautifully shaded textures were created using Prefab3D's texture baking feature. hacienda_02 Be careful where you tread, as this is still an experimental demo! Further optimizing work is being carried out on collision and rendering loops in Away3D, but even at this stage, the speed benefits are evident. hacienda_03 Alongside the new FPS features, the Away3D codebase has undergone a fairly major rehaul and anyone wishing to upgrade their project to use 2.5 / 3.5 needs to be prepared for a little re-formatting here and there. We apologies in advance, but most of the updates have been in preparation of the long awaited Away3D 4.0 release which will be the next major version release for Flash Player 10 only. A full set of changes will be published later today on our mailing list. For your own Hacienda demo, we have prepared a simpler setup creating the interior of a bunker, for which source code is available. Click the image below for the demo, or go straight to the source. The version shown here uses Flash Player 10, but code for both 9 and 10 can be found in the respective 2.5.0 and 3.5.0 examples downloads. bunker_demo Using Prefab 1.3, the following video takes you through the creation process for the Bunker demo, step by step. The only starting requirement is a simple textured model, ready for processing. The final output is the demo you see above! Livedocs will be updated to the new codebase within the next few days. As usual, please direct any bug reports to our googlecode issues list, and any questions about functionality to our mailing list. Enjoy the new release! The Away3D Team



22 Apr 2010 01:48 PM

felix said:

nice demo! no strafing?

22 Apr 2010 02:08 PM

BSP/PVS released in Away 3.5.0! | Der Schmale - Da said:

[...] of Away3D 2.5.0 and 3.5.0. Along with other features and changes, of which you can read more in the official announcement, the Flash Player 10 version contains the new BSP/PVS support! I’ve slaved months on this, so [...]

22 Apr 2010 05:36 PM

infinite turtles » Blog Archive » Away said:

[...] has a new double-release in the now familiar 2.X / 3.X format for Flash Player 9 and 10 branches of the main [...]

23 Apr 2010 07:43 PM

William said:

Is this new version covered in the book The Essential Guide to 3D in Flash? I saw something about the book in an aPress newsletter. Does any one know if the book covers using PreFab3D. Sorry if this is off topic.

24 Apr 2010 04:11 PM

Rob Bateman said:


yes, use of the Away3D 2.5 / 3.5 release is the version covered in The Essential Guide to 3D in Flash, due to be released soon. Prefab3D is not covered in the book, but it shouldn't be long before we have more online video tutorials.

25 Apr 2010 07:22 PM


[...] In addition to basic 3D modeling introduced in Flash CS4 / Flash Player 10, Away 3D has jumped onto the scene. Even though it hasn’t been around as long as Papervision, with the newest version just released a few days ago, Away 3D is covering some serious ground. Along with Prefab3D (a 3D preparation tool), the demos being created with Away are very impressive. You can see the demos and more about the latest version here. [...]

26 Apr 2010 03:30 PM

ben said:

woh, thats looks amazing!

26 Apr 2010 08:39 PM

Michael said:

I downloaded the hacienda source, created a new AS3 project, saved in same folder as the Intermediate_BSPBunker.as file and then set the Document under Property inspector to Intermediate_BSPBunker. When I try to compile I get an error about "Namespace was not found or is not a
compile-time constant." Using Flash Professional CS5.

I just want to get an Away3D scene loaded up so I have a working code sample to build from, any ideas?

29 Apr 2010 04:34 PM

Fabrice Closier said:

@felix now standard out of the box + bunker demo was updated with the new outputs smile

@Michael The BSP programming and modeling are so specific, I wonder if its wize to start with this. I suggest you go to flashmagazine.com, they have great away3d tutorials to get you started. You could also register to our user dev group.

30 Apr 2010 02:07 AM

hud said:

why do i get a blank screen when i compiled the source?

30 Apr 2010 02:37 AM

hud said:

never mind got it working.thanks

04 May 2010 04:38 PM

Shawn McInerney said:

Hi, this may be a stupid question.. but I can't seem to find the answer. Does the new v3.5 have all of the Flash Player 10 speed increases that Away3d Lite has? Or is Away3d Lite still faster and able to handle more polys?

01 Jun 2010 07:15 AM

infinite turtles » Blog Archive » Away said:

[...] through to advanced features such as bones animation and 3D text manipulation, using the latest 2.5 & 3.5 double release as its code base. Each chapter is packed full of examples that teach underlying 3D concepts as well [...]

01 Jun 2010 07:56 AM

Away3D Flash Engine » First Away3D book: The said:

[...] through to advanced features such as bones animation and 3D text manipulation, using the latest 2.5 & 3.5 double release as its code base. Each chapter is packed full of examples that teach underlying 3D concepts as well [...]

10 Jun 2010 11:06 AM

vicmara said:

hey ya...
does prefab render the bsp/pvs tree automatically when one exports in awd format?

01 Jul 2010 02:02 AM

pee said:

it very good for beginer

09 Jul 2010 09:29 AM

Flash goes 3D @ werkraum blog said:

[...] (z.B. Vector) im Flash-Player 10, was bereits vom allseits bekannten 3D-Framework Away3d in der neusten Version 3.5.0 umgesetzt wird, ein enormer [...]

28 Jul 2010 03:42 PM

tácio said:

Im using the flash cs5 and when i try compile one of my tutorials the flash gives to me this error :

1046: Type was not found or was not a compile-time constant: Face.
1046: Type was not found or was not a compile-time constant: NGon.
1046: Type was not found or was not a compile-time constant: Vertex.
1046: Type was not found or was not a compile-time constant: UV.

anyone can help me? or tell me if the flash cs5 supports the Away3D?
thanks for all

11 Aug 2010 04:27 PM

Nathan said:

The installer for prefab says "The application could not be installed because the installer file is damaged. Try obtaining a new installer file from the application author."

It appears to be a well known problem. It occurs even when downloading the file to the local hd. I don't know if others are having this issue. Many other air developers seem to be encountering the problem as well.

12 Aug 2010 06:46 AM

Game Up said:

This looks amazing. I have just ordered myself a copy of The Essential Guide to 3D in Flash. Cant wait for it to come. Nice work.

23 Sep 2010 02:15 PM

jam said:

what is the right Away3d version for Flash CS5??? how i can find it?

27 Sep 2010 09:25 AM

DQvsRA said:

Hello Everyone!
I'm very glad to use Prefab it's really powerfull tool for 3d developing but i have a problem with texture. I created a base texture on my Maya simple mesh object and save it in .jpg Then import object in to Prefab and apply that texture on my object - and as result i have a inverted texture. Why??? And also i can't why but UV texture editor don't opening??
Here the picture of my problem:

Thanks for support!!!
Best Regards, Vladimir S. Minkin

07 Jan 2011 02:18 PM

Julien Gouesse said:

I have given a try to this demo, I get 6 frames per second to display only 348 polys, it is quite miserable in comparison with softwares based on OpenGL.

27 May 2011 07:18 PM

SilverDude said:

Great!! Keep up the great work!! smile

Only registered members can comment. Click here to login or here to register