Skip to content
This repository has been archived by the owner on May 14, 2020. It is now read-only.

A CosmoScout VR plugin which draws a clickable label at each celestial anchor.

License

Notifications You must be signed in to change notification settings

cosmoscout/csp-anchor-labels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anchor Labels for CosmoScout VR

A CosmoScout VR plugin which draws a clickable label at each celestial anchor. When activated, the user automatically travels to the according body. The size and overlapping-behavior of the labels can be adjusted. This plugin is built as part of CosmoScout's build process. See the main repository for instructions.

This is a default plugin of CosmoScout VR. Hence, any issues should be reported to the main issue tracker. There you can add a label indicating which plugins are affected.

Configuration

This plugin can be enabled with the following configuration in your settings.json. The given values present some good starting values for your customization:

{
  ...
  "plugins": {
    ...
    "csp-anchor-labels": {
      "enabled": true,               // If true the labels will be displayed at startup.
      "enableDepthOverlap": true,    // If true the labels will ignore depth for collision.
      "ignoreOverlapThreshold": 0.1, // How close labels can get without one being disabled.
      "labelScale": 1.2,             // The size of the labels.
      "depthScale": 1.0,             // Determines how much smaller far away labels are.
      "labelOffset": 0.2             // How far over the anchor's center the label is placed.
     }
  }
}

More in-depth information and some tutorials will be provided soon.

MIT License

Copyright (c) 2019 German Aerospace Center (DLR)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A CosmoScout VR plugin which draws a clickable label at each celestial anchor.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published