Papaervision 3D Programming Tutorial - Explodo-logo
See how to create a disintegrating image in 3D with Papervision. Demo and source code included.
VIEW THE DEMO
DOWNLOAD THE CODE
There was a Papervision demo I saw not long ago (and unfortunately I can't find it again) that created a digital clock, where each change in time was shown by the changing digits breaking down and flying away in little pieces. It was really cool, and I wanted to do something similar for myself.
The demo creates a number of individual planes, each one textured with a small section of an embedded image. Each column of the overall image sequentially decomposes into its individual planes and flies off the side of the screen. The actual movement is handled by the Tweener class (I never realised just how cool Tweening was until now), and after a while the whole process repeats itself.
While this demo shows an image being separated column by column, the code could easily be adapted to "blow up" an image in one go, flip each plane around to reveal another image (kind of like those dynamic billboards that so easily catch your eye), or even to rebuild the original image from each individual plane flying back onto the screen.
Here I have used the Plane class to model each individual element of the overall image, but I suspect that using the Particles class would allow for even better performance. I'll try that in a future demo. For now though using the Plane class, and a 20 x 20 grid of individual elements, produces an effect with reasonable performance.
Go back to Papervision Tutorials

-
Papervision 3D Programming Tutorial - Creating a Papervision Component
| By mcasperson | in Programming
See how Papervision can be packaged into a SWC Flash component, which allows you to drag and drop Papervision into ...
-
Papervision 3D Programming Tutorial - Environment Mapping
| By mcasperson | in Programming
Learn how to implement environment mapping with Papervision....
-
Papervision 3D Programming Tutorial - Terrain
| By mcasperson | in Programming
Learn how to create a realistic looking terrain mesh and texture that can be imported into Papervision. Demo and so...
-
Papervision 3D Programming Tutorial - Texture Smoothing
| By mcasperson | in Programming
See the difference texture smoothing can make to your Papervision 3D applications. Demo and source code included....
-
Papervision 3D programming tutorials - Clipping & Culling
| By mcasperson | in Programming
See how to use Papervisions clipping and culling options to improve performance and visual integrity. Demo and sour...
-
XA Transaction - Solution for Transaction More Than One Database | By H4d1 | in Programming
Have you ever think that it's too difficult for making database transaction in two different places (or databases) ...
-
Javascript functions for : trim, right trim, left trim, no Apostrophe, is Empty , is Digit , VarChar To Number , is integer , check Is Zero , Get Que | By xxris | in Programming
Javascript functions for : trim, right trim, left trim, no Apostrophe, is Empty , is Digit , VarChar To Number , i...
-
How to access and use a Window's command line | By MaxwellPayne | in Programming
Learn about the Window's command line in DOS and how to use it....
-
How to Learn to Program Your Computer | By dsj8760 | in Programming
This article is about learning to program a computer. It is a general article giving tips on how to learn about pro...
-
Jailbroken iPhones get RickRolled | By explorer | in Programming
First iPhone worm, attacks via SSH and does the classic rick roll gag on the user....
-
Away3D Programming Tutorial - Environment Material | By mcasperson | in Programming
See how to use the EnviroBitmapMaterial to create a real time reflective look in Away3D. Demo and source code inclu...
-
Away3D Programming Tutorial - Primitives | By mcasperson | in Programming
See how easy it is to use the build in primitive shapes supplied with Away3D. Demo and source code included....
-
Away3D Programming Tutorial - Mouse Interaction | By mcasperson | in Programming
Learn how to respond to mouse events in Away3D. Demo and source code included....
-
Away3D Programming Tutorial - Effects | By mcasperson | in Programming
See how you can add the standard Flash filters to any Away3D object to easily create advanced effects. Demo and sou...
-
Away3D Programming Tutorials - Getting Started | By mcasperson | in Programming
Learn how to get started with the Away3D Flash 3D engine with this detailed, step by step tutorial. Demo and source...








No comments yet.