mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 19:19:39 -06:00
* updates to night sky assets and new actions for ui panel; * Apply suggestions from code review Co-authored-by: Alexander Bock <alexander.bock@liu.se> * swap order of east/south declaration * updated zeropoint_data to synched resource * rework action to use fadeIn * Apply suggestions from code review update to ns navigation actions Co-authored-by: Alexander Bock <alexander.bock@liu.se> * update to position function for review * removed action based on review * Update data/assets/actions/nightsky/createsuntrails.asset up formatting of suntrails action Co-authored-by: Alexander Bock <alexander.bock@liu.se> * update to nightsky grids for segement property name change * updated fade distances for mercury and venus label to be visible from earth when close * fix to nightsky grid segments * added time actions to list of nightsky assets * Update default UI panels to include night sky panel * fix to add sun trails action * Show night sky panel in nightsky profile --------- Co-authored-by: Alexander Bock <alexander.bock@liu.se> Co-authored-by: Emma Broman <emma.broman@liu.se>
92 lines
3.0 KiB
Plaintext
92 lines
3.0 KiB
Plaintext
{
|
|
"actions": [
|
|
{
|
|
"documentation": "Sets the stars back to their default values",
|
|
"gui_path": "/Night Sky/Stars",
|
|
"identifier": "os.nightsky.DefaultStars",
|
|
"is_local": false,
|
|
"name": "Set default star values",
|
|
"script": "openspace.setPropertyValueSingle(\"Scene.Stars.Renderable.Core.Multiplier\", 15.0)\nopenspace.setPropertyValueSingle(\"Scene.Stars.Renderable.Core.Gamma\", 1.66)\nopenspace.setPropertyValueSingle(\"Scene.Stars.Renderable.Core.Scale\", 0.18)\n\nopenspace.setPropertyValueSingle(\"Scene.Stars.Renderable.Glare.Multiplier\", 0.65)\nopenspace.setPropertyValueSingle(\"Scene.Stars.Renderable.Glare.Gamma\", 1.0)\nopenspace.setPropertyValueSingle(\"Scene.Stars.Renderable.Glare.Scale\", 1.0)"
|
|
},
|
|
{
|
|
"documentation": "Changes the values for Core/Glare on the Stars to be more point-like",
|
|
"gui_path": "/Night Sky/Stars",
|
|
"identifier": "os.nightsky.PointlikeStars",
|
|
"is_local": false,
|
|
"name": "Set the star values to be more point-like",
|
|
"script": "openspace.setPropertyValueSingle(\"Scene.Stars.Renderable.Core.Multiplier\", 2.62)\nopenspace.setPropertyValueSingle(\"Scene.Stars.Renderable.Core.Gamma\", 1.6)\nopenspace.setPropertyValueSingle(\"Scene.Stars.Renderable.Core.Scale\", 1.0)\nopenspace.setPropertyValueSingle(\"Scene.Stars.Renderable.Glare.Multiplier\", 1.75)\nopenspace.setPropertyValueSingle(\"Scene.Stars.Renderable.Glare.Gamma\", 1.19)\nopenspace.setPropertyValueSingle(\"Scene.Stars.Renderable.Glare.Scale\", 0.16)"
|
|
}
|
|
],
|
|
"additional_scripts": [
|
|
"openspace.action.triggerAction(\"os.nightsky.ShowNightSkyPlanets\")"
|
|
],
|
|
"assets": [
|
|
"base",
|
|
"base_keybindings",
|
|
"events/toggle_sun",
|
|
"scene/solarsystem/planets/earth/earth",
|
|
"scene/solarsystem/planets/earth/satellites/satellites"
|
|
],
|
|
"camera": {
|
|
"altitude": 500.0,
|
|
"anchor": "Earth",
|
|
"latitude": 58.5877,
|
|
"longitude": 16.1652,
|
|
"type": "goToGeo"
|
|
},
|
|
"delta_times": [
|
|
1.0,
|
|
5.0,
|
|
10.0,
|
|
30.0,
|
|
60.0,
|
|
120.0,
|
|
300.0,
|
|
600.0,
|
|
900.0,
|
|
1800.0,
|
|
3600.0,
|
|
7200.0,
|
|
14400.0
|
|
],
|
|
"mark_nodes": [
|
|
"Earth",
|
|
"Mars",
|
|
"Moon",
|
|
"Sun",
|
|
"Venus",
|
|
"ISS"
|
|
],
|
|
"meta": {
|
|
"author": "OpenSpace Team",
|
|
"description": "A profile starting at night on the surface of earth looking out at the horizon. The city lights map has been disabled.",
|
|
"license": "MIT License",
|
|
"name": "Default",
|
|
"url": "https://www.openspaceproject.com",
|
|
"version": "1.0"
|
|
},
|
|
"panel_visibility": {
|
|
"nightSky": true
|
|
},
|
|
"properties": [
|
|
{
|
|
"name": "{earth_satellites}.Renderable.Enabled",
|
|
"type": "setPropertyValue",
|
|
"value": "false"
|
|
},
|
|
{
|
|
"name": "Scene.Earth.Renderable.Layers.NightLayers.Earth_at_Night_2012.Enabled",
|
|
"type": "setPropertyValueSingle",
|
|
"value": "false"
|
|
}
|
|
],
|
|
"time": {
|
|
"is_paused": false,
|
|
"type": "absolute",
|
|
"value": "2023-04-13T19:40:00"
|
|
},
|
|
"version": {
|
|
"major": 1,
|
|
"minor": 4
|
|
}
|
|
} |