   [dx9] Multi-threaded mesh loading
  Hi All,Im trying to implement chuncked level scene for my 3d level where nodes are loaded on a background process, but i cannot seem to make this work becausethe backgroun thread (the one that loads the mesh) cannot load the mesh using D3DXLoadMeshFromX and texture for the mesh was load using D3DXCreateTextureFromFile.the application freeze up.ive search all over the inter net and found suggestions from other people to use D3DCREATE_MULTITHREADED, but i also found somebody that said it does not workwith the d3dx library and its slows down the application. Some tells that loading of the texture is the main cause of the problem.so how do I proceed with this? What is the correct way of doing this?Is there any sample source or resource for this?Thanks,Ruell   
  Page the file into memory using ReadFile or what-have-you, then use D3DXCreateTextureFromMemory and friends on the main thread before you draw your scene. You'll obviously need to hand offthe data pointer, and for that I'd suggest something like Boost's circular_buffer protected by a CRITICAL_SECTION for thread safety purposes.   