verdesgabika / vdrift-ogre

Automatically exported from code.google.com/p/vdrift-ogre
0 stars 0 forks source link

Game multithreading doesnt work. #26

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
As of current, using the mult_thr = 1 option, starting a game just leads to a 
car flying through the air.

Original issue reported on code.google.com by scrawl...@gmail.com on 24 Mar 2011 at 6:07

GoogleCodeExporter commented 8 years ago
Would be good if the simulation could go in a separate thread and rendering on 
it's own thread. This would give performance independence and higher fps on 2 
or more core cpu's. The simulation thread should just give output pos. & rot. 
of car and wheels which would be read in game thread so the data stays thread 
safe.
It is implemented but not working now, and far from being stable.

Original comment by Cry...@gmail.com on 2 Apr 2011 at 7:09