local assetHelper = asset.require('util/asset_helper')



local textures = asset.syncedResource({
    Name = "HII Regions Textures",
    Type = "HttpSynchronization",
    Identifier = "digitaluniverse_h2regions_textures",
    Version = 1
})

local speck = asset.syncedResource({
    Name = "HII Regions Speck Files",
    Type = "HttpSynchronization",
    Identifier = "digitaluniverse_h2regions_speck",
    Version = 1
})

local object = {
    Name = "HII Regions",
    Renderable = {
        Type = "RenderableBillboardsCloud",
        Enabled = false,
        Color = { 0.0, 0.5, 1.0 },
        Transparency = 0.35,
        File = speck .. "/h2.speck",
        Texture = textures .."/point4.png",
        PolygonSides = 6,
        LabelFile = speck .. "/h2.label",
        TextColor = { 0.5, 0.5, 0.5, 1.0 },
        ScaleFactor = 420,
        TextSize = 17.25,
        TextMinSize = 2.0,
        Unit = "pc"
    },
    GuiPath = "/Milky Way/HII"
}



assetHelper.registerSceneGraphNodesAndExport(asset, { object })


Update H2 regions to new dataset
local assetHelper = asset.require('util/asset_helper')



local textures = asset.syncedResource({
    Name = "HII Regions Textures",
    Type = "HttpSynchronization",
    Identifier = "digitaluniverse_h2regions_textures",
    Version = 1
})

local speck = asset.syncedResource({
    Name = "HII Regions Speck Files",
    Type = "HttpSynchronization",
    Identifier = "digitaluniverse_h2regions_speck",
    Version = 2
})

local object = {
    Name = "HII Regions",
    Renderable = {
        Type = "RenderableBillboardsCloud",
        Enabled = false,
        Color = { 0.0, 0.5, 1.0 },
        Transparency = 0.35,
        File = speck .. "/h2.speck",
        Texture = textures .."/point4.png",
        PolygonSides = 6,
        LabelFile = speck .. "/h2.label",
        TextColor = { 0.5, 0.5, 0.5, 1.0 },
        ScaleFactor = 420,
        TextSize = 17.25,
        TextMinSize = 2.0,
        Unit = "pc"
    },
    GuiPath = "/Milky Way/HII"
}



assetHelper.registerSceneGraphNodesAndExport(asset, { object })