Some model asset files clean up

This commit is contained in:
Malin E
2023-03-01 17:31:10 +01:00
parent e3a0918e7c
commit bc647e8f23
6 changed files with 25 additions and 15 deletions
+4 -2
View File
@@ -32,14 +32,16 @@ local obj = {
Renderable = {
Type = "RenderableModel",
GeometryFile = model .. "BoxAnimated.glb",
ModelScale = 1.0,
ModelScale = 1000,
LightSources = {
sun.LightSource
},
PerformShading = true,
EnableFaceCulling = true
},
InteractionSphere = 1000.0,
InteractionSphere = 900,
ApproachFactor = 50.0,
ReachFactor = 5.0,
OnApproach = { "os.example.generic" },
OnReach = { "os.example.generic" },
OnRecede = { "os.example.generic" },
+5 -2
View File
@@ -1,3 +1,4 @@
local sun = asset.require("scene/solarsystem/sun/sun")
local earth = asset.require("scene/solarsystem/planets/earth/earth")
local sunTransforms = asset.require("scene/solarsystem/sun/transforms")
@@ -35,8 +36,10 @@ local Example_GlobeRotation = {
},
Renderable = {
Type = "RenderableModel",
Body = "NEW HORIZONS",
GeometryFile = models .. "NewHorizonsCleanModel.obj"
GeometryFile = models .. "NewHorizonsCleanModel.obj",
LightSources = {
sun.LightSource
}
},
GUI = {
Path = "/Example"
+9 -4
View File
@@ -1,3 +1,4 @@
local sun = asset.require("scene/solarsystem/sun/sun")
local earth = asset.require("scene/solarsystem/planets/earth/earth")
local sunTransforms = asset.require("scene/solarsystem/sun/transforms")
@@ -22,8 +23,10 @@ local Example_Fixed_Height = {
},
Renderable = {
Type = "RenderableModel",
Body = "NEW HORIZONS",
GeometryFile = models .. "NewHorizonsCleanModel.obj"
GeometryFile = models .. "NewHorizonsCleanModel.obj",
LightSources = {
sun.LightSource
}
},
GUI = {
Path = "/Example"
@@ -44,8 +47,10 @@ local Example_Adaptive_Height = {
},
Renderable = {
Type = "RenderableModel",
Body = "NEW HORIZONS",
GeometryFile = models .. "NewHorizonsCleanModel.obj"
GeometryFile = models .. "NewHorizonsCleanModel.obj",
LightSources = {
sun.LightSource
}
},
GUI = {
Path = "/Example"
@@ -30,7 +30,7 @@ local Apollo8Launch = {
},
GUI = {
Name = "Apollo 8 Launch Capsule",
Path = "/Solar System/Missions/Apollo"
Path = "/Solar System/Missions/Apollo/8"
}
}
@@ -42,7 +42,7 @@ local Apollo8 = {
},
GUI = {
Name = "Apollo 8",
Path = "/Solar System/Missions/Apollo"
Path = "/Solar System/Missions/Apollo/8"
}
}
@@ -73,7 +73,7 @@ local Apollo8Model = {
GUI = {
Hidden = true,
Name = "Apollo 8 Model",
Path = "/Solar System/Missions/Apollo"
Path = "/Solar System/Missions/Apollo/8"
}
}
@@ -89,7 +89,7 @@ local Apollo8Pivot = {
},
GUI = {
Name = "Apollo 8 Pivot",
Path = "/Solar System/Missions/Apollo"
Path = "/Solar System/Missions/Apollo/8"
}
}
@@ -25,7 +25,7 @@ local LaunchTrail = {
},
GUI = {
Name = "Apollo 8 Launch Trail",
Path = "/Solar System/Missions/Apollo"
Path = "/Solar System/Missions/Apollo/8"
}
}
@@ -49,7 +49,7 @@ local MoonTrail = {
},
GUI = {
Name = "Apollo 8 Moon Trail",
Path = "/Solar System/Missions/Apollo"
Path = "/Solar System/Missions/Apollo/8"
}
}
@@ -73,7 +73,7 @@ local EarthBarycenterTrail = {
},
GUI = {
Name = "Apollo 8 Earth Barycenter Trail",
Path = "/Solar System/Missions/Apollo"
Path = "/Solar System/Missions/Apollo/8"
}
}