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

Library Vs Vegetation placement with annotator

Messages
108
Country
greece
Hi,

I created a library .bgl file containing three trees (all of them have the same texture-material applied). I followed the SDK directions and I managed to place those objects both as vegetation (V) and Library (L) using annotator.
I intend to place more than 20000 of those trees. Which of the two above placement methods is better regarding the fps impact?

Thanks!
 
Messages
7,450
Country
us-illinois
Hello:

In SDK Autogen Annotator:

(L) Library is used for Buildings

(V) Vegetation Rectangles or (I) Polygon Regions are used for vegetation

http://www.prepar3d.com/SDKv4/LearningCenter.php


I am not certain that one can compare run time rendering performance for those different types of object annotation methods. :alert:


AFAIK, the more a specific 3D object that uses Draw Call Batching is called / placed by Autogen methods, the better the performance.

Typically, Vegetation Library objects may have 5 separate MDLs, each with unique *_SP, *_SU, *_FA, *_WI, *_HW _seasonal texture sheets


The SDK docs state that use of Library objects for Buildings may be repetitive, which IIUC, may utilize more Draw Call Batching locally.

Generic Buildings may have less complex geometry to render, but their texture mappings will be randomized at run time.

I am not certain that randomization of Generic Building textures allows for use of Draw Call Batching.


Perhaps Arno has tested this ? :scratchch

GaryGB
 
Last edited:

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,885
Country
netherlands
Hi,

I think the vegetation will give better performance, but I never really tested it. Autogen is better than xml placed anyway for performance.
 
Messages
5,214
Vegetation, as Library Objects do not qualify as real autogen, AIFK, but correct me if I am wrong.
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,885
Country
netherlands
You can place library object autogen as well, so that qualifies as autogen.

And actually all autogen objects come from libraries.
 
Messages
102
Country
france
hi

how i can said to fs. that a library object custol can be used as autogen on annotator?

Envoyé de mon SNE-LX1 en utilisant Tapatalk
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,885
Country
netherlands
Hi,

To place them as library objects in the autogen you need to add the object to the default.xml file. Create a new class and add the GUID of the object to it, then you can use that class in Annotator.

If you want to use a custom object as vegetation you need to add it to the autogen configuration files.
 
Top