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

How to modify autogen objects?

Messages
32
Country
unitedkingdom
Hi,

I am quite new to FSX scene development and I was wondering how I should go about editing autogen objects. What I would like to do is take several different tree models and place them into a single autogen object. So basically a cluster of closely packed trees as one object. I am hoping that by doing this I can get very dense autogen trees with additional rendering optimization due to the fact that the count of FSX objects being rendered remains constant.

The question is which tools would allow me to achieve this? Effectively cutting and pasting objects into a new object.

Edit:
Ah, I may have found a possible answer. The .X format is text, so I should be able to do the above with a bit of text editing.

Thanks,
Peter
 
Last edited:
In the FSX folder Scenery/Global/Scenery there is a file called vegetation.bgl which contains all the models of the trees. This can be opened with model converter x. There are 1,663 models in there which is a lot. You can export each one if you like (in formats such as .x , .3DS , .OBJ), edit it in a 3D editor compatible with one of those formats and recompile them all into one new .bgl (make sure you maintain the GUID numbers for each model). You'll be there a long time doing that.

I think it is highly unlikely that you will get any rendering optimization by doing this. The autogen trees have already been optimized as best as they can and you can place a thousand trees with only one drawcall being made (assuming they all use the same texture). This is one of the reasons there was a big improvement in framerates from original FSX and service pack 1 (I think it was SP1 or it might have been SP2, either way, the batching of autogen trees so they'd use only 1 drawcall if the texture was the same improved framerates considerably). I think you may find that placing 4 trees into one model will have little framerate impact compared to simply placing 4 separate trees.

Before going down this route I'd strongly suggest doing some testing to make sure you would actually see any real framerate improvement. Construct a model, place a thousand of them and then construct a model with 4 parts and place 250 of them and see what's what.

OR

The better way might be to create your new models with new GUID numbers (unique ID numbers which identify each model) and then edit the autogendescriptions file in FSX/Autogen using the Autogen Configuration Editor to reference these new models instead of the default vegetation.

Note also that the autogen trees can be used by 3rd party scenery makers to place individual trees around airports. You could end up making a mess of any addon scenery you have.
 
Hi Anthony, really appreciate your reply. Strangely enough I've just this minute tried the method of duplicating AGN polygons to get double the density and it works great, so I'll be going down this road from now on.

Many thanks,
Peter
 
Back
Top