P3D v3 How to Elevate Autogen

#1
Does anyone know how to elevate autogen library objects above the ground using the P3D v3.4 SDK?

Thanks in advance.
 
#2
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
#3
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.
 
#4
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.
 
#5
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:
#6
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
#7
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.
 
#8
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
#9
I think he is placing them as autogen, through the default.xml file. So they are still autogen.
 
#11
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