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

P3D v3 How to Elevate Autogen

Messages
455
Country
us-florida
Does anyone know how to elevate autogen library objects above the ground using the P3D v3.4 SDK?

Thanks in advance.
 
Messages
7,450
Country
us-illinois
Hi Caleb:

By default, scenery library objects placed as Autogen are positioned at 0 Meters / Feet AGL (on-ground).

Are you trying to raise a default scenery library object such as a Radio or TV tower "Hazard" object from the default "partially submerged" position up to a particular height ...when placed as an 'Autogen' object ? :scratchch

GaryGB
 

arno

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

You can't, elevation is only placed at a position, no elevation is stored in the AGN file. If you want to raise the object, you should do so in the MDL file.
 
Messages
455
Country
us-florida
Hi,

You can't, elevation is only placed at a position, no elevation is stored in the AGN file. If you want to raise the object, you should do so in the MDL file.

Ok, thanks. I will do it in the MDL file.

Hi Caleb:

By default, scenery library objects placed as Autogen are positioned at 0 Meters / Feet AGL (on-ground).

Are you trying to raise a default scenery library object such as a Radio or TV tower "Hazard" object from the default "partially submerged" position up to a particular height ...when placed as an 'Autogen' object ? :scratchch

GaryGB

What I was wanting to do was raise an object by just 1/100 of an inch just to stop the flickering of the ground textures for the yard of my autogen houses.
 
Messages
7,450
Country
us-illinois
Hi Caleb:

IIUC, you have custom 3D scenery "house" objects placed as Autogen, and they are "flickering" when displayed over the underlying terrain.

Are the "ground textures" custom G-Polys ?

If so, are the G-Polys made as a MDL-based object, ...or instead as a legacy-format SCASM / ASM object ?


Or are the above 'houses' "flickering" when displayed over custom photo-real aerial imagery land class textures made via Resample? :scratchch


PS: When separating FS' 3D MDL scenery objects to eliminate "flickering", that interval needs to be ~0.21 Meters (8.267692 inches); this can be verified by inspecting in slew mode at multiple N-E-S-W positions surrounding superimposed objects at various distances / altitude levels AGL.

Also, one must inspect with the user aircraft "on-ground" from the position of the superimposed objects in FS' TopDown view mode. ;)


GaryGB
 
Last edited:
Messages
5,214
Not sure what you are asking but autogen vegetation is always on the ground as Arno said.
So if you want it at another elevation, elevate the ground ;).
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
Yes, and custom ground polygons is also not something that can be combined with autogen. On for P3D v2 and above you could use the ZBias attribute in the material in your MDL to reduce the flickering.
 
Messages
5,214
Reading your entry once more, I understand you are putting autogen library objects into your scenery?
In that case they are not autogen anymore but library objects that you place in your scenery using Instant Scenery for FSX, ADE's Library Object Manager or MCX 'Place Object Wizard' where you specify the altitude.
But they will not not be autogen any longer and will not change with seasons.
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
I think he is placing them as autogen, through the default.xml file. So they are still autogen.
 
Messages
455
Country
us-florida
So basically the "ground textures" for the objects are just a flat surface made in Scetchup. I am realizing that I might just be easier not to include a "yard" in the library objects. Thanks for the suggestions everyone.
 
Top