Is there a simple way to convert between the two unit systems? After exporting a .x file of a unit cube from Blender, I can see that they aren't the same scale!
Thanks.
Posted 02 March 2013 - 04:57 AM
There is no such thing as "directx units". If you model a unit cube the exported cube should be a unit cube as well. Any perceived difference in scale is therefore a result of either scaling by the exporter or simply different camera settings in Blender and your application. The former can easily be checked by examining the vertices of the loaded model.
Posted 02 March 2013 - 05:25 AM
I tried again using a different model, and it seems like you're right - the coordinates of the vertices in Blender and DirectX matched. I must have been looking at the wrong coordinates (local instead of global, perhaps). I suppose it makes sense - a .x file is simply a list of vertex locations (among other things), so the numbers should stay the same when they're exported from Blender (i.e. a vertex at 0,0,1 in Blender should also be at 0,0,1 in DirectX).
Thanks for clearing that up!
Long-term project: LEM 3D