Sign in to follow this  
lucky6969b

What is the common approach to replace ID3DXFileSave objects?

Recommended Posts

lucky6969b    1330
  CComPtr<ID3DXFile> file;
  D3DXFileCreate(&file);
  CComPtr<ID3DXFileSaveObject> save; // AddDataObject to this node
  file->CreateSaveObject(name, D3DXF_FILESAVE_TOWFILE, fileFormat, &save);
  save->AddDataObject(...);
  save->save();

How do I replace these calls and convert the data into a xml file as the final product?

Also, wonder if there are any books on how to design 3d data assets (the file format itself)?

Merry Christmas....

 

Thanks

Jack

Edited by lucky6969b

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