11836
Bugs / NPE in world.renderScene()
« on: June 20, 2005, 10:15:00 am »
Well, jPCT is not thread safe, so i wouldn't consider this behaviour as a bug. You'll most likely run into trouble like that whenever you are manipulating the world or objects while rendering them.
I suggest to use a kind of queue and process it in the "render"-thread or do the synchronization between your threads yourself (i.e. wait with manipulating the world until the renderScene() has finished).
I suggest to use a kind of queue and process it in the "render"-thread or do the synchronization between your threads yourself (i.e. wait with manipulating the world until the renderScene() has finished).