-- Add require statements for assets exporting the neccessary globes
-- example:
-- asset.require('../scene/solarsystem/planets/mars/mars')

-- Add folders to this list that contain .info files describing HiRISE patches
local vrt_folders = {
    Mars = {
        -- Add folders here whose contents will be automatically added to the Mars globe
        -- If multiple folders are added, the results will be added sequentially, meaning that
        -- if areas overlap (for example CTX and HiRISE) and CTX is specified *after* HiRISE,
        -- CTX will stomp over the HiRISE
        --
        -- tl;dr:  Specify CTX folders first, then HiRISE 
        -- example:   'C:/OpenSpace/GlobeBrowsingData/Mars/CTX'
        '',
        ''
    },
    Moon = {
        -- Add folders here whose contents will be automatically added to the Moon globe
        -- If multiple folders are added, the results will be added sequentially, meaning that
        -- if areas overlap, images from the lower results will overwrite the images from former
        -- results
        -- example:  'C:/OpenSpace/GlobeBrowsingData/Moon'
        '',
        ''
    }
}

asset.onInitialize(function ()
    -- Add local patches described at the top of this file
    for obj, list in pairs(vrt_folders) do
        for _, dir in pairs(list) do
            openspace.globebrowsing.addBlendingLayersFromDirectory(dir, obj)
        end
    end
end)


Add comment informing the user of not using single backslashes in paths
-- Add require statements for assets exporting the neccessary globes
-- example:
-- asset.require('../scene/solarsystem/planets/mars/mars')

-- Add folders to this list that contain .info files describing patches
-- OBS: Even on Windows, you have to use forward slashes (/) or double backslashes (\\)
--      rather than single backslashes (\) as they are otherwise interpreted as escape
--      sequences
-- For example:  C:/OpenSpace   or  C:\\OpenSpace    rather than C:\OpenSpace
local vrt_folders = {
    Mars = {
        -- Add folders here whose contents will be automatically added to the Mars globe
        -- If multiple folders are added, the results will be added sequentially, meaning that
        -- if areas overlap (for example CTX and HiRISE) and CTX is specified *after* HiRISE,
        -- CTX will stomp over the HiRISE
        --
        -- tl;dr:  Specify CTX folders first, then HiRISE 
        -- example:   'C:/OpenSpace/GlobeBrowsingData/Mars/CTX'
        '',
        ''
    },
    Moon = {
        -- Add folders here whose contents will be automatically added to the Moon globe
        -- If multiple folders are added, the results will be added sequentially, meaning that
        -- if areas overlap, images from the lower results will overwrite the images from former
        -- results
        -- example:  'C:/OpenSpace/GlobeBrowsingData/Moon'
        '',
        ''
    }
}

asset.onInitialize(function ()
    -- Add local patches described at the top of this file
    for obj, list in pairs(vrt_folders) do
        for _, dir in pairs(list) do
            openspace.globebrowsing.addBlendingLayersFromDirectory(dir, obj)
        end
    end
end)