Hi.
I am trying to achieve background resource loading in background thread.
I am using Ogre 2.2 build. I tried both builds with OGRE_THREAD_SUPPORT = 1 and OGRE_THREAD_SUPPORT = 2.
Same thing happens no metter if I am using my custom loading base on Ogre::WorkQueue or using Ogre's built in ResourceBackgroundManager class.
I just tried to load single material from material script. Always get the same error in ScriptCompilerManager::parseScript function when executing this part: if (!OGRE_THREAD_POINTER_GET(mScriptCompiler)).
Error is: vector iterator not dereferencable.
Any ideas ?
Thx
Loading resources in background thread
-
- Gnoblar
- Posts: 17
- Joined: Mon Nov 12, 2012 3:05 pm
- x 2
-
- Platinum Sponsor
- Posts: 294
- Joined: Tue Jan 17, 2012 5:18 am
- x 67
Re: Loading resources in background thread
from al2950's response on the other thread it sounds like 2.1+ does not support the old style background loading.
-
- Gnoblar
- Posts: 17
- Joined: Mon Nov 12, 2012 3:05 pm
- x 2
Re: Loading resources in background thread
It appears so.
Anyone tried to implement this on 2.1 or 2.2 version? Any code examples?
Anyone tried to implement this on 2.1 or 2.2 version? Any code examples?