If you follow me on Twitter or LinkedIn you may have already seen that. Here’s a little explanation.
I used a new rendering engine, QuadrantRenderEngine (thanks to Zupko), recently added to Papervision 2.0. It allows to split triangles when necessary, fixing one of the major pitfalls of Papervision: the missing triangles when two objects have intersections. This problem also occurs when intersections appears in the view, in this case when a cube comes in front of another one. I can now use only 2 segments for each side and that’s why it’s so reactive (It may not work very well on some computers – mostly on vista – if so just wait for the end of the song and refresh the page). You can have a look at the old version here to compare. The only changes are the number of segments (8 for each side in the old version, 2 in the new one) and the renderer (a basicRenderer in the old version).
I used the latest Papervision 2.0 release, with 4 cameras. I also used TweenMax for all tweenings; the tweens can have a different duration based on the sound spectrum. There are usually around 40 tweens running at the same time and it was really amazing to see how they are always properly cleaned. I didn’t get any memory leak or any speed change, even after make it run for hours (if you’ve noticed anything, don’t hesitate to post a comment).
UPDATE: The source code is here.
The product is called Dragon, it’s quite experimental for the moment, but I think we will see it in a lot of applications in the next years. More info can be found on the Media Computing Group website. And for those who wants to know more about the technique behind that, there’s a pdf here and a video here
Source Binder is a revolutionnary visual framework for actionscript. It contains a lot of libraries like Papervision, Arduino, WOW (for physics), and many more. You can also easily add yours. The idea is simple : each portion of code is an visual object you can link with other objects. It’s a visual representation of our good old classes.
Remember that old Flash 3 or 4, or maybe even Future Splash Animation, at the time ? It was a revolutionnary concept, which break the traditionnal manner to do animations, websites, applications. Ten years later, all of that is still controversial, but the fact is : it changes the web, and allows lots of us to create things that were just impossible to do before. Even if you dont like Flash / Flex, no one can say the contrary.
I predict the same future to Source Binder. I already hear you, old school dudes : “it’s a toy ! Why couldn’t it be complicated like the other stuff I learn at school ten years ago ?”
Via Hebi Flash Blog