Box2D Forums

It is currently Wed May 22, 2013 3:29 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Parallel computing?
PostPosted: Mon Jan 11, 2010 3:47 pm 
Offline

Joined: Wed Jan 06, 2010 4:57 pm
Posts: 12
I was wondering how much box2d would benefit from parallel computing, especially after I ran into this http://code.google.com/p/javacl/. (click on the Particle Test Demo to see a web applet manage 1Million particles. You need a fairly new GPU). :shock:
Just wondering...


Top
 Profile  
 
 Post subject: Re: Parallel computing?
PostPosted: Sun Jan 17, 2010 1:14 am 
Offline

Joined: Mon Jun 08, 2009 12:21 pm
Posts: 353
The way this engine is set up, it would be a little bit tricky to turn it into a multi-thread machine. Sometime in the future a multithreaded version of JBox2d might be made, I know ewjordan was thinking about it, but nothing (that i know of) was ever tried.

short answer, I don't see box2d doing too much with parallel computing as it was built as a single threaded engine, and all that parallel computing would do is add a whole bunch of synchronization issues.

But definitely cool, and something to ponder about.....maybe one could split up the collision detection and the solver....or do something with having a thread specifically for island and contact point resolution...hmm


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group