Files
OpenSpace/data/assets/base.asset
Emma Broman babbb4f97c 2024 Digital Universe Data Update (#3335)
* Update 2dF.asset

* Changes to the filename metadata, as wekll as the description.

* 2024 DU updates.

* Apply suggestions from code review

Co-authored-by: Alexander Bock <mail@alexanderbock.eu>

Apply suggestions from code review

* Changes to the asset descriptions, the GUI path, and some of the settings.

* Fixed minor error in a variable name.

* Wrote the individual descriptions for each asset.

* Adjusted the size (brightness).

* Update identifier to one that works

* Update asset versions and correctly format asset files

* Reset exoplanet rings size

To make them visible when viewed further away, e..g at the distance of the radiosphere, and make the Kepler FoV more apparent

* Clean up scale variables

* Line-break long descriptions

As long as we expect users to manually edit files, they need to be readable

* Remove letters that sorts the grids by size

* Split allsky into two assets

Remove asset that was split in two and update DU meta asset

* Replace dwarfs texture with generic point texture resource

* Remove all DU version comments, to reduce "noise"

These would be confusing to our users

* Some final cleanup

* Remove commented radii

* Local Universe -> Nearby Surveys

* Remove asset versions

* Apply suggestions from code review

Co-authored-by: Malin E <malin.ejdbo@gmail.com>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>

* Remove background setting (non-existing) for spheres

* Rmeove commented out lines in star orbits asset

They are confusing, and the label file they refer to does not exist

* Apply suggestions from code review

* Fix some missing line breaks

* Update sync identifiers to match updates in BigBang PR

* Reuse point textures from the same resource instead of having one copy per dataset

The texture used is the same

* Set brown dwarfs dataset version to 1

* Update bookmarks file with updated star poistions

---------

Co-authored-by: Brian Abbott <80659386+brianpatrick@users.noreply.github.com>
Co-authored-by: brianpatrick <git@brianabbott.net>
Co-authored-by: Malin E <malin.ejdbo@gmail.com>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-07-17 11:25:26 +02:00

91 lines
4.0 KiB
Lua

-- This is a base scene that is included in most other scenes to set up defaults
-- loading this scene directly without any other elements added on top of it will
-- probably not work
asset.require("./base_blank")
-- We load the SDSS dataset first as that is the one that takes the longest, so the
-- earlier we start, the sooner the loading is done
asset.require("scene/digitaluniverse/sdss")
-- Specifying which other assets should be loaded in this scene
asset.require("scene/solarsystem/sun/sun")
asset.require("scene/solarsystem/sun/glare")
asset.require("scene/solarsystem/sun/habitablezone")
asset.require("scene/solarsystem/sun/default_layers")
asset.require("scene/solarsystem/planets/planets")
asset.require("scene/solarsystem/dwarf_planets/pluto/system")
asset.require("scene/solarsystem/dwarf_planets/pluto/default_layers")
asset.require("scene/solarsystem/dwarf_planets/pluto/charon/default_layers")
asset.require("scene/milkyway/milkyway/volume")
asset.require("scene/milkyway/constellations/constellation_art")
asset.require("scene/milkyway/constellations/constellation_keybinds")
-- Planet layers
local server = openspace.layerServer();
if (server == "All") then
asset.require("scene/solarsystem/planets/default_layers")
elseif (server == "NewYork") then
asset.require("scene/solarsystem/planets/newyork_layers")
elseif (server == "Sweden") then
asset.require("scene/solarsystem/planets/sweden_layers")
elseif (server == "Utah") then
asset.require("scene/solarsystem/planets/utah_layers")
elseif (server == "None") then
asset.require("scene/solarsystem/planets/base_layers")
else
openspace.printWarning("Did not recognize the specified Layer server, defaults to 'All'")
asset.require("scene/solarsystem/planets/default_layers")
end
asset.require("scene/digitaluniverse/2dF")
asset.require("scene/digitaluniverse/2mass")
asset.require("scene/digitaluniverse/6dF")
asset.require("scene/digitaluniverse/abell")
asset.require("scene/digitaluniverse/allsky_hydrogenalpha")
asset.require("scene/digitaluniverse/allsky_visible")
asset.require("scene/digitaluniverse/alternatestarlabels")
asset.require("scene/digitaluniverse/backgroundradiation")
asset.require("scene/digitaluniverse/brown_dwarfs")
asset.require("scene/digitaluniverse/galaxy_clusters")
asset.require("scene/digitaluniverse/constellationbounds")
asset.require("scene/digitaluniverse/constellations")
asset.require("scene/digitaluniverse/exoplanets")
asset.require("scene/digitaluniverse/exoplanets_candidates")
asset.require("scene/digitaluniverse/globularclusters")
asset.require("scene/digitaluniverse/grids")
asset.require("scene/digitaluniverse/galaxy_groups")
asset.require("scene/digitaluniverse/h2regions")
asset.require("scene/digitaluniverse/local_group_dwarfs")
asset.require("scene/digitaluniverse/milkyway")
asset.require("scene/digitaluniverse/milkyway_arm_labels")
asset.require("scene/digitaluniverse/milkyway_label")
asset.require("scene/digitaluniverse/obassociations")
asset.require("scene/digitaluniverse/oort_cloud")
asset.require("scene/digitaluniverse/openclusters")
asset.require("scene/digitaluniverse/planetarynebulae")
asset.require("scene/digitaluniverse/pulsars")
asset.require("scene/digitaluniverse/quasars")
asset.require("scene/digitaluniverse/star_uncertainty")
asset.require("scene/digitaluniverse/starlabels")
asset.require("scene/digitaluniverse/starorbits")
asset.require("scene/digitaluniverse/stars")
asset.require("scene/digitaluniverse/superclusters")
asset.require("scene/digitaluniverse/supernovaremnants")
asset.require("scene/digitaluniverse/tully")
asset.require("scene/digitaluniverse/voids")
asset.require("scene/digitaluniverse/white_dwarfs")
asset.require("nightsky/nightsky")
asset.require("customization/globebrowsing")
asset.require("actions/default_actions")
asset.require("modules/exoplanets/exoplanets")
asset.require("modules/skybrowser/skybrowser")
asset.onInitialize(function()
openspace.globebrowsing.loadWMSServersFromFile(
openspace.absPath("${DATA}/globebrowsing_servers.lua")
)
end)