* Update add add documentation for `RenderableDistanceLabel`
* Move distancelabel to `base` module and remove now empty `vislab` module
* Add examples for `RenderableNodeLine` and `RenderableDistanceLabel`
* Fix faultily formatted documentation ID for `RenderableNodeLine`
* Make `RenderableDistanceLabel` unit use units from distanceconversion file
And simplify how the different names for a unit are specified
* Use new distanceUnitList() function for other classes that uses the units
* Change default unit to correct option according to documentation
* Make the text property readonly for `RenderableDistanceLabel`
* Add property to specify the precision of the number
distance label precision to docs
* Add examples with different units and descriptors
* Add docs description to `RenderableNodeLine`
* Update name in one of the examples
* Remove redundant switch cases
* Apply suggestions from code review
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
---------
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
* Add description and update GUI property values
* Add examples with a single color
* Remove old example file
* Rename ellipse example and remove width
* Apply suggestions from code review
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
* Address review comments
* Also update renerable description
---------
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
* Add boxgrid examples
* Add description about the box grid renderable for the docs page
* change phrasing in example assets slightly
* Apply suggestions from code review
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
* Remove labels support for `RenderableBoxGrid`
---------
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
* Add screenspace version of debug plane, and an example
* Remove the old renderable
* Apply suggestions from code review
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Make `RenderableCartesianAxes` fade and fix opacity setting
* Update existing documentation of cartesian axes
* Add example with custom colros and parent node
* Apply suggestions from code review
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Include earth asset instead of using string identifer
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* There is now a bool setting to turn off depth writing and testing for
RenderableSpheres (useful for background images).
* There is also an Option setting to choose blending mode, similar to
the setting that RenderablModel has.
* NOTE: The default behaviour for RenderableSphere have now changed.
Before it was always additive blending that was used but now it is
default blending that is used by default. If additive blending is
wanted, then use the option setting and select it instead.
* added old GSM as Static, real GSM, SM, GSE and time dependent GSM and SM
* small formating
* i dont rember changing this, so taking it back
* added support for time dependent GSM and SM to work to year 2099
* added newer kernel
* added HEEQ and HEE
* better naming and descriptions
* rename lowercase
* naming rewrite
* fix after name change
* added earth centric tf files. sun centric left to do and .bpc files and .bsp files
* including kernels with asset.resource now. Left is weather to move or change examples/debugcoordinateaxes
* minor naming cleanup
* cleanup. remove comment
* getting rid of debugcoordinateaxes example asset
* Separate JWST asset into multiple assets and avoid specifying timestamps in multiple files
* Split up L1, L2, L4 and L5 assets
* Include L2 and L2 Sun line in jwst asset
* Add asset.enabled option to jwst and lagrange point assets
* Remove a comment that came from Voyager mission file
* Apply suggestions from code review
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Add missing tags for some L2 SGNs
* Fix broken jwst trail asset
* Phrase comment for L2 co-revolving frame a bit more generally
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* update background and foreground colors in launcher
* Change tab order and preliminary focus visuals
* update focus color
Improves on #3091 but does not fixes it, the contrast ratio is 2.4/2.9-3.3 versus the white border/the gray background on each button/dropdown
* update focus border width
* Update color of error messages fixes#3103
* Enable enter key interaction on ui launcher buttons fixes#3092
* Update accessibility names on buttons and fields where the current readout does not make sense, fixes#3089
* Fixed issue where you could not tab out of multiline textfields
* Add overlay to the launcher image to increase contrast
* Slightly improves readability of Start button fixes#3096
We decided to keep the all caps to indicate call to action
* Add start button to have default focus which enables quick start by pressing enter or space on startup
* Removed overriden object name
* Update color label text for better clarity fixes#3094
The actual fix is in #9a7e8e1
* Add `esc` keypress to exit the launcher fixes#3097
* add placeholder text for profile name fixes#3101
* Fixed issue with properties, assets, and keybindings multiline readout, fixes#3098
* Change tab order of properties, assets, and keybindings: text area -> edit button, fixes#3099
* Add prompt to user warning of unsaved changes in profile editor
* Add error message dialog fixes#3100
* Removed unused code
* Remove hardcoded color for information text in cameradialog
* Don't compare profile files but profiles instead
* Add same focus outline to all buttons in launcher
---------
Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
# To run the script
Make sure to install the latest Python API version `openspace-api 0.1.2`
The script is located in `OpenSpace/support/assetvalidation`, the main script takes a few command line arguments
`--dir` - specify the OpenSpace directory
`--filter` - optionally supply a regex string to filter which assets to validate
`--verbose` - flag to print debug info to log and also console (default off), if off only warnings and errors are logged
`--start` - flag to start OpenSpace as a subprocess (default on) if this is off it assumes OpenSpace is already running, useful if you want to run OpenSpace via Visual Studio for example.
`--at` - specify an index to start at a specific asset
run eg:
`python main.py --dir="C:/User/Desktop/OpenSpace" --filter="examples" --verbose=True --start=False --at=35`
* remove code for controlling group sorting in ImGui
We only use this for debug and the sorting here is no longer relevant
* Add feature to add custom ordering to UI groups
* Tiny cleanup
* Add numerical ordering for night sky planets
* Update Lua function name and create an event when ordering updated
* Set top-level ordering
* Add function documentation
* Add a custom ordering that previously was hardcoded in UI
* Apply suggestions from code review
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Rename GUI ordering function
* Update GUI hash
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Remove events for scenegraphnodes and screenspacerenderables
* Add events for updating the property tree
* Remove duplicate function calls
* Update src/properties/propertyowner.cpp
Co-authored-by: Emma Broman <emma.broman@liu.se>
* Address PR comments and make helper functions with better comments
* Make uri function not return the identifier if the uri is not valid
* Rename fullyQualifiedIdentifier to uri
* Update gui hash
---------
Co-authored-by: Ylva Selling <ylva.selling@liu.se>
Co-authored-by: Emma Broman <emma.broman@liu.se>
* Add model vertex color support
* Fix an issue with the Tiangong model not loading properly and set a correct bounding sphere size for it
* Update caching for models
* Update previous model examples to the new format
* And add a new example to test the new vertex colors support
* Apply suggestions from code review
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Add a model example with lighting
* Improve the basic example and add a separate example for vertex colors
* Add visual test for vertex colors (#3348)
* Update the readme file for the visual tests
* Add asset instruction to the visual testing readme
* Add visual test for RenderableModel with vertex colors
* Apply suggestions from code review
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Update test when asset changed name
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Update Ghoul
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* 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>
* Add possiblity to sort SGNs in GUI based on numerical value
And apply to grids
* Fix mistake in docs
* Apply suggestions from code review
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
* Rename Order -> Ordering and remove unused getter functions
* Update GUI hash to match the UI changes
---------
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>