Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
OpenSpace
Commits
ff89d786
Commit
ff89d786
authored
2 years ago
by
Emma Broman
Browse files
Options
Download
Email Patches
Plain Diff
Use Sun position instead of SSB in Sun light source (see #2223)
parent
877e0fb6
project/exoplanet-explorer
feature/WSA
feature/geojson
feature/grid-labels
feature/labels-rendering
feature/model-opacity
feature/molecule_rendering
feature/skybrowser-drag-and-drop
feature/skybrowser-reload
feature/various-changes
feature/video-on-globe
feature/xbox-update
issue/2029
issue/2093
issue/2133
issue/2207
issue/2209
issue/2212
issue/2236
issue/2259
issue/2261
issue/2266
issue/2269
jenkins/2286
project/2021-wisdome-installation
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
data/assets/scene/solarsystem/sun/sun.asset
+3
-3
data/assets/scene/solarsystem/sun/sun.asset
with
3 additions
and
3 deletions
+3
-3
data/assets/scene/solarsystem/sun/sun.asset
+
3
-
3
View file @
ff89d786
...
...
@@ -48,7 +48,7 @@ local SunLabel = {
local LightSource = {
Type = "SceneGraphLightSource",
Identifier = "Sun",
Node =
transforms.SolarSystemBarycenter
.Identifier,
Node =
Sun
.Identifier,
Intensity = 1.0
}
...
...
@@ -56,12 +56,12 @@ asset.onInitialize(function()
openspace.addSceneGraphNode(Sun)
openspace.addSceneGraphNode(SunLabel)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(SunLabel)
openspace.removeSceneGraphNode(Sun)
end)
asset.export(Sun)
asset.export(SunLabel)
asset.export("LightSource", LightSource)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help