by Jan Huewel » Fri Jul 10, 2009 1:57 pm
Dear Paride
The problem you are facing is related to two important settings
First of all the scaling of objects between two applications like GMax and Pandoras might be different or caused by the exporter.
Second the Field of View (Camera Angle) of both applications is not set to the same setting.
Since the only way to get an .x file out of GMAX is via the flightsimulator plugin the scalings are always transformed to a inch based measuring system, this is part of the error you are seeing.
To fix the issue with the existing exporter, we are looking into writing a customized exporter dedicated to Pandoras Box units.
In the meantime you can fix your issue by using the attached setup file and applying the following changes to the .x file after export from GMAX. This file has the same camera field of view as the Pandoras Box Camera.
open the exported .x File and scroll down until you see the the following section
Frame frm-MasterScale {
FrameTransformMatrix {
0.000977, 0.0, 0.0, 0.0,
0.0, 0.000977, 0.0, 0.0,
0.0, 0.0, 0.000977, 0.0,
0.0, 0.0, 0.0, 1.0;;
} // End frm-MasterScale FrameTransformMatrix
Frame frm-MasterUnitConversion {
FrameTransformMatrix {
26.009600, 0.0, 0.0, 0.0,
0.0, 26.009600, 0.0, 0.0,
0.0, 0.0, 26.009600, 0.0,
0.0, 0.0, 0.0, 1.0;;
} // End frm-MasterUnitConversion FrameTransformMatrix
Change the values to:
Frame frm-MasterScale {
FrameTransformMatrix {
1.0, 0.0, 0.0, 0.0,
0.0, 1.0, 0.0, 0.0,
0.0, 0.0, 1.0, 0.0,
0.0, 0.0, 0.0, 1.0;;
} // End frm-MasterScale FrameTransformMatrix
Frame frm-MasterUnitConversion {
FrameTransformMatrix {
0.09843, 0.000000, 0.000000, 0.0,
0.000000, 0.09840, 0.000000, 0.0,
0.000000, 0.000000, 0.100000, 0.0,
-0.008156, 0.008100, 0.000000, 1.0;;
} // End frm-MasterUnitConversion FrameTransformMatrix
Save the changes and load the file into Pandora.
Now the 3D object should be displayed correctly.
I hope this helps
Best regards
Jan
You do not have the required permissions to view the files attached to this post.
Last edited by
Jan Huewel on Wed Jul 15, 2009 11:11 am, edited 1 time in total.