mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 11:39:49 -06:00
Add HD 84406 as JWST target with image
This commit is contained in:
@@ -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"
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
asset.require("./crab")
|
||||
asset.require("./hd84406")
|
||||
asset.require("./hh212")
|
||||
asset.require("./hudf")
|
||||
asset.require("./m51")
|
||||
|
||||
Reference in New Issue
Block a user