• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Changing LOD range in FSX

Messages
25
Country
hungary
Hi folks, I would really love to get some help from any of the x.file experts.
I need to change the range of LODs of several FSX scenery objects, all use 3 levels of LOD (_100, _50,_10).
With the old .asm file it was easy, we just had to change the IFSIZEV values according to our preference. The x.file in FS9 used the very same structure, which I didn't understand in the FS9 times either, but because of the final .asm file I didn't have to worry about that.
But now, before running an .x file through XToMdl.exe I need to modify the range values in the x.file itself.
The only thing I know is that it is done through changing the TransformMatrix values, but have no idea how to get the values that makes sense. So it looks like:

Frame frm-anything_blue_LOD_10 {
FrameTransformMatrix {
0.016934, 0.000000, -0.000000, 0.0,
0.000000, 0.016934, -0.000000, 0.0,
-0.000000, -0.000000, 0.016934, 0.0,
0.033915, -0.010673, -0.583156, 1.0;;
} // End FrameTransformMatrix

How to understand and convert these values to get the LOD ranges I prefer?
Do I need to change all of the TransformMatrix values, or there is a particular one for the purpose? How to convert them to values I can understand?

thanks for any help
Andras
 
The only thing I know is that it is done through changing the TransformMatrix values
Sorry I don't know the answer, but I believe that you're mistaken about this matrix. The FrameTransformMatrix is for rotating/translating the object.
 
Sorry I don't know the answer, but I believe that you're mistaken about this matrix. The FrameTransformMatrix is for rotating/translating the object.

LODs actually mean animation in FS and all animated objects are transformed via one or more matrix.

Andras
 
Hi Andras,

I agree with the posts above. I don't think the matrix has anything to do with the LOD switching.

Looking at the FsX MDL format, I think the only parameter that can influence the distance is the value you give the LOD. So the 100, 60, 40, etc. Unlike the Fs2004 MDL format the check is not written down in the MDL anymore, only this number is stored. So I guess the switching logic is somewhere in the scenery engine.
 
Yes, references to LOD models are stored in a LOD table in a MDL and the switching is done in real time by scenery engine.
 
Back
Top