I recently wrote a small program in c# to load 3D models from files like '.obj'. It parses the data and loads it in memory using regex and casts the values to doubles..
Then the program dumps this memory data arrays into a binary file, which can be readily loaded into my DX10 application.
Can anyone tell me if this is the best way to load a 3D object? (because I read it somewhere a long time ago)
I have been reading lots of tutorials about directx and I am trying to develop a simple 3d engine (in C++). (I frankly got sick of doing the small tutorials about triangle rendering and stuff..)
Also please give me some pointers on how should I go about on arranging the data in the file so that I would be able to pick up material and texture info too.. I am only working with vertex data for now.
I happen to have about 5 long months of doing almost nothing, so I thought I may just as well try learn about game programming by actually trying it out instead of reading the tutorials about it...
Also can anyone give me a link on how to interpret the DirectX debug output?