Closed GoogleCodeExporter closed 9 years ago
Original comment by scrawl...@gmail.com
on 22 Mar 2011 at 12:28
Original comment by scrawl...@gmail.com
on 23 Mar 2011 at 5:11
I started work on this. Basically what I did, in SceneInit.cpp / App::NewGame()
I do the loading part in a thread now, so it's possible to render a loading
screen in the mean time.
However, I'm stuck on a strange segfault that always happens when creating the
ManualObject for the car body. I have no idea why this is happening, at the
moment. Maybe some thread synchronisation issue - will have to look into that.
Original comment by scrawl...@gmail.com
on 25 Mar 2011 at 10:04
So far i tried it is not possible to do i like so. You can't create anything
for Ogre in other threads.
The loading message could be done like in editor (F4,F5,F8 displays info first
and after Save,Load,Update). It is just one frame skipped and shows overlay and
after this, the actual procedure is called (and stops rendering until it's
done).
Original comment by Cry...@gmail.com
on 27 Mar 2011 at 7:16
I will try with another approach.
I will do everything in the same thread, seperate the different loading steps
(vdrift, terrain, car...) into different methods and call only 1 of them per
frame. Then I update the loading screen and display the next step.
Original comment by scrawl...@gmail.com
on 27 Mar 2011 at 10:40
Fixed in latest revision.
Original comment by scrawl...@gmail.com
on 27 Mar 2011 at 2:15
Original issue reported on code.google.com by
scrawl...@gmail.com
on 22 Mar 2011 at 12:28