can it be written directly or must be converted from other advanced models
how to generate the '.x' file
Members - Reputation: 1670
Posted 13 June 2013 - 12:16 AM
What do you mean by "directly"?
Anyway, you can create your own .x files with no problems. The format is not closed, you can study the X File Format Reference and write .x files using a text editor or you can create your own exporter. There also is an API related to .x files, but I've never used it, so I don't know what it is about.
Or, of course, you can use the D3DX function D3DXSaveMeshToX - in this case you just create the mesh in memory and fill it with vertices/indices and then save it to an .x file.
Edited by Tom KQT, 13 June 2013 - 12:18 AM.
Members - Reputation: 2500
Posted 13 June 2013 - 03:01 AM