Papervision experiment

My last post left me asking myself a few questions. For example I have seen some really great examples of papervision3d sites that are created like an environment. The obvious choice for do this is with more more 3D, but that immediately becomes a system hog, plus adds to load times. So I wanted to find simpler ways of creating that feel. This example does a few things to add to that feeling.

The first thing I did was add “shadows”. While papervision3d doesn’t currently cast shadows, (and when it will, it’ll bog up the system so we need other ways) , I found a simple way of achieving them. What I did was, in photo shop created a image of my shadows and then saved it out as a .png with transparency. This is what it looked like:

tyler-egeto Papervision-3d

I then used that images as a texture on an additional plane I added to the scene. Because the image is transparent all we see is the shadow, so it doesn’t look like a plane. This also allows me to use a regular image as the back ground and we can see it through the shadow plane. The background image is not a 3d object, so it’s not as heavy on the processor. Of course this isn’t ideal for every situation, but often this could do the trick.

Another addition to this example is the control of the objects. The further you move away from the center the faster they spin. There is a “box” where the mouse will not effect the rotation at all.

Overall it adds up to a fairly big improvement.

You can contact me on Twitter.

Recent & Popular Articles

Browse All >