This Christmas I am living in Canada whilst most of my friends and family are back in England or elsewhere. So I decided to make a virtual Christmas card that I could easily and quickly send anywhere. So here’s one for the reader(s?) of my blog:
You can click on the card to flip it over and read the message on the back but remember to flip back and see how the snow stacks up on the figures in the foreground… It’s not exactly realistic but I like it :)
I managed to put the whole thing together in about a day (which didn’t stop me being about a day late sending it out!) thanks to a bunch of open source projects. So massive thanks to the authors of and contributors to:- Papervision for the 3d (although thinking about it, I could have possibly tried to do something this simple using the new “postcards in space” 3d of the flash player 10).
- Flint particle system for the snow (and I’m hoping to do more with this engine soon – it’s really nicely put together).
- Pure MVC for holding it together.
- Code Igniter for the backend (so I can send different cards to different people).
- GTween for the tweening.
- And also to Icon Drawer for the icons who are standing in the foreground of this card.

4 Comments, Comment or Ping
I have successfully made a two sided plane in Papervision and used SWFs in movie materials.
But, if the SWFs have objects instantiated offstage or have objects animated to move offstage, the display in Papervision continuously tries to rescale the image. And those objects continue to be visible as they leave the stage.
I know very little about Flint. I assume it instantiates particles offstage in an emitter?
Did you have a similar problem with this card?
March 27th, 2009
I have had a similar issue before. If I remember correctly, the solution is to pass a Rectangle in as the 5th argument to your MovieMaterial constructor. This sets the size of the material and prevents papervision from trying to calculate it itself.
Hope that helps,
Kelvin :)
March 27th, 2009
Kelvin
Thanks for tip. Rectangle worked for me.
I have tried to replicate your card using the examples from Flint, but in all cases the particles do not display in Papervision. I think at the moment Flint/PPV integration goes in the "insufficent knowledge" category.
BTW is that a view of Scottish mountains?
March 30th, 2009
Hi Martin,
Glad the rectangle helped :)
Re. the flint/ papervision not working - did you check through the 3d examples that come with Flint:
http://flint-particle-system.googlecode.com/svn/trunk/examples3D/
? I think I started from one of those...
The view is across the arrow lakes in Revelstoke, BC, Canada... Not too far from Scotland :p
March 30th, 2009
Reply to “Happy Christmas and Happy New Year!”