Hello everybody,
I've animated mesh (walking person) with 2000 frames. I need to use this character in my visualization scene in multiple instances. I'm loading this resource file using sceneManager->getMesh("filePath") method. Let's say we have loaded file "man.x" so it is stored in MeshCache and everytime when we will load another one instance, it will check whether this file have been already loaded. By the other words the same file is loaded just once.
Right now I've inserted two animated people into scene. The first man iterates frames <100,200> and the second one iterates frames <1000,1500>. In the background these two instances are using the same resource from the MeshCache. And on the screen I see that undesired blinking or flashing of both characters. The animation is not smooth but snatchy.
Does anybody have an idea where is missery?
I would prefer solution where will be only one shared data used for rendering many objects in the scene. My experience is following: when all instances reads frames in synchronic manner the animation is smooth. Blinking effect occurs when first instance attempts different frame then immediately inquires the another one.
Thanks guys!