• 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.

FSX Strange object placement problem

  • Thread starter Thread starter NGX
  • Start date Start date

NGX

Messages
302
Country
germany
Hello!

Currently I´m trying to add my own taxi lights to the apron. I add the objects with a tool called ìnstant scenery`. Normally it works very nice because you can add the objects directly in the FSX.

With my taxi-lights I have the problem that after placing the object and reloading the FSX the object has moved a step. If I add a effect to the object than the effect is on its correct position but the object still moved. Strange! I found out that it has something to do with the airport elevation. More airport elevation means more object deviation (from the basic placement)

Example:

Mexico City - high elevation




Groningen - close to sea level - here it is okay




Help would be very appreciated :)
 
That's common to objects that employ drawcall batching, and yes it's exaggerated at airports with higher elevations. IS2 breaks batching temporarily, you place your object basically without drawcall batching, but when you restart the sim without IS2 running the batching returns and the objects move.

You can add an empty LOD to your models with MCX and export without drawcall batching to solve the issue but then of course you give up the benefits of drawcall batching.

My solution was to determine a precise offset both in lattitude and longitude for my airport, then I made an excel spreadsheet to add/subtract this value from the placement coordinates. I decompile the placement .bgl and then use a macro in an advanced text editor to strip the lattitudes and longitudes from all the placements so that they can be pasted into the spreadsheet (as a group in columns). After running them through the spreadsheet I again use a macro to replace the coords in the XML with the corrected coordinates and re-compile the placement .bgl. Sounds complicated but once it's all set up it's really quite a simple process and I can correct hundreds of placements in just a few minutes. The offset seems to be consistent everywhere within several miles of the airport and the new placements are deadly accurate.

Jim
 
First of all thank you very much for your fast help!

I must say that this stuff is completely new for me so I first tried the more easy way to add an empty LOD.

Like you wrote it solves the problem. I don´t know what it means loosing the benefits of drawcall batching. Probably you can explain it to me in a few words if you like? Would be very nice :)

Holger
 
I'm no expert so I'll leave that to someone more knowledgeable. About all I know is if you have tons of placements of something that uses the same texture/material (a vegetation object for example) batching the model will improve performance significantly. I think rather than each of those placements generating a drawcall of it's own, the drawcalls can be consolidated down to one when drawcall batching is used.

As a curious young mechanic, I once asked a heavy equipment operator how the decelerator pedal on a large piece of road machinery worked. His reply was "well, it works pretty damn good". :)

Arno or hcornea would be able to give you a proper technical explanation.

Jim
 
Thank you Jim!

I think I have now an idea what we are talking about ^^

Thanks,
Holger
 
Back
Top