Sign in to follow this  
CoOlDud3

Correct Usage Of MeshConvert.exe in DirectX SDK

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
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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this