BEPUphysics v1.2.0 released!

Discuss topics related to BEPUphysics or physics engine development.
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: BEPUphysics v1.2.0 released!

Post by Norbo »

Hey norbo just out of curiosity what version of bepu should I use when porting my games to monogame?
The dependency free version would be the best bet for true cross platform usage. If you only use it for the SharpDX/WinRT part, the SharpDX fork could be more convenient (at least math-wise).
Also I am currently moving many of my games to windows 8 metro which does not have the "Thread" class, what should I do to bepu to get it working with the new windows 8 threading model. Have you looked into that at all?
There was a discussion about it before, but I still haven't looked into it much.

For threads specifically, assuming you don't run into some other missing feature, you could probably use something like the ThreadManagerTPL which uses a pre-existing thread pool. Creating a custom IThreadManager to give to the engine is pretty simple- it just needs to be able to handle for loops and individual tasks.

(If you wanted, you could just remove the AddThread, RemoveThread, EnqueueTask, and WaitForTaskCompletion functions from the IThreadManager definition. That would make it a thin interface around any arbitrary threaded forloop provider. The engine itself doesn't use any of those methods; AddThread and RemoveThread are called by the user but are unnecessary when based on a preexisting thread pool and EnqueueTask/WaitForTaskCompletion exist solely for legacy support and are never used by the engine.)
Also do you have an xna dev account? I have my game in review (which uses bepu) and its last patch has been in review for 2 weeks and still not gone up...
If I can find some time :)
Danthekilla
Posts: 136
Joined: Sun Jan 17, 2010 11:35 am

Re: BEPUphysics v1.2.0 released!

Post by Danthekilla »

Cool thanks norbo, if you get a chance here is my game. It's just a patch but is taking forever to get though review (the whole area is moving slowly at the moment).

Blockworld review link :
http://catalog.create.msdn.com/en-US/ga ... 947&type=1

If I get a nice threading wrapper for windows RT working i will post a copy in a fork on codeplex.
Post Reply