Skip to content

data rings

Laurent Deru edited this page Oct 18, 2020 · 3 revisions

Rings object is similar to the surface object but with much more limited parameters

Parameters

  • inner-radius: Radius of the inner side of the rings, mandatory, in Kilometres.
  • outer-radius: Radius of the outer side of the rings, mandatory, in Kilometres.
  • appearance: Appearance of the rings, mandatory.
  • lighting-model: Lighting model used to render the rings, optional.
  • attribution: Source of the ring assets, optional

Example

- planet:
    name: Saturn
    radius: 60268
    appearance:
      texture: textures/saturn-2011-askaniy.png
    rings:
      inner-radius: 74500
      outer-radius: 140220
      appearance:
        texture: textures/saturn-rings-gh.png
        transparency: true
      attribution: hutchison