Surface tile priority in config folder.

Notebook

Addon Developer
Addon Developer
News Reporter
Donator
Joined
Nov 20, 2007
Messages
11,818
Reaction score
641
Points
188
I'm starting with surface tiles for Woomera Airfield, South Australia, and I have Artlav's Woomera Hi-res set installed:-
[ame="http://www.orbithangar.com/searchid.php?ID=3293"]Woomera Hi-Res tiles[/ame]

This is my .cfg file

BASE-V2.0
Name = Woomera Airfield
Location = +136.81047 -31.146572
Size = 2000
BEGIN_OBJECTLIST
LPAD2
POS 0 0 0
SCALE 0 0 0
TEX Lpad02
NAV 132.35
END
END_OBJECTLIST
BEGIN_SURFTILELIST
5 6226 -1418 1
9 99622 -22681 1
END_SURFTILELIST

The two .dds files are in the Texture2 folder.


The problem is, unless Artlav's "Woomera_region.cfg" is removed or disabled(renamed .bak) I don't see the surface tiles. I assume Artlav's takes priority?

Anyone any ideas?

Many thanks N..
 

martins

Orbiter Founder
Orbiter Founder
Joined
Mar 31, 2008
Messages
2,448
Reaction score
462
Points
83
Website
orbit.medphys.ucl.ac.uk
You mean two different bases define overlapping surface tiles? I never considered that possibility, and I am afraid the result is undefined - whichever base is processed last will have its tiles on top (surface tiles are rendered without z-buffer, so it doesn't matter if one set is raised a bit above the other).

Surface tiles associated with bases have always been a bit of a hack. Hopefully they will eventually become obsolete.
 

Urwumpe

Not funny anymore
Addon Developer
Donator
Joined
Feb 6, 2008
Messages
37,638
Reaction score
2,354
Points
203
Location
Wolfsburg
Preferred Pronouns
Sire
Surface tiles associated with bases have always been a bit of a hack. Hopefully they will eventually become obsolete.

Seyla! :)
 

Notebook

Addon Developer
Addon Developer
News Reporter
Donator
Joined
Nov 20, 2007
Messages
11,818
Reaction score
641
Points
188
You mean two different bases define overlapping surface tiles? I never considered that possibility, and I am afraid the result is undefined - whichever base is processed last will have its tiles on top (surface tiles are rendered without z-buffer, so it doesn't matter if one set is raised a bit above the other).

Surface tiles associated with bases have always been a bit of a hack. Hopefully they will eventually become obsolete.

Well, I'm not sure whats going on!
Artlav's "Woomera_region.cfg" file dosen't contain a "Base" but it does have a location lat/long defined. I did define a base in my "Woomera_Airfield.cfg" file.

I have "Woomera.cfg, Woomera_airfield.cfg, and Woomera_region.cfg" in that order in my base/cfg folder.
So, the last overlapped surface tiles get priority?

Its no big problem, I'll disable Artlav's till I get this finished, then see what happens, just curious to see if anyone had had it before.

Many thanks Martins, N.
 
Top