Articles about alchemy’

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 3 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 [...]