Add HD 84406 as JWST target with image

This commit is contained in:
Malin E
2022-03-31 13:53:00 +02:00
parent 0bdf82f156
commit e747af5003
3 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
local image = asset.require("./hd84406_image").image
local HD84406Image = {
Identifier = "HD84406Image",
Type = "ScreenSpaceImageLocal",
Name = "HD 84406 Star",
UseRadiusAzimuthElevation = true,
FaceCamera = false,
RadiusAzimuthElevation = { 200.0, 0.5, 0.1 },
UsePerspectiveProjection = false,
Opacity = 1.0,
TexturePath = image .. "HD84406.png",
Tag = { "mission_jwst_target" },
Description = [[
JWST alignment image of star HD 84406 by NASA/STScI.
]],
}
asset.onInitialize(function()
openspace.addScreenSpaceRenderable(HD84406Image)
end)
asset.onDeinitialize(function()
openspace.removeScreenSpaceRenderable(HD84406Image)
end)
asset.export(HD84406Image)
asset.meta = {
Name = "HD 84406 Star Image",
Version = "1.0",
Description = "Screenspace image of the HD 84406 Star",
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
}

View File

@@ -0,0 +1,17 @@
local image = asset.syncedResource({
Name = "HD 84406 Star Image",
Type = "HttpSynchronization",
Identifier = "hd84406_image",
Version = 1
})
asset.export("image", image)
asset.meta = {
Name = "HD 84406 Star",
Version = "1.0",
Description = "JWST alignment image of star HD 84406",
Author = "NASA/STScI",
URL = "https://www.nasa.gov/press-release/nasa-s-webb-reaches-alignment-milestone-optics-working-successfully",
License = "NASA"
}

View File

@@ -1,4 +1,5 @@
asset.require("./crab")
asset.require("./hd84406")
asset.require("./hh212")
asset.require("./hudf")
asset.require("./m51")