Library Vs Vegetation placement with annotator

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!
 
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
Hi,

I think the vegetation will give better performance, but I never really tested it. Autogen is better than xml placed anyway for performance.
 

arno

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

And actually all autogen objects come from libraries.
 
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
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