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

A CosmoScout VR plugin which draws GTLF models at positions based on SPICE data.

License

Notifications You must be signed in to change notification settings

cosmoscout/csp-satellites

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Satellites for CosmoScout VR

A CosmoScout VR plugin which draws GTLF models at positions based on SPICE data. It uses physically based rendering for surface shading. 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:

{
  ...
  "plugins": {
    ...
    "csp-satellites": {
      "satellites": {
        <anchor name>: {
          "modelFile": <path to model file>,     // .glb or .gltf
          "environmentMap": <path to env map>,   // .dds, .ktx or .kmg
          "size": <float>,                       // The radius in meters.
          "transformation": {                    // optional
              "translation": [<x>, <y>, <z>],
              "rotation": [<x>, <y>, <z>, <w>],  // Quaternion
              "scale": <float>
          }
        },
        ... <more satellites> ...
      }
    }
  }
}

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 GTLF models at positions based on SPICE data.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published