Bug in World.renderScene()?

Started by AGP, December 19, 2010, 04:41:05 AM

Previous topic - Next topic

EgonOlsen

Interesting...that shouldn't be possible (i know that it is, i've checked the code). There once was some code to avoid this, but it seems to be gone. I just don't know if by accident or on purpose...

EgonOlsen

Has this problem been solved now?

AGP

Sorry, I didn't notice you had posted again: no, it hasn't. When I get frustrated I tend to switch my attention to something else (imagine if I'd spent three years just stuck on that max-jpct matrix conversion thing!).

EgonOlsen

...which i still couldn't solve myself. I've no idea what max does different...anyway, the next nightly build of jPCT will handle the multiple-add-situation better, so that we can exclude that as a potential source of error. If you are still having problems then, it has to be some threading issue. As said, moving from single to dual core can make those problems obvious even if they existed for years...but never surfaced.

AGP

Thanks for the tip, Paul. And thanks a lot VT900, you were right. Egon, after removing the object once, can I add it back, then removing again without causing this?

EgonOlsen

That's not a problem. You can add and remove objects as often as you like as long as you aren't doing this during rendering.