Flash

Jan 28, 2010

Blender to ActionScript Exporter Updated: Away3D Lite 1.0.2

Posted by Dennis in 3D, ActionScript, Blender, Flash 1 comment

Another update to the Blender to ActionScript exporter. Away3D Lite 1.02. has been added to the list. Download it from the usual place here.


Oct 15, 2009

Book Review: Papervision3D Essentials

Posted by Dennis in 3D, ActionScript, Flash 1 comment

Packt Publishing sent me book for review. So here we go …
Authors: Paul Tondeur (www.paultondeur.com) and Jeff Winder (www.jeffwinder.nl)
Publisher: Packt publishing (www.packtpub.com)
Pages: 407
Finally there is a book about the most popular 3D engine for Flash, Papervision3D. With a lot of information scattered about on the internet there is a huge need for something coherent. This [...]


Sep 23, 2009

Blender exporter updated: Away3D Lite 1.0

Posted by Dennis in 3D, ActionScript, Blender, Flash 1 comment

Away3D Lite 1.0 has been released a few weeks ago. According to the Away3D team:
“Away3D Lite is the fastest and smallest fully featured 3d engine in Flash to date“
Sounded like a good reason to update the Blender to ActionScript exporter! The updated script can be found on the usual page here.
Example files can be found [...]


Aug 20, 2009

3D, ribbons, vertices, uv coordinates

Posted by Dennis in 3D, ActionScript, Flash 1 comment

Yesterday I helped my friend Tudor with a problem. When we solved it he got excited and told me to blog about it. Whatever Tudor says has to be done so here we go :-).
He was using the Ribbon3D class which is based on Papervision3D. Instead of using a color material he wanted to use [...]


Aug 6, 2009

“Blender to Flash workflow” article now available for free

Posted by Dennis in 3D, ActionScript, Blender, Flash 3 comments

The March issue of Flash & Flex Developer’s magazine features an article written by me called “Blender to Flash Workflow”. This article explains how to:

create a simple 3D object in Blender
create a material in Blender
export the primitive and the material so that it can be used in Flash
set up a basic 3D scene using the [...]


May 27, 2009

“Blender to Flash Workflow” article in Flash & Flex Developer’s Magazine

Posted by Dennis in 3D, ActionScript, Blender, Flash 7 comments

The latest issue of Flash & Flex Developer’s magazine features an article written by me called “Blender to Flash Workflow”. This article explains how to:

create a simple 3D object in Blender
create a material in Blender
export the primitive and the material so that it can be used in Flash
set up a basic 3D scene using the [...]


Apr 6, 2009

Blender to ActionScript exporter updated: Quads and Modifiers

Posted by Dennis in 3D, Blender, Flash 1 comment

The exporter script for Sandy 3.1 now supports quads. This means you don’t have to press ctrl+T before you export an object from Blender. Big thank you to Makc for writing this bit of code.
I’ve also introduced support for modifiers. The modifiers are applied to a temporary Mesh and then exported to ActionScript. It won’t [...]


Apr 2, 2009

Using an Alchemy generated texture on a 3D object

Posted by Dennis in 3D, ActionScript, Flash 6 comments

Here’s how a texture that is generated by Alchemy can be used by a 3D engine like Sandy.
Watch the example here.
The C code:

#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include “AS3.h”

int* palette;
int* plasma;
int* newPlasma;
int width;
int height;

AS3_Val generatePlasma(void* self, AS3_Val args)
{
int x, y, r, g, b, index;

AS3_ArrayValue(args, “IntType, IntType”, &width, &height);

palette = malloc(256 * sizeof(int));
plasma = malloc(width * height [...]


Mar 26, 2009

Installing Adobe Alchemy: “bash: alc-on: command not found” Error

Posted by Dennis in Flash, Uncategorized 2 comments

I’m currently trying to get started with Adobe Alchemy. I’ve downloaded the SDK and Cygwin. I’ve followed all the steps from the getting started documentation: http://labs.adobe.com/wiki/index.php/Alchemy:Documentation:Getting_Started. When trying to execute this command:
alc-on; which gcc
I get this error
bash: alc-on: command not found
The problem here is that the .bashrc file is not executed when the Cygwin bash [...]


Feb 19, 2009

Easy deep clone method made easier

Posted by Dennis in ActionScript, Flash, Flex 7 comments

In a previous post I talked about an easy deep cloning method I found and which I tweaked a little.
While I was crammed in the tube yesterday (sometimes the best ideas are born in the underground) I came up with an idea to simplify and generalise this even further. The problem with the current method [...]