Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon May 21, 2012 12:53 am 
Offline

Joined: Fri Oct 14, 2011 12:10 am
Posts: 14
Hi there,

I'm trying to multi-thread the collision detection. I do have the code in place (using pthreads on Linux), based on MultiThreadedDemo. While the results are correct, it doesn't multi-thread unfortunately. I tracked it down to the SpuGatheringCollisionDispatcher not supporting proxies of type GIMPACT_SHAPE_PROXYTYPE and SOFTBODY_SHAPE_PROXYTYPE. It hence dispatches a single threaded PPU fallback. I tried adding these proxy types to the supportsDispatchPairOnSpu() method. There's no error but it fails to detect any collisions when I do that.

Is there any way to multi-thread these shape types?

Any suggestions would be much appreciated.

Regards,
Christian


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

All times are UTC


Who is online

Users browsing this forum: hmz, Majestic-12 [Bot] and 2 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:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group