Thanks for any help
Game Technologies: DirectX 101
Well most of us have their own prosperity formats and custom exporters for the design tools (Maya, 3DMax, ¡)we use. Most times another tool (called asset compiler) is used to generate big files that contains 3d models, textures, and other things the game need.
Why not give ".FBX" a shot. The format can be exported from Maya, 3DS and Motion Builder. You can also export the file into ASCII and Bianary formats. I would recomend downloading XNA and looking over the content pipeline as well.
Have Fun.
Or you could do something like that.......
Let's say that you have a file named MyModel.yourCustomExtension, that contains:
2
2
0
2
-2
0
-2
-2
0
If you open this file..... it doesn't make any sence. But........ actually it contains the coordinates of 3 vertices of a triangle.
2 -- x of vertex 1
2 -- y of vertex 1
0 -- z of vertex 1
2 -- x of vertex 2
-2 -- y of vertex 2
0 -- z of vertex 2
-2 .......and so on
-2
0
Use a filestream to read the file. After reading the first line, convert what the filestream got to a float.... after reading all file.. u should be able to create 3 Vector3 containing (2,2,0), (2,-2,0), (-2,-2,0).
If u want more details or a sample source code just say it .
And u can make your own extension (you file could contain all mesh data, textures, matrices and so on.....