Sjeiti

Papervision3D

Sjeiti @ 24/02/2007 19:37 in actionscript, code, flash

Actionscript 3 is easy as pie, it just looks a bit scary at first. As I mentioned earlier I had a look at Papervision3D (a 3D engine for Flash) and decided it would be a good oppurtunity to take up as3 (and test some of my filters in 3D at the same time).

After some fiddling around I noticed that the only primitives in Papervision3D were a plane, a paper plane (whieeee) and stars (?). No cube, no sphere… hey I can do spheres. So next in line are: cylinder, cone, torus and cube. And if I feel bold I might try some polyhedra.

So that’s my little contribution to the Papervision3D project: coded 3D primitives. It’s not much (especially not compared to what this person does) but as they say here: all little bits help.

-update-

… and that’s four primitives (well, actually it is three: the cone is really a cylinder).

comments

5 comments
  1. C4RL05: 25/02/2007 19:46

    Thanks, Ron. It helps a lot!

  2. Sjeiti: 28/02/2007 12:35

    No problem… that’s what open source is for.

  3. Michael Gregor: 20/03/2007 05:56

    Will you share your source for the primitives?

    thanks!

  4. Sjeiti: 20/03/2007 09:05

    It already is: you can download them through the pv3d svn or here

  5. xero / the.fontvir.us: 09/06/2009 23:11

    are yew feeling bold yet? i need some polyhedra action! ;D

Leave a comment: