work

3D and physics with Papervision 3D and Box2D

After playing with Crayon Physics Deluxe, I feel interested to check what sort of physics simulation I could build with Flash Player and some ActionScript programming. I found Box2D for ActionScript 3.0. That’s an open source port of a great physics library written in C++. I decided to mix it with a 3D engine for visual rendering. I choosed to play this time with Papervision3D.
So, I explored some cool tutorials on pv3d.org and I built my first experiment.

To try it, just use your mouse and draw some 3D objects on screen.
Click from left to right to draw cubes or from right to left to draw spheres. Last but not least, you can drag any 3D object on screen if you want.

Maybe I’ll be back with a gameplay later this week if all is going well as I make some changes and optimizations.



Share on Twitter

Discussion

16 comments for “3D and physics with Papervision 3D and Box2D”

  1. RT @francisbourre: 3D and physics with Papervision 3D and Box2D | http://tinyurl.com/8kt5a8

    Tweeted by Pablo_aSH (Pablo "aSH" Parrado) | janvier 8, 2009, 1:29
  2. really cool Retweeting @francisbourre: 3D and physics with Papervision 3D and Box2D | http://tinyurl.com/8kt5a8

    Tweeted by ptaranto (Pedro Taranto) | janvier 8, 2009, 1:53
  3. Very nice! :D RT @francisbourre: 3D and physics with Papervision 3D and Box2D | http://tinyurl.com/8kt5a8

    Tweeted by flashmech (Lionel Low) | janvier 8, 2009, 2:19
  4. Wow. Nice! Would love to see the code for this.

    Posted by ianNo Gravatar | janvier 9, 2009, 5:26
  5. If some people are interested, I will release source code maybe later this month, after i fix everything.

    Posted by Francis BourreNo Gravatar | janvier 9, 2009, 12:27
  6. It is cooool, I’m one of those people.

    Posted by DaveConNo Gravatar | janvier 20, 2009, 16:06
  7. at least, waiting for the sources, could you please post the tuts you used to create this reflexion effect :) ?

    Thanks !

    Posted by ynkNo Gravatar | janvier 21, 2009, 14:14
  8. @ynk Reflection effect is really easy to render, that’s just because it’s built-in pv3D. You have to extend ReflectionView to get it.
    Check Seb Lee-Delisle’s full explanations: http://www.sebleedelisle.com/?p=196

    Posted by Francis BourreNo Gravatar | janvier 23, 2009, 12:27
  9. i try to build a similar example but i have major problems to get it working when i have a plane with bitmapmaterial as background. The stage listeners is use seem not to work anymore. How you create the objects? Do you use stage listeners?
    thanks

    Posted by MalteNo Gravatar | janvier 23, 2009, 15:14
  10. Excellent, as usual, over years now :)

    Posted by Guillaume GuineNo Gravatar | janvier 29, 2009, 13:13
  11. it shows me error on the page. Can you check?

    Posted by 3D modelerNo Gravatar | mars 3, 2009, 15:46
  12. nice

    Posted by ozgur uksalNo Gravatar | mars 30, 2009, 21:40
  13. Hi There

    Have you seen Phun?

    http://phunland.com/phunbox/?os=Win32&version=v5.28&language=English

    or the best is OE Cake 1.1.2b
    this was a free demo but has been
    taken down now and will become
    Physicafe.

    However if you could mix MS Paint with, Phun, OE Cake, Box2D around
    Papervision what a product that would be it would be a game in itself and a fantatic product development innovation tool in a brainstorming enviroment with Johnny Lee’s whiteboard.

    Who could do that?

    Marc

    Posted by Marc CNo Gravatar | avril 29, 2009, 10:04
  14. [...] BlazeDS and Hibernate , Glidias’ thoughts on best practices for a Gaia and PureMVC hybrid and TweenPix’s Papervision3D and Box2D crayon physics are all definitely worth a [...]

    Posted by blog.custom-widgets.co.uk | The Blog | mai 16, 2009, 13:44
  15. I’d love to see the source for this, the few examples I can find for combining pv3d and box2d all seem to use outdated versions of both projects. Please and thank you.

    Posted by alan craigieNo Gravatar | septembre 13, 2009, 20:22
  16. Hi, I would be pleased if you could send me the sources of this small application, for the same reasons as alan; it is a nightmare to find some basic and interesting examples as yours. Thanks a lot.

    Posted by HadrienNo Gravatar | janvier 14, 2010, 5:08

Post a comment

-->

Recent Comments

  • Viagra ordre
  • Cialis en ligne
  • Levitra en ligne
  • Propecia acheter
  • Viagra acheter
  • Acheter cialis
  • Ordre levitra
  • Ordre propecia
  • En ligne viagra
  • Vente cialis
  • Levitra bon marche
  • Propecia en ligne
  • Viagra online
  • Buy cialis
  • Order Levitra
  • Buy propecia
  • Buy viagra
  • Cheap cialis
  • Cheap Levitra
  • propecia online
  • Viagra prescription
  • Cialis online
  • Buy Levitra
  • Order propecia