- We design and build extraordinary applications for companies looking to make the next great idea a reality.
- learn more
Papervision3d 2.0 (Great White) in Flex 3 (Part I)
I'm developing a prototype that loads GPS coordinates/time of flights from an external file into Flash player in a browser and renders them at runtime using PV3D over an interactive Yahoo Maps API.
This prototype is in part being used to test performance of Flash Player running the excellent PV3D. So far it holds pretty good.
PV3D has amazing capabilities. That said, it's also a work in progress so the API is not super clear, but it's well worth the hassle. It's open source so you can always look at the source code to figure out something troublesome. It doesn't take long to get started either because of the well documented common steps.
Of particular help was http://papervision2.com/ where you can find all the necessary first steps to take like:
- Extremely helpful base template that sets up all the basic elements that you can easily build on
- And the priceless tutorial that sets you off on 3d interaction path (i.e. the fun part).
On this prototype I was primarily working with LineMaterial and MovieMaterial (for interaction), then Line3D / Lines3D which proved very easy to build but not so easy to manipulate.
For such purpose it is a good idea to get to see DisplayObject3D class and understand how containers work in PV3D. More about that in Part II.
Performance can be fine tuned but it's necessary to keep in mind at every line of code that there is a ton of processing going on all the time and you want to build and manipulate your objects sparingly because otherwise you will see your browser locking in a millisecond.
Part III will cover collisions between Yahoo Maps AS3 API and PV3D. In one sentence, there is nothing you can not solve through a well arranged series of Events and this is applicable to any AS3 situation.
Part II next week.
Topics: 3d, Flash, Flex, papervision3d
Comments: 2 so far
Leave a comment
About Pathfinder
Recent
- Firefox Plugin Malware ‘Trojan.PWS.ChromeInject.A’
- Pathfinder releases version 1 of the its Flash Platform microsite (codename Mica)
- Pimp my Rails: Five Plugins & Gems to Make Rails Better
- iPhone: Using Pre-processor Directives for Device Testing
- Subtle OpenGL Projection Matrix Difference Between iPhone Simulator and Device
- App Security: Throw Out the Org Chart!
- Pimp my jQuery: Five plugins to replace the features Prototype and Scriptaculous users expect
- Thanksgiving 2008: What We’re Thankful For (In Rails)
- iPhone SDK: Testing with TextMate & GTM
- GWTQuery - JQuery-like Syntax in GWT
Archives
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006


The institute I’m working at developed a similar tool with Google Maps:
http://radar.zhaw.ch
…shows realtime airtraffic over Switzerland using data taken from the airplane transmitter (using a DIY antenna on the institute’s roof).
Comment by Javier, Friday, July 18, 2008 @ 3:12 am
Hi Javier,
Thanks for the link, it’s great! I would love to see more work like that where data feed is coming from other places than today’s standard ones.
Reading a live radio signal from an airplane and rendering it at runtime in flash sounds like an obercool system.
Comment by Sasha Dzeletovic, Friday, July 18, 2008 @ 2:02 pm