-- 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 about requiring globes when adding datasets
-- 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)