Sign in to follow this  

Correct Usage Of MeshConvert.exe in DirectX SDK

This topic is 1754 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I have a Terrain.OBJ file in the location "C:\". I want to convert it to Terrain.X using MeshConvert.exe so that I could import it in my DirectX Game. But when I input this:-

 

>meshconvert /x input C:\Terrain

 

 

I get a message saying: "Too many input files provided: Terrain".

 

Can anyone tell me the correct way of doing this PLEASE? wink.png

 

 

Share this post


Link to post
Share on other sites

When using absolute path as command line parameter it is common to place it in between quotes like "C:\Terrain..." . See if it works that way?

Share this post


Link to post
Share on other sites

This didn't work I get this message: "Too many input files provided: C:\Terrain".

Share this post


Link to post
Share on other sites
meshconvert /x "C:\Terrain.obj"

 

Gives me "Cannot Load Specified Input File".

 

I believe a part of it would be correct if I try this way:

meshconvert /x input "C:\Terrain.obj"

 

But then this gives me: "Too many input files provided: C:\Terrain.obj"

Share this post


Link to post
Share on other sites

Just tried it myself doesn't work for me either. Sorry i never used this tool before, but parameters should be correct.

Share this post


Link to post
Share on other sites

According to the MeshConvert.exe Project when we input the "filename", It's the same as "filename" in the function D3DXLoadMeshFromX(L"filename.x", ..........);

 

You are right the parameters should be correct! sad.png

Edited by CoOlDud3

Share this post


Link to post
Share on other sites
Sign in to follow this