Follow [DirectX game development ultimate guide] learned chapter 13
Say according to the book with Xmesh. H CXModel replacement in temporary class CXModel
Then I debugging, under the release into the scene when the tips below
This is what is problem containerEx is a null pointer?
Then I find their own reasons found LoadXFile function under D3DXLoadMeshHierarchyFromX always return false;
Original sentence: the if (FAILED (D3DXLoadMeshHierarchyFromX (file, D3DXMESH_MANAGED m_device, & amp; Leisure, NULL, & amp; M_root, & amp; M_animControl)))
return false;
Whether D3DXLoadMeshHierarchyFromX failed
I really don't know is what reason, how to solve the great god so please help me answer thank you, here's the code
https://pan.baidu.com/s/18_I_ISxvLzOosCdXndjZuA password ziel
CodePudding user response:
Using the Microsoft DirectX SDK (June 2010)CodePudding user response:
The broken book I also bought, drew 100 ocean, feel unworthy, translation is a machine's feeling,
Failure load, path and see if it is wrong
CodePudding user response: