Dave Curry
Dave Curry is a principal and director of interactive development at POP, a digital agency.

Connect the dots with me on Twitter, Facebook, LinkedIn, Tumblr, Flickr, FourSquare, and Posterous.

Papervision 2.0 BorgEffects – Flash Version

Papervision 2.0 BorgEffects Flash Version

Yesterday I snagged Andy Zupko's super-amazing BorgEffects download which demos his new Effects branch for Papervision 2.0. It's very exciting stuff!

Since I'm not a big-time Flex user, I converted his borgEffects.as for use in the Flash IDE and decided to make it available for download. I thought it might be helpful to those struggling with Flex to Flash conversions.

Of course, I couldn't resist making a few changes by just messing around;

randomly changing the colorTransform settings onClick

using a different texture

changing the clippingPoint

etc...

To highlight the Flex to Flash diffs, I've commented my BorgEffects_flash.as like so:

  1. // the FLEX WAY
  2. //dae.load(XML(new shipAsset()), mats);
  3. // the FLASH WAY
  4. dae.load("cube.dae", mats);

To make it all hum, you'll need the latest build from the Papervision respository and be sure to point the BorgEffects_flash.fla Actionscript 3.0 Classpath to the class files in /branches/Effects/src.

Download the source files and have fun.

EDIT: I'm not sure exactly which revision of Great White this demo used, but since 2007 I'm sure a lot has changed. Proceed with caution!

This entry was written by Dave, posted on December 29, 2007 at 3:36 pm, filed under Articles, Design, Flash, Notes. Leave a comment or view the discussion at the permalink.