microsoft / DirectXMesh

DirectXMesh geometry processing library

Home Page:https://walbourn.github.io/directxmesh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FAILED (80070002) when converting a .obj to skdmesh

RyanWilliams99 opened this issue · comments

commented

I'm using the following commands I have also tried with various arguments but still no luck.

meshconvert monkey.obj
and
meshconvert monkey.obj -sdkmesh

monkey.zip

The error result 80070002 is ERROR_FILE_NOT_FOUND--the VS Error Lookup tool is handy here.

If you open the monkey.obj file in text editor, you'll see that it references a different filename for the mtl file than you expect:

mtllib monkey2k.mtl

Rename your monkey.mtl to monkey2k.mtl.