Archive for the ‘Lab’ Category

Papervision3D + Jiglib Dice Demo

June 1, 2009

Papervision3D + Jiglib Dice Demo

This demo was made shortly after the initial release of Jiglib. It was a study of how far you can push realism in the sence of rendering and animation. Here CompositeMaterial is used with a BitmapMaterial and a GouraudMaterial. This is much faster then using a ShadedMaterial. All you need to do is modify the GouraudMaterial to use a transparent light map. Andy Zupko’s ShadowCaster is used for casting the die shadows. Jiglib is used for the 3D physics, also slightly modified to facilitate fixed timestep. Unfortunatelly the end result is still far from the desired 60fps. Hit spacebar too see the stats, check it out.

UPDATE: Something troubled me when checking the performance in the browser with Flash Player 10 compared to Flash Player 9. On my machine FP9 ran at approx 40fps but FP10 hardly reached 25fps. Changing the wmode from “direct” to “normal” fixed the performance issue in FP10. Especailly in Firefox the performance difference is significant. Still on my machine FP9 seems to perform slightly better then FP10. Mental note: next time take more care in setting the proper wmode.

Endless Interestingness

February 4, 2009

endlessintrestingness

While playing with FlickrAPI, we came up with a cool way of exploring the Flickr interestingness. It quickly became an addiction. You can view it here, we hope you will enjoy it as much as we do.

Text extrusion and triangulation experiments

January 7, 2009

extrusion

It seems that these days everyone is working on extrusion of some sort so I thought I post my experiments before it’s going to become yesterdays news :)
(more…)

Flash Player 10, quality and speed

December 14, 2008

Flash 10 panorama

Ralph Hauwert has recently revealed some of his magic showing off the shading power of flash player 10. I was really wondering about the texture quality of the new 3d goodness so I’ve put a small skybox demo using Ralph’s branch of papervision for fp10 and this stunning shot by Roger Taylor this panoramic shoot we did of an landscape installation by Anne Walk.

(more…)

Fog in Papervision

May 30, 2008

This little experiment is a proof of concept of fog using papervision’s render layers and the color transform object. This would make a lot of sense for the frustum camera where the culled triangles wouldn’t just pop out of void but would nicely fade in. Also to my surprise there is almost no performance penalty for the fog.

Take a look here or download the source.
Other interesting effect is using alphas on the render layers. 

Papervision shaders + perlin noise = water ?

May 20, 2008

I’ve been playing with perlin noise and have created something that reminds me of raging ocean or something a bit less natural, that is moving blue mountains :)  see for yourself.

VectorVision = Vectors in Papervision3D.

May 16, 2008

VectorVision - Vectors in Papervision3D

For the coming soon teaser on our website, we needed crispy rendered text. Because Papervision3D is bitmap based and therefore not very good at rendering text, a nice extention would be to render vectors in 3D directly in Papervision3D. A good starting point is the beautiful Five3D engine by Mathieu Badimon. So, what I’ve done is I ported his fonts into Papervision3D. And since Mathieu also released a font conversion tool, you can create Five3D fonts yourself from any font installed on your machine! Check the 3D font example here.

Then I thought; if I can draw vector fonts in 3D, I could draw any vector shape in 3D. And what better input format to use then SVG? Lucky for me I didn’t have to write an SVG parser for AS3 because James Hight has done it already and released his source code. He has since then updated his code to support many more features of the SVG format but I haven’t had the time to implement it yet. Check an example of an imported SVG into Papervision3D here.

To cut a long story short; download the source code and make something beautiful!. And don’t forget to send us a message.

Box2D Hourglass

January 24, 2008

Box2D Physics

It has been raining physics engines for the past few months and i’ve been eager to experiment with physic because you can do some really cool stuff with it. Drag the hourglass to turn it around, have fun!

Flash tagcloud

January 20, 2008

tagcloud.jpg

A 3d-ish tagcloud effect using the oldschool starfield effect. We were going to get the tags from a feed but we didn’t manage to find any “tag” feeds so the tags are hard coded for now.

Flash Sequencer with Popforge

January 13, 2008

Flash Sample Sequencer

We were working on a website project for which we wanted the music to be sequenced in Flash rather then loading an mp3, which would allow us to do realtime manipulation of the music sound and bpm. The logical place to start in that case is the wonderfull Popforge Library of André Michelle and Joa Ebert. We needed a sequencer engine to play our music in our project and a GUI to create the patterns in as a production tool.

(more…)

Lines in 3D

December 17, 2007

Lines 3D

Inspired by the wonderfull Audi A5 website, we set upon extending the Papervision 3D Lines3D Classes. We added perspective and fake shading to the line segments, while enhancing performance keeping it usefull for a website. Have a look >>

Animated Panorama

December 17, 2007

Animated Panorama

This is a prototype for a project we were working on which unfortunatelly got cancelled. Here we combined 180° panorama photography with camera movement. Click and drag to look around, use your arrow keys to animate and zoom in/out. Have a look >>

2D Psychedelics

December 17, 2007

2D Psychedelics

As an exercise we recreated some 60’s Op Art works in AS3 and made them interactive. The most difficult thing was to analyze the originals without going insane. Version 1, Version 2, Version 3.

Sound analizer in 3D

September 10, 2007

Sound analizer in 3D

Actionscript 3.0 has many new exciting features such as real time sound analysis and so fast that even 3d is an option. Great thanx to the papervision guys for making it possible! Have a look >>

Actionscript 2.0 vs 3.0

September 1, 2007

Actionscript 2.0 vs 3.0

So how much faster is actionscript 3.0 than its predecessors? Well a lot! See for your self: AS 2.0AS 3.0. In this simple example AS3 is about 6 times faster than AS2 but there are situations where it could be up to 100 times faster. This truly is an amazing speed bump for Flash.