RenderableSolarImageryProjection

Inherits Renderable

A RenderableSolarImageryProjection projects solar observations from spacecraft instruments onto the surface of the Sun. The renderable uses one or more RenderableSolarImagery nodes as input and maps their imagery onto a solar sphere from the observing spacecraft’s perspective.

Each dependent RenderableSolarImagery provides the image texture, spacecraft position, and viewing geometry needed for the projection. This allows imagery captured from different spacecraft and instruments (e.g., SDO or STEREO) to be visualized directly on the Sun simultaneously.

Multiple observatories can be projected at once, allowing solar features observed from different viewpoints to be compared on the solar surface.

Members

Name

Documentation

Type

Description

Optional

DependentNodes

List of scene graph node identifiers that reference RenderableSolarImagery nodes. The imagery from these nodes is projected onto the solar surface from the perspective of the observing spacecraft.

Table

Table parameters

No

DimInAtmosphere

Decides if the object should be dimmed (i.e. faded out) when the camera is in the sunny part of an atmosphere.

Boolean

Value of type ‘Boolean’

Yes

Enabled

Determines whether this object will be visible or not.

Boolean

Value of type ‘Boolean’

Yes

Opacity

This value determines the opacity of this renderable. A value of 0 means completely transparent.

Double

In range: ( 0, 1)

Yes

RenderBinMode

A value that specifies if the renderable should be rendered in the Background, Opaque, Pre-/PostDeferredTransparency, Overlay, or Sticker rendering step.

String

In list { Background, Opaque, PreDeferredTransparent, Overlay, PostDeferredTransparent, Sticker }

Yes

Tag

A single tag or a list of tags that this renderable will respond to when setting properties.

Table, or String

Value of type ‘Table’, or Value of type ‘String’

Yes

Type

The type of the renderable.

String

Value of type ‘String’

Yes

Inherited members from Renderable

Name

Documentation

Type

Description

Optional

DimInAtmosphere

Decides if the object should be dimmed (i.e. faded out) when the camera is in the sunny part of an atmosphere.

Boolean

Value of type ‘Boolean’

Yes

Enabled

Determines whether this object will be visible or not.

Boolean

Value of type ‘Boolean’

Yes

Opacity

This value determines the opacity of this renderable. A value of 0 means completely transparent.

Double

In range: ( 0, 1)

Yes

RenderBinMode

A value that specifies if the renderable should be rendered in the Background, Opaque, Pre-/PostDeferredTransparency, Overlay, or Sticker rendering step.

String

In list { Background, Opaque, PreDeferredTransparent, Overlay, PostDeferredTransparent, Sticker }

Yes

Tag

A single tag or a list of tags that this renderable will respond to when setting properties.

Table, or String

Value of type ‘Table’, or Value of type ‘String’

Yes

Type

The type of the renderable.

String

Value of type ‘String’

Yes

Table parameters for DependentNodes

List of scene graph node identifiers that reference RenderableSolarImagery nodes. The imagery from these nodes is projected onto the solar surface from the perspective of the observing spacecraft.

  • Optional: No

Name

Documentation

Type

Description

Optional

*

Identifier

An identifier string. May not contain ‘.’, spaces, newlines, or tabs

Yes

Asset Examples

 1local sunTransforms = asset.require("scene/solarsystem/sun/transforms")
 2local sdoImagery = asset.require("./sdoimagery")
 3local stereoImagery = asset.require("./stereoimagery")
 4
 5
 6
 7local SolarImageryProjection = {
 8  Identifier = "SunProjection_Stereo_Sdo",
 9  Parent = sunTransforms.SunIAU.Identifier,
10  Renderable = {
11    Type = "RenderableSolarImageryProjection",
12    DependentNodes = {
13      stereoImagery.Imagery.Identifier,
14      sdoImagery.Imagery.Identifier
15    }
16  },
17  GUI = {
18    Name = "Sun Projection",
19    Path = "/Solar System/Sun/Solar Imagery",
20    Description = [[Projects solar imagery from the spacecraft observatories SDO and
21      STEREO-A onto the surface of the Sun. Images are mapped from their observing
22      spacecraft perspectives, allowing solar features captured by different instruments
23      and viewpoints to be visualized directly on the solar sphere.]]
24  }
25}
26
27
28asset.onInitialize(function ()
29  openspace.addSceneGraphNode(SolarImageryProjection)
30end)
31
32asset.onDeinitialize(function ()
33  openspace.removeSceneGraphNode(SolarImageryProjection)
34end)
35
36
37
38asset.meta = {
39  Name = "Solar Imagery Projection",
40  Description = [[Projects solar imagery from the spacecraft observatories SDO and
41    STEREO-A onto the surface of the Sun, mapping images from their observing viewpoints
42    onto the solar sphere.]],
43  Author = "OpenSpace Team",
44  URL = "https://openspaceproject.com",
45  License = "MIT license"
46}