New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rendering a model Tutorial - Meshconverter FAILED with an unspecified error #288
Comments
Using notepad, what does your It should be the contents here. |
Retried multiple times but with no luck I tried with these files, maybe you'll have a better luck Thank you for your immediate response! |
The data files work fine at least on my machine and the EXE is right... There must be some kind of localization issue. Can you build the meshconvert.exe from the source projects in the GitHub repo and run under the debugger with those command-line arguments? |
Thank you for your help in debugging this issue. Please step into the |
It's a locale issue with Thanks so much for your help in debugging this! |
Yes, you're right and amazing! Thanks for your help and time. |
Fixed meshconvert in this microsoft/DirectXMesh@66451d1 Updating the rest of my command-line tools which set locale for localized error message strings. |
Fixed in the November 2021 release https://github.com/microsoft/DirectXMesh/releases/tag/nov2021 |
Hi, I was reading the tutorial about how to load an render a model with this TK using the provided files and I run into this problem.
No matter what file I've tried or how many times I tried, it always fails at loading the .obj file with an unhelpful error (80004005)
According to the source code, it fails at the LoadFromOBJ function, where the WaveFrontReader doesn't read the vertices/indices:
(
if (wfReader.indices.empty() || wfReader.vertices.empty())
return E_FAIL;
)
But how and why?
What am I doing wrong?
I've tried with other .obj files as well with no luck...
Thanks for you time and sorry to bother you!
The text was updated successfully, but these errors were encountered: