Papervision3d text effect, using anti-aliasing for “rounder” 3d “shapes”

Posted by HCL - RIA Group in

Create text, grab BitmapData from it, loop though its pixels and represent them with DisplayObjects.

Again, the ‘trick’ is to check which pixels are transparent. An interesting quality of Anti-Aliased text is that the “rounded” or “Anti-Aliased” pixels are the color of the text, except with varying transparency, meaning the text looks good on any color background.

I took advantage of this by generating “thicker” rows in the Z plane for darker pixels… Hard to explain in words, but let’s allow the screenshots and the app speak for themselves.


text effect screenshot, .net
text effect screenshot, sakri
text effect screenshot, blog
Click here to fiddle with my toy… :ooh:

click here, or right click app for source

Naturally, the number of Planes makes it more or less impossible to animate the camera with an EnterFrame or so… It’s still cool to see the camera move around using direction keys. Perhaps with Seb Lee-Delisle’s frame by frame movie generator thingy-ma-bob…

This entry was posted on Jul 11, 2008 at 1:25 PM and is filed under . You can follow any responses to this entry through the comments feed .

0 comments

Post a Comment