Apr 2, 2009
Using an Alchemy generated texture on a 3D object
Posted by Dennis in 3D, ActionScript, Flash • 6 commentsHere’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, [...]
