Archive of April 2008


Morphing Objects in PV3D

I started to explore how to change pv3d objects and played a bit with some shaders and thought i might share some of my ideas and results.

I found some code snippets of fluid simulation by Exey Panteleev and noticed that changing the objects shape isn’t hard at all. Basically all you have to do is run through all vertices and change their values.

So i did a little experiment of morphing two shapes into each other. To have a better control of the shapes itself i imported two collada files that contain an object with same number of vertices. All i have to do then is to loop through all vertices and animate their xyz-values.
Read More »

April 28th, 2008  by Daniel  /  2 Comments

E4X: A better way to deal with XML.

I’m not writing anything that hasn’t already been documented out there before, but I did want to mention one of my favorite things about AS3 - E4X. E4X is ECMAScript for XML. You can read more about it here. http://en.wikipedia.org/wiki/E4X.

XML is implemented natively into ActionScript 3… no more parsing XML files form astrong. You can leverage this to traverse XML files for specific pieces of content without the need of running a for loop or converting the XML to an object or anything. The trick is mastering the syntax.

Read More »

April 23rd, 2008  by Jamie  /  5 Comments
actionscript, flash



Flash Player Bug Database

More officially: Adobe Flash Player Bug and Issue Management System

A repository for developers to submit and review known issues. My favorite part is “Steps to Reproduce”.

April 15th, 2008  by Stephen  /  0 Comments
Flash


Image cache and visualizer source

We have gotten a couple of emails asking what happened to the image cache class and visualizer code. I neglected to upload this stuff when moving to the new server, but the links have now been updated. Here are the original posts:

Image Cache
Visualizer

edit: oops. visualizer link is fixed now.

April 10th, 2008  by Joshua  /  1 Comment
source, visualizer, image cache, flash, actionscript