From ca4fb75eb402234382140ee432466506e0fb09c2 Mon Sep 17 00:00:00 2001 From: Micah Acinapura Date: Fri, 12 Jun 2020 21:41:07 -0400 Subject: [PATCH 1/2] added rotation to correct deepsky objects --- .../scene/digitaluniverse/deepsky.asset | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/data/assets/scene/digitaluniverse/deepsky.asset b/data/assets/scene/digitaluniverse/deepsky.asset index af41b8d18c..035d7fc50a 100644 --- a/data/assets/scene/digitaluniverse/deepsky.asset +++ b/data/assets/scene/digitaluniverse/deepsky.asset @@ -43,6 +43,12 @@ local deepSkyPoints = { --CorrectionSizeFactor = 10.45 EnablePixelSizeControl = true }, + Transform = { + Rotation = { + Type = "StaticRotation", + Rotation = { 0, 0, 3.14159265359 } + } + }, GUI = { Name = "Deep Sky Objects Points", Path = "/Universe/Galaxies" @@ -66,10 +72,45 @@ local deepSkyImages = { --FadeInDistances = {0.001, 0.05010}, PlaneMinSize = 5.0 }, + Transform = { + Rotation = { + Type = "StaticRotation", + Rotation = {3.14159265359, 3.14159265359, 0 } + } + }, GUI = { Name = "Deep Sky Objects Images", Path = "/Universe/Galaxies" } } +local deepSkyImages2 = { + Identifier = "DeepSkyObjectsImages2", + Renderable = { + Type = "RenderablePlanesCloud", + Enabled = false, + Color = { 1.0, 1.0, 1.0 }, + Transparency = 0.99, + ScaleFactor = 1.0, + File = speck .. "/dso.speck", + TexturePath = textures, + Luminosity = "radius", + ScaleLuminosity = 0.001, + Unit = "Mpc", + -- Fade in value in the same unit as "Unit" + --FadeInDistances = {0.001, 0.05010}, + PlaneMinSize = 5.0 + }, + Transform = { + Rotation = { + Type = "StaticRotation", + Rotation = {3.14159265359, 3.14159265359, 0 } + } + }, + GUI = { + Name = "Deep Sky Objects Images2", + Path = "/Universe/Galaxies" + } +} + assetHelper.registerSceneGraphNodesAndExport(asset, { deepSkyPoints, deepSkyImages }) From 57cfa0a3d47df38652573d2b48c6e5d1190d1d4a Mon Sep 17 00:00:00 2001 From: Micah Acinapura Date: Fri, 12 Jun 2020 21:42:08 -0400 Subject: [PATCH 2/2] removing test node --- .../scene/digitaluniverse/deepsky.asset | 29 ------------------- 1 file changed, 29 deletions(-) diff --git a/data/assets/scene/digitaluniverse/deepsky.asset b/data/assets/scene/digitaluniverse/deepsky.asset index 035d7fc50a..66793c377f 100644 --- a/data/assets/scene/digitaluniverse/deepsky.asset +++ b/data/assets/scene/digitaluniverse/deepsky.asset @@ -84,33 +84,4 @@ local deepSkyImages = { } } -local deepSkyImages2 = { - Identifier = "DeepSkyObjectsImages2", - Renderable = { - Type = "RenderablePlanesCloud", - Enabled = false, - Color = { 1.0, 1.0, 1.0 }, - Transparency = 0.99, - ScaleFactor = 1.0, - File = speck .. "/dso.speck", - TexturePath = textures, - Luminosity = "radius", - ScaleLuminosity = 0.001, - Unit = "Mpc", - -- Fade in value in the same unit as "Unit" - --FadeInDistances = {0.001, 0.05010}, - PlaneMinSize = 5.0 - }, - Transform = { - Rotation = { - Type = "StaticRotation", - Rotation = {3.14159265359, 3.14159265359, 0 } - } - }, - GUI = { - Name = "Deep Sky Objects Images2", - Path = "/Universe/Galaxies" - } -} - assetHelper.registerSceneGraphNodesAndExport(asset, { deepSkyPoints, deepSkyImages })