tnSuperman tanktn oParticles uExtrusion j3d sandy flExtrusion fuelyoursenses meshCam bufferSnake dMap2 dMap pv2 cursorFire opticks faceGame FPSnake pv preOpticks painty youtuber fractalFIngers 2dbals

February 20, 2010

Extrusion shapes in Papervision

Filed under: flash — Tags: , , , , , , , , , , , , — Brandel Zachernuk @ 1:51 pm

As part of the early phase of experimentation in a potential project, I started fiddling with creating custom geometry in pv3d, rather than tweaking the vertices of existing primitives.    The results so far aren’t perfect, but they’re looking good:


I’m not sure whether this is re-creating functionality that other people have already put into papervision, but it was a lot of fun! There are some issues with shaded materials, but so far I have bitmap- and colour materials displaying and it’s looking good.  You can try it for yourself!  Like the pale text says – click in the window to add a vertex, press space to close the shape.  It seems to work even on pretty low-powered machines, so give it a try!

Get Adobe Flash player


  1. Hi.

    looks great! This is the effect I am after. Could you please provide a link to the code? or provide some hints?

    many thanks


    Comment by Farid — May 22, 2010 @ 7:53 am

  2. Hi Farid, Thanks! I’m quite pleased with it. After looking around a little, it sounds like Away3D has a built-in extrusion package, described here:

    Have you considered using that? According to benchmarks from May 2009 the two engines were performing on reasonably even ground, but Away has a lot more stuff built into it from what I can gather. I’d love to hear about what you’re using it for!

    Comment by Brandel Zachernuk — May 23, 2010 @ 10:49 am

  3. [...] back in the days of Flash player 10, I started looking into different technologies available for how to draw extruded shapes. At the time, the Flash player could only [...]

    Pingback by Pseudo-extrusions in Away3D « — February 1, 2012 @ 8:27 am

RSS feed for comments on this post. TrackBack URL

Sorry, the comment form is closed at this time.

Powered by WordPress