I developed a game using Visual Studio 2008 under Windows 7. The software imports models from DirectX (.x files), wraps the models in a texture (.bmp or .jpg), renders them to screen and I detect when the player clicks on them. Then my computer died and I now have Windows 10 and Visual Studio 2019. My software will no longer build! Visual Studio can no longer import .x files (That’s a minor problem because I can go back to Blender and re-export all the models in a different format). I have spent many hours searching for a solution without success. Can anybody point me to a sample program that can achieve the following:
1. Build under Windows 10, Visual Studio 2019, C++.
2. Import a simple 3D model from a file at run time. (any format is OK if it can be exported from Blender)
3. Render the model, wrapped in a texture (.bmp or .jpg)
4. Exit when the model is clicked.
5. Save my sanity.
What I have tried:
Getting email help from Microsoft - nothing that works.
Microsoft help files - no help at all.
Microsoft sample programs - Can't find one that loads a model from a file.
Sample programs from Autodesk to use FBX files. They don't work.
Searching online for hours and hours, including codeproject.