Introduction - If you have any usage issues, please Google them yourself
From: http://clootie.narod.ru/delphi/download_custom.html
Sample demonstrate how to fill ID3DXMesh object from D3DX8 helper classes with your custom data and save final mesh to disk in either binary or text format. As user data face_data.pas was taken, containing data in pascal arrays from Jan Horm site. After generating files in current directory sample loads generated text format x-file "FaceText.x" and display it on screen.