Multi-Threaded programs

Official forum for the Chipmunk2D Physics Library.
Post Reply
nuclearnova
Posts: 2
Joined: Mon Jun 30, 2008 10:03 am
Contact:

Multi-Threaded programs

Post by nuclearnova »

First, I want to thank you for this great library! I'm using it in my current game and I'll definitely post some sort of info here once I make a little more progress (I've been working full-time on it for a month so it's maybe half way done)

My game uses the chipmunk engine to simulate fluids, and as you would expect, the more particles the better. What would you recommend for multi-threading? Would it be safe to make a separate thread for rendering while the physics engine is working in the initial thread, or could this lead to problems (where the physics thread temporarily changes body->p values at the same time as the graphics thread tries to read them to render). Is there any chance the chipmunk engine will eventually use two cores by itself? I would be willing to pay for this feature since my game is going to be shareware. Should I not bother with multi-threading at all?

Thanks for any advice

Jake Leveto
Nuclear Nova Software
Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests