I was just playing around with Papervision3D today so I decided to make a quick and nasty 3D scene with the onAIR bus. It doesn’t get much more primitive than this. Take a cube and map on squared-off PNG files of the bus wrap. Leg 3 of the bus tour starts on September 24th in New York City!
You can get the source FLA if you want to check out code.
Lee








That’s nice…
but not very intuitive… I can’t get the bu in the position I want…
maybe something with click and drag is more user friendly
Keep up the good work!!
Actually, i think it is really cool! I am learning to use papervision3D and this example is really great!
Thanks again!
I have one question:
I think you have never spoke about ZINC and MDM Script before. What do you think: ZINC and MDM Script VS Adobe AIR?
Mirko
This example is not supposed to be user-friendly at all
Mirko, I would definitely recommend AIR over Zinc because 1) AIR is free and 2) AIR is much more tightly integrated with Flash and Flex.
Thank you!
hehe… nice demo
I really like that you’re approaching Papervision 3D more now.. I’ve been working with it for a few months now, its really exciting, the new stuff you can do with it….
My favorite at the moment is working with the new Interactive Scene Manager.
Basically lets you create movieclips and make them interactive even while mapped onto a 3D object.
Hotness!
Are you playing with the latest revs? There are some super sweet Interactive Material classes!! It’s so tempting to go haywire, I’m having to really comb over code looking for performance tweaks.
I downloaded the source .fla and can’t get it work when testing the movie.
What am I doing wrong ?
i’m with ya on zinc vs. air. The fact you can do everything without starting a separate “wrapper” app is a great benefit. And NO gross zinc script!
Haven’t checked out papervision yet. How does it compare to what Blitz Labs put together? Flash 3D Spatial Navigation.
hehe very cool.. it reminds me of a kids show i grew up watching here in Australia where the bus flew into space and that was the actual spaceship…
Next prototype is to make it transform into something
-
Scott / Microsoft.
Sorry, I had to jump in on the Zinc/AIR comments, I couldn’t help myself.
AIR is wonderful, I hope to be able to use it for a lot more projects in the future, but let’s face it. There are a lot of things that you just can’t do with AIR that you can do with Zinc. I’m not trying to defend Zinc (goodness knows it’s got flaws, I’ve seen a ton), but if you’ve had clients like mine that seem to want Flash to take them to the moon, at least Zinc gets you a tenth of the way.
JMO
hebchop
The guys at Blitz Agency are the ones working on building the papervision 3d engine. So i believe that demo you linked to uses papervision 3d.
cahlan, I haven’t done much with Zinc in quite a while. I’m just curious what is possible with Zinc that is not possible with AIR?
In my limited experience with AIR and slightly greater experience in Zinc, the documentation is night and day. Using Zinc’s help files makes whatevery I’m looking to do crystal clear. Using Flex’s Air help files leaves me scratching my head (with a shovel sometimes…) Could be a combination of getting my head around AS3 and Flex and AIR all at the same time, but IMO the documentation needs serious work.
Lee I’m just getting into AIR, and I’ve used Zinc for some things, and it is quite clear that AIR can do MUCH more than Zinc was ever intended to do, but I don’t remember seeing anything mentioned in AIR that could detect/change the user’s screen resolution and color depth and such. As well as playing WMV/MPG/MOV files (maybe moot now with the h264 addition) and until recently, opening PDF files inside the application (this would have prevented the nights of FlashPaper headaches). These are the only things I have dealth with in Zinc that I haven’t come across in AIR, but then again, I haven’t looked that hard yet…
I found mdm.script quite easy to understand in relation to AS2, but it was irritating to write code that you couldn’t test from Flash, having instead to publish a SWF that wouldn’t work so you could run it through Zinc and get a useable EXT that then had the functionality you wanted to test. Texting the AIR app from Flex was nice and simple, and the multiple window communication and web connection awareness that AIR makes possible is so many lightyears beyond Zinc’s realm that they really should not be in the same conversation together.
Awesome write up. Thanks Todd. AIR can definitely detect the user’s screen resolution and I’m not sure you would ever want an app to change it for you. Maybe for games?
A pv3d best practices on the topic of performance would be super if that’s part of your new job descript sir lee. I can create great looking pv3d animations, so long as they’re the only thing happening on stage = ]
Lee, I’ve used it on our Annual Report CD-ROM, just to detect if the user has to low of a resolution ( tho gameing is WAY more fun, but I really prefer to only have games go fullscreen if they match the resolution or exceed it, I MUCH prefer games stay in moveable windows that allow me to still see the rest of my nice big desktop, also without the distortion that happens on the widescreens). I really liked Zinc’s ability to grab an array of the system’s available resolutions ([xRes, yRes, colorDepth}]) so you could check if you need 1024×768 and the user has 600×800, store their value in an array, cylce through the available values, change it to the lowest acceptable one, and return it to the original setting on exit. (I was amazed how many people are still using 600×800, even on 19″ flat panels!?!?!?!) If the user has an acceptable resolution nothing happens. I just cannot seem to cram what they always want into a 600×800 window…
I will say I expressed my frustraton with Zinc for a small dis-harmony in this particular feature, you can DETECT colorDepth, but you cannot SET it, and you can SET monitor refresh rate, but you cannot DETECT it which makes 100% reliability in adjusting the user’s screen and return it to where it was…
I know it wasn’t your intention, I’m just thinking outloud. If the bus interaction was intended to be user-friendly, I suppose the user would expect the Camera3D focal-point to gravitate towards the area of the bus they mouseOver. And then the zoom factor would likely be the up/down arrow keys. THAT would be an interesting, if not tough, interactive scene to script! I can’t begin to think how the coordinates would be mapped to the DisplayObject3D. Hrmm.
Are there already 3d games made with Papervision? Are 3d games with flash realistic? I only did some tutorials in Papervision, but the performance was not very good.
Are Papervison games possible?
You tell me?
http://carlosulloa.com/
{not a game, but it shows the potential!!!
Hi Lee, I’ve tested your .fla on my mac this is the output i got from flash
1119: Access of possibly undefined property NONE through a reference with static type Class.
i get the following error message:
1119: Access of possibly undefined property NONE through a reference with static type Class.
1067: Implicit coercion of a value of type org.papervision3d.materials:MaterialsList to an unrelated type org.papervision3d.core.proto:MaterialObject3D.
1137: Incorrect number of arguments. Expected no more than 8.
what am i doing wrong?
I tried it too and get this Output:
1119: Access of possibly undefined property NONE through a reference with static type Class.
Is there any way to detect the screen resolution change? I.e. when I start the application the screen resolution was 800×600 and after some time the user changed it to 1024×768 by keeping the application alive. Is there any way to detect this change in the application and redraw the components accordingly?