Flash 9 PV 3D Example : 3d bumpmapped objects demo.
Really, you have never seen this kind of realtime 3D in flash before. And it’s all made possible by PaperVision3D. Some time ago I have joined the Papervision core team, (Carlos Ulloa (Founder), and John Grden), but silently since I had nothing to commit yet. Ever since I joined there was one primary focus, and that was : Materials. In it’s current revision papervision has no shading, and 3 materials. What I set out to do was to try and make PV3D more realistic, be a bit faster, and have some easy to use Materials in there.
Since we started Carlos and me have been coding away to be able to implement new Materials, and getting stuff cleaned up afterwards. Today we had planned a demo of some of the new materials. Due to business with other things the last weeks, I didn’t really get there yet, but instead did a whole new material tonight. And I just have to post it. 3D Bumpmapping. This is first version I have of bumpmapping, and when I finally got to run, a warm feeling of happiness took hold of me. It’s there. It’s working….
3D Bumpmapping sphere with earth texture:

3D Bumpmapping rhino, with the same texture, just to show, no tricks.

(both might take some time to load, be patient, and make sure you have Flash 9).
The great thing about this kind of bumpmapping is that we can now partially support normal mapping (we can not support DOT3, yet). This trick, widely used, is applied to a low poly count object (like pv3d can handle), to make it look like a thousands of poly object. Since the bumpmapping has a constant cpu cost, this could mean a whole new level of 3d in Flash.
Read this article on normal mapping at wikipedia.. Unfortunatly, the examples above do not employ the trick, but I’m hoping for someone to supply me with a model, texturemap and normalmap soon! ![]()
Bumpmapping is only one of the new materials, there are more to come; expect more demo’s soon. The idea is also to support light and material setups straight out of collada; you go into your favorite 3d package of choice, export collada, and import it by just loading it. We are hoping to get all this done before going out of beta.
This is just a preliminary version, so some things are wrong : the environmentmap isn’t cubic. We have cubic environment maps, but I couldn’t get them to work with this yet. So the reflection follows the camera at the moment, it’s the best I could do on a short notice. We will get this in the new revision of PaperVision3D as soon as we have it all cleaned up. In that revision there will be a whole lot more material goodness.
If you want more info on this or have models, mail me at ralph@unitzeroone.com. Papervision is here:Papervision3d, be sure to join the mailing list.
To make this thing even more epic I’ll do some credits
Thanks to the following people, who helped getting this done:
Carlos Ulloa : Always kind to take some time to help think, or change something, coding, PV3D Founder, and the one good enough to make it opensource.
John Grden: Technical and moral support!
Mr.Doob: Putting my mindset back on the right track.
Jim (blackpawn) Scott : RGB info on normal maps.
Related posts :












42 Comments, Comment or Ping
mr.doob
\o\ /o/ \o\ /o/
*\o/*
Feb 16th, 2007
Oscar Trelles
Outstanding, great job!
Feb 16th, 2007
John Snavely
really amazing work. hats off!
Feb 16th, 2007
Justin
holy heck, that is awesome!
Feb 16th, 2007
Ryan Taylor
Very cool. You guys are doing great work with that project.
Feb 16th, 2007
blackpawn
it’s surprising how fast it runs. great work, it’s very exciting!
Feb 16th, 2007
Matthew Hare
Now thats what i’m talking about! Great work old chap.. flash is looking awesome these days..

Feb 16th, 2007
McVirusS
Hey Ralph, the rhino links to a voxel landscape. Not to the Rhino :).
Feb 16th, 2007
partlyhuman
HOLY F—!!! If we could use normalmapping in papervision….
this is incredible!
Feb 16th, 2007
nyls
wow, echt heel erg vet ..
PV3D is a milestone for flash .. Keep it up
Feb 16th, 2007
Tink
Any stopping Papervision3D?
Great work!
Feb 16th, 2007
Rick Curran
Wow, that is pretty amazing. So much for Flash not being able to do *real* 3D.
I’m off to go check out Papervision3D…

Feb 16th, 2007
James
Absolutely brilliant, much kudos to you mate!
Feb 16th, 2007
Pete
Thats not just mental - its enviro-mental. Can pv3d get any better? Big up
Feb 16th, 2007
JBOY
Awsome dude
Feb 16th, 2007
Michael
Totally agree with you - this work does signify the a new era in Flash development.
Must feel good to be a pioneer! Congrats!
Feb 16th, 2007
Josh
Holy crap. I’m still blown away every time I see what you guys are up to.
Feb 16th, 2007
Didier Brun
Wow ! You rock Ralph, it’s very impressive.
Feb 16th, 2007
Zeh
That is great. So I take it that you’re creating a multi-pass material/shader definition for PaperVision 3D then? I can’t wait to see what’s added to PV with this.
Who would have guessed material shader knowledge would ever become an asset for Flash developers/designers. This is not just your regular model in 3d anymore.
Feb 16th, 2007
Steven de la Torre
Yeah dude, all of you guys fucking rock.
Feb 16th, 2007
Josh Tynjala
My hats of to you, sir, and the rest of the PV3D team. This is monumental.
Feb 16th, 2007
Ralph Hauwert
Thank you all for the comments; great to get this kind of support from the community. As a team we will work on on intergrating this, so you can start playing around with this as soon as possible. Make sure you join the mailing list. Thanks from the entire team!
Feb 17th, 2007
Prakaz
Hi,
This is really cool stuff. I spent a lot of time drooling over the nasty 3D
My IE 6 crashed when playing with the globe once. Have not been able to reproduce the crash though.
Feb 17th, 2007
bartek
let’s hope in AS 4.0 or something like that, there will be 3D engine built in flash player. Althought the Papervision gives amazing effects, don’t forget it’s only Acrion Script which is very slow (comparing for example to Director and it’s Lingo not mentioning about C++ and OpenGL). But for low-poly objects it’s great
Keep working 
Feb 17th, 2007
Sander
Jawdropping cool..
Feb 19th, 2007
Owen van Dijk
Zo ik kom ook eens onder mijn spreekwoordelijke steen vandaan

Nice work…keep em coming
Feb 23rd, 2007
Curtis J. Morley
I am blown away by this amazing demonstration of what Flash can do. The question now is - what is left for Flash to do? With 3D added to the arsenal Flash is pretty much ready to be a true platform for the next generation of development.
Feb 25th, 2007
Ben
Wow….that is some amazing stuff!
Feb 28th, 2007
JerryBrightonhammer
What in the name of Jerry Brightonhammer was that all about?
I dont’ know but it doesn’t make sense to me.
Apr 1st, 2007
Karl Sigiscar
Now it’s up to Adobe to add hardware acceleration to Flash Player 10: Direct 2D/ 3D with DirectX on PC and OpenGL on Mac/Linux.
This will provide a much faster framerate. Even if Adobe does not come up with a 3D engine in Flash, Ralph Hauwer et al will be able to create a hardware accelerated version of PaperVision. Now, will Adobe do it ?
With AS3 and the AVM2, hardware acceleration is the only thing we miss.
Apr 5th, 2007
RaymonWazerri
Hey,
I love what you’e doing!
Don’t ever change and best of luck.
Raymon W.
Apr 20th, 2007
Sanford Rosser
Too cool. I can imagine a lot of uses for this.
May 1st, 2007
Rachunkowość
It’s really amazing!! I just can’t believe how you managed to create this ambient lighting!! and it really works out! Respect!!
Jul 2nd, 2007
ceviri
Outstanding, great job.
Jul 15th, 2007
emlak
You guys are doing great work with that project.
Jul 15th, 2007
emlak
You guys are doing great work with that project.
Jul 15th, 2007
ceviri
Totally agree with you - this work does signify the a new era in Flash development.
Jul 16th, 2007
Emlak
Really amazing work. hats off
Jul 16th, 2007
Tercume
Very cool. You guys are doing great work with that project.
Jul 16th, 2007
Pedram
wow.. ouch; man it really hurts when your jaw hits the floor like that…
Aug 2nd, 2007
Bill Perry
awesome, thanks for sharing. looking forward to future posts on bumpmapping with PV.
Nov 24th, 2007
Tavitooo
Interesante alternativa en 3D, es lo nuevo que nos espera en el mundo virtual, las webs seran en 3D
Apr 26th, 2008
Reply to “Flash 9 PV 3D Example : 3d bumpmapped objects demo.”