As a simple addition to the original coverflow post, showing the same example but with loading images via XML.
Click here to view the updated Papervision Coverflow Tutorial.
As a simple addition to the original coverflow post, showing the same example but with loading images via XML.
Click here to view the updated Papervision Coverflow Tutorial.
There are plenty of AS3 Coverflow examples out there. Most of the examples and source I found had more options than I needed and all the extra code that comes with those features. Or you have to pay for them. I had a hard time finding a stripped down version to use as my coverflow base. Today I set out to create such a version.
Feel free to post any other coverflow examples that you have come across.
You can find the full sourceand some explanation on papervision2.com.
I wanted to share another Papervision tutorial I wrote over at Papervision2.com. This is to replace my original post in 2008 about an exploding image. Full source included. Check it out.
Over at papervision2.com I just finished a posting for a very simple Papervision 3D Carousel. Check it out. Enjoy..
Charlie
With starting up a new Interactive Agency it’s important to gather metrics about how people are using your site. I wrote this article to create some more awareness about the new Google Flash Analytics Event Tracking.
After over 4 years with no love, the new CS54 website is here. Test it out, tell us what you think. New sections will be releasing in the weeks to come. We couldn’t release too much all at once.
Carlos Lunetta was kind enough to send me his custom primitive and vertex particle classes for this blog entry. These are similar to the ones that he used for the Terra TV website. In this example that concept is rather simple. You create a primitive object (Plane, Cube, Sphere) and run a for loop on the verticles.
As shown here:
Now that you are looping through the verticles of this primitive you are now privy to information such as the x y and z locations of each point. So what can we do with that.....
One thing we can do is attach particles to it.. such as
Doing this lends itself to some neat particle field effects such as the one shown above. Of course you can mess around with the settings to optimize it for your needs.
Here is how you put it all together:
Paperbase.as
Here are Carlos Lunetta's classes for the Dome,Disc and VertexParticle
Dome.as
Disc.as
VertexParticle.as
Today I decided to create this simple example that used Papervision and the 3D physics WOW Engine. It is actually quite simple. Basically all that happens is you setup your objects for papervision (5 minutes) - setup your objects for the wow engine (5 mintues) then when you render - you just attach the movements of the WOW objects to your Papervision objects. (5 more minutes or less and you're DONE)
So taking out 3D and Papervision all together here is what is happening. Let's say you setup an enterframe and then assign a movieclips x and y positions to your mouse x and y position. SAME Exact thing happening here. Except you are attaching the x y and z properties of a papervision object to a wow object. Pretty simple! I'll take corrections if I am wrong since I have spent all of 30 minutes playing around with it.
Here is a quick sample of what goes on when rendering:
Not too hard right.
Here is the ActionScript code for creating a simple sphere boucing on the stage. Source code is below. (Basically a modified example shown on the WOW site)
Main.as
PV3DSceneWOW.as:
The paper base that I reuse:
Based off of this example
Don't forget to download the latest Papervision Great White Branch.
As far as I know there are 2 options when creating a double sided plane. Double sided meaning a different material for each side.
Option 1:
Create two planes. Plane 1 with a z sorting of 1 and the other with 0 and the rotationY of one of those planes set to 180. You could then contain this in one display container.
Version 2:
Create one cube with a depth of 0. Then you just apply a material to the front and back. OK OK OK so this is not really a Plane... but I like this approach because it allows me to more easily use things like Bend Modifier.
If anyone has a better or more improved approach I would love to hear about it.
Here is what the code for Option 1:
Here is what the code for Option 2:
Code to load MD2 files below. Anyone out there want to help create simple MD2 models that work well with Papervision - or - does anyone know of a good resource to purchase already animated models? I just wanted to get a few for some blog entry's. Full credit would be given or course. I found several models this morning but after a few hours only 1 of them was of value. It happened to be the one tied to Clint Hannaford's example. :/
Once you have a good model here is the super simple code to load it:
Yeah I know.. That's it. The hard part is finding a model that doesn't suck.
Recent Comments