   How To Create a ID3DXPMesh [DirectX9.0 & C++] ?
  I have 4 variable:ID3DXMesh*m_pD3DMesh;ID3DXPMesh*m_pLODMesh;LPDIRECT3DVERTEXBUFFER9m_pVertexBuffer;LPDIRECT3DINDEXBUFFER9m_pIndexBuffer;I Create the m_pD3DMesh by m_pVertexBuffer and m_pIndexBuffer. And The m_pD3DMesh was created. It's ok that draw the m_pD3DMesh.Now I want to create the m_pLODMesh by m_pD3DMesh. How to do? How to use the fuction that D3DXGeneratePMesh()?Thanks, very much!   
  Some of My Code:D3DXCreateMeshFVF( ..., ..., ..., ..., ..., m_pD3DMesh );......m_pD3DMesh->LockVertexBuffer( 0, (void**)&pVertices );......m_pD3DMesh->UnlockVertexBuffer();m_pD3DMesh->LockIndexBuffer( 0, (void**)&pIndices );......m_pD3DMesh->UnlockIndexBuffer();DWORD* attributeBuffer = 0;m_pD3DMesh->LockAttributeBuffer(0, &attributeBuffer);for ( DWORD dwFacetIdx = 0; dwFacetIdx < m_dwNumFacet; dwFacetIdx++ ){attributeBuffer[dwFacetIdx] = dwFacetIdx;}// Now the ID3DXMesh was created.// Then, I want to create the ID3DXPMesh from the ID3DXMesh.How to do?Thanks!   