No Clean Feed - Stop Internet Censorship in Australia
« how about an xsd to as3 class generator?
» marshalling as3 from xsd, continued

3d, AS3, Flash, Flex

papervision 3d graph example with view source enabled

04.24.08 | 2 Comments

Here is a little example of the 3D graph as per my earlier post, with randomly generated data.

My URL scheme for this blog messes up the right-click ActionScript View Source option (virtual versus real paths), so you can find it here. (I’m sure there’s a way round that but I really can’t be bothered working it out.)

I had to enclose my graph code in an thin IUIComponent-implementing Flex-friendly class .. the main gist of it is in the PV3DGraph class. Note that ConcreteGridTerrain is for example purposes only … in my real work project I made an SQL-driven data source (it was an AIR project) that implemented GridTerrain.

Enjoy. The PV3D class is part of my AS3 library on RIAForge (checkout from svn, I haven’t put it in the release yet). Any questions or corrections, let me know in the comments. The code is pretty slapdash and there are no inline comments … what you want spoon feeding now? : - )

related

2 Comments

have your say

Add your comment below, or trackback from your own site. Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

:

:


« how about an xsd to as3 class generator?
» marshalling as3 from xsd, continued
Close
E-mail It