FSXA Multiple tweaked ground polys?

Horst18519

Moderator
Staff member
Resource contributor
#1
A question that can probably only answered by Arno, but I'll post it here since it might be interesting to other developers as well:

Is it possible to use multiple tweaked ground polygon files without them interfering with each other?

I use this method for some time now to hide shadow and light layers at day/night. This gives me 3 different bgl files (normal ground poly, shadow layer, night layer) which works just fine.
Now I played around with another new layer, almost identical with the shadow layer. Just this time the new layer conflicts with the ground poly. As soon as I move the tweaked bgl file with the new shadow layer in my scenery the complete ground poly disappears.

Could this have to do with Area definition, LayerCalls or RefPoints in the sca files? It seems those are the only reasons why it would not work properly.
 
#2
Hi Thorsten:

Do you mean the G-Polys are superimposed above each other as layers with (different VTP layer numbers) ?


And when you state: "As soon as I move the tweaked bgl file with the new shadow layer in my scenery the complete ground poly disappears.", do you mean you moved G-Polys horizontally on the X or Y axis ?


Or did you instead mean you changed the "new shadow layer" to a different VTP layer number ?

And if you meant that you changed the "new shadow layer" to a different VTP layer number, was it a higher or lower number; and did it by any chance match a layer already in use by a (known and documented) layer from default or 3rd party scenery content ?

Thanks for sharing more info with us regarding this interesting development method. :)

GaryGB
 

Horst18519

Moderator
Staff member
Resource contributor
#3
I meant I moved the file into my scenery folder because after I got that issue I removed it and found that the gpoly works fine without it - but if I put the file back the other gpoly disappears.
The issue is still not solved although I found a way around it. It had nothing to do with 3rd party sceneries though since I always make sure those don't interfere.
I think it has to do with the area definition. I remember I had a similar problem when I wanted to use SCASM (3D) objects in combination with gpolys. I had to change the area definition layers on my 3D model in order to make both work together. But I really have no idea what I could change in the gpoly SCA file to make this work.
 
Top