mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 11:09:37 -06:00
Add a Test Wizard, start recreating new tests, add new functions to create new Lua function returning Profile information (#3734)
* Add new Lua functions to request profile names. Next version of the wizard * Replacecurrently existing tests
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "examples/renderable/renderableboxgrid/boxgrid.asset"
|
||||
},
|
||||
{
|
||||
"type": "navigationstate",
|
||||
"value": {
|
||||
"anchor": "Root",
|
||||
"position": [
|
||||
148.34991782140776,
|
||||
111.09438358963658,
|
||||
179.03746448970497
|
||||
],
|
||||
"up": [
|
||||
-0.3239370352516554,
|
||||
0.9004344829627251,
|
||||
-0.290314551967375
|
||||
],
|
||||
"timestamp": "2025 JUN 29 21:46:53"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "examples/renderable/renderableboxgrid/boxgrid_size.asset"
|
||||
},
|
||||
{
|
||||
"type": "navigationstate",
|
||||
"value": {
|
||||
"anchor": "Root",
|
||||
"position": [
|
||||
196.89113053945766,
|
||||
126.72162461789465,
|
||||
233.71127311578175
|
||||
],
|
||||
"up": [
|
||||
-0.2928242525991165,
|
||||
0.9220208783566536,
|
||||
-0.25324189417273346
|
||||
],
|
||||
"timestamp": "2025 JUN 29 21:47:10"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "examples/renderable/renderableboxgrid/boxgrid_styled.asset"
|
||||
},
|
||||
{
|
||||
"type": "navigationstate",
|
||||
"value": {
|
||||
"anchor": "Root",
|
||||
"position": [
|
||||
8.007752866439407,
|
||||
3.20767983742267,
|
||||
5.058328191272642
|
||||
],
|
||||
"up": [
|
||||
-0.34240036184625194,
|
||||
0.9380684184549688,
|
||||
-0.05281699068433604
|
||||
],
|
||||
"timestamp": "2025 JUN 29 21:48:56"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "examples/renderable/renderableradialgrid/radialgrid_styled.asset"
|
||||
},
|
||||
{
|
||||
"type": "navigationstate",
|
||||
"value": {
|
||||
"anchor": "Root",
|
||||
"position": [
|
||||
63905419.406953365,
|
||||
28871758.378587566,
|
||||
37594157.77224797
|
||||
],
|
||||
"up": [
|
||||
-0.30360525788480086,
|
||||
0.9316919170197665,
|
||||
-0.19943424767260037
|
||||
],
|
||||
"timestamp": "2025 JUN 29 21:55:00"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "examples/renderable/renderableradialgrid/radialgrid_styled.asset"
|
||||
},
|
||||
{
|
||||
"type": "navigationstate",
|
||||
"value": {
|
||||
"anchor": "Root",
|
||||
"position": [
|
||||
44692689.955625996,
|
||||
57192191.96103361,
|
||||
32594760.36539277
|
||||
],
|
||||
"up": [
|
||||
-0.6023197179846878,
|
||||
0.694734783111249,
|
||||
-0.39313424992260837
|
||||
],
|
||||
"timestamp": "2025 JUN 29 21:55:27"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "examples/renderable/renderableradialgrid/radialgrid_styled.asset"
|
||||
},
|
||||
{
|
||||
"type": "navigationstate",
|
||||
"value": {
|
||||
"anchor": "RenderableCartesianAxes_Example_Parent",
|
||||
"position": [
|
||||
-2702172.8251342773,
|
||||
76997053.80488586,
|
||||
24395795.36685562
|
||||
],
|
||||
"pitch": 0.0014819549212940508,
|
||||
"referenceFrame": "Root",
|
||||
"up": [
|
||||
0.2547153819399344,
|
||||
0.3001921369283056,
|
||||
-0.9192414019884061
|
||||
],
|
||||
"yaw": -0.006066943131778283,
|
||||
"timestamp": "2025 JUN 29 21:55:55"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
31
visualtests/example/renderable/renderabledisc/disc.ostest
Normal file
31
visualtests/example/renderable/renderabledisc/disc.ostest
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "examples/renderable/renderableradialgrid/radialgrid_styled.asset"
|
||||
},
|
||||
{
|
||||
"type": "navigationstate",
|
||||
"value": {
|
||||
"anchor": "RenderableDisc_Example",
|
||||
"position": [
|
||||
-67.72974865535761,
|
||||
184.53855756453308,
|
||||
-107.47172543683136
|
||||
],
|
||||
"pitch": 0.005038942674576484,
|
||||
"up": [
|
||||
0.21152495496213536,
|
||||
-0.4327372314619595,
|
||||
-0.8763536283572437
|
||||
],
|
||||
"yaw": 0.004635536562575693,
|
||||
"timestamp": "2025 JUN 29 21:57:32"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "examples/renderable/renderableradialgrid/radialgrid_styled.asset"
|
||||
},
|
||||
{
|
||||
"type": "navigationstate",
|
||||
"value": {
|
||||
"anchor": "RenderableDisc_Example_Ellipse",
|
||||
"position": [
|
||||
-8.912373577600023,
|
||||
240.7060758193548,
|
||||
-143.98449319167156
|
||||
],
|
||||
"pitch": 0.005038942674584544,
|
||||
"up": [
|
||||
0.223651402188523,
|
||||
-0.4942286228867445,
|
||||
-0.8400703057593334
|
||||
],
|
||||
"yaw": 0.004635536562576999,
|
||||
"timestamp": "2025 JUN 29 21:57:48"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "examples/renderable/renderableradialgrid/radialgrid_styled.asset"
|
||||
},
|
||||
{
|
||||
"type": "navigationstate",
|
||||
"value": {
|
||||
"anchor": "RenderableDisc_Example_WithHole",
|
||||
"position": [
|
||||
-8.599759281586872,
|
||||
232.26297144876608,
|
||||
-138.9340344658343
|
||||
],
|
||||
"pitch": 0.005038942674602147,
|
||||
"up": [
|
||||
0.22365140219621574,
|
||||
-0.4942286230944608,
|
||||
-0.8400703056350822
|
||||
],
|
||||
"yaw": 0.004635536562578271,
|
||||
"timestamp": "2025 JUN 29 21:58:02"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "examples/renderable/renderableradialgrid/radialgrid.asset"
|
||||
},
|
||||
{
|
||||
"type": "navigationstate",
|
||||
"value": {
|
||||
"anchor": "Root",
|
||||
"position": [
|
||||
35.189098687420646,
|
||||
-197.5563370587702,
|
||||
192.37691515643166
|
||||
],
|
||||
"up": [
|
||||
0.09920876938151396,
|
||||
0.7032251960023145,
|
||||
0.7040113236200906
|
||||
],
|
||||
"timestamp": "2025 JUN 29 21:50:18"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "examples/renderable/renderableradialgrid/radialgrid_radii.asset"
|
||||
},
|
||||
{
|
||||
"type": "navigationstate",
|
||||
"value": {
|
||||
"anchor": "Root",
|
||||
"position": [
|
||||
35.189098687420646,
|
||||
-197.5563370587702,
|
||||
192.37691515643166
|
||||
],
|
||||
"up": [
|
||||
0.09920876938151396,
|
||||
0.7032251960023145,
|
||||
0.7040113236200906
|
||||
],
|
||||
"timestamp": "2025 JUN 29 21:51:05"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "examples/renderable/renderableradialgrid/radialgrid_segments.asset"
|
||||
},
|
||||
{
|
||||
"type": "navigationstate",
|
||||
"value": {
|
||||
"anchor": "Root",
|
||||
"position": [
|
||||
1.265863249593815,
|
||||
-7.106726689094225,
|
||||
6.9204064909399365
|
||||
],
|
||||
"up": [
|
||||
0.09920876938151044,
|
||||
0.7032251960023155,
|
||||
0.7040113236200899
|
||||
],
|
||||
"timestamp": "2025 JUN 29 21:51:42"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "examples/renderable/renderableradialgrid/radialgrid_segments_ring.asset"
|
||||
},
|
||||
{
|
||||
"type": "navigationstate",
|
||||
"value": {
|
||||
"anchor": "Root",
|
||||
"position": [
|
||||
1.7911782364431361,
|
||||
-7.364203156090494,
|
||||
6.523817318190268
|
||||
],
|
||||
"up": [
|
||||
0.1260691167163834,
|
||||
0.6748194908618241,
|
||||
0.727134947972754
|
||||
],
|
||||
"timestamp": "2025 JUN 29 21:52:41"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "examples/renderable/renderableradialgrid/radialgrid_styled.asset"
|
||||
},
|
||||
{
|
||||
"type": "navigationstate",
|
||||
"value": {
|
||||
"anchor": "Root",
|
||||
"position": [
|
||||
1.7911782364431361,
|
||||
-7.364203156090494,
|
||||
6.523817318190268
|
||||
],
|
||||
"up": [
|
||||
0.1260691167163834,
|
||||
0.6748194908618241,
|
||||
0.727134947972754
|
||||
],
|
||||
"timestamp": "2025 JUN 29 21:53:14"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "examples/renderable/renderableradialgrid/radialgrid_styled.asset"
|
||||
},
|
||||
{
|
||||
"type": "navigationstate",
|
||||
"value": {
|
||||
"anchor": "ConstantRotation_Example",
|
||||
"position": [
|
||||
-0.38629884248260915,
|
||||
8.642690818782182,
|
||||
-5.015443012858863
|
||||
],
|
||||
"pitch": 0.005038942674599358,
|
||||
"up": [
|
||||
0.22314223630308,
|
||||
-0.4817832470456189,
|
||||
-0.8474033545153344
|
||||
],
|
||||
"yaw": 0.004635536562583947,
|
||||
"timestamp": "2025 JUN 29 21:59:39"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
32
visualtests/example/scale/staticscale/static.ostest
Normal file
32
visualtests/example/scale/staticscale/static.ostest
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "examples/renderable/renderableradialgrid/radialgrid_styled.asset"
|
||||
},
|
||||
{
|
||||
"type": "navigationstate",
|
||||
"value": {
|
||||
"anchor": "StaticScale_Example",
|
||||
"position": [
|
||||
264196284048.23468,
|
||||
181430908315.68057,
|
||||
195898482141.12296
|
||||
],
|
||||
"pitch": 0.0050389426745942245,
|
||||
"referenceFrame": "Root",
|
||||
"up": [
|
||||
0.7071424850081574,
|
||||
-0.40070577280747854,
|
||||
-0.5825670687013211
|
||||
],
|
||||
"yaw": 0.004635536562591554,
|
||||
"timestamp": "2025 JUN 29 22:00:56"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "examples/renderable/renderableradialgrid/radialgrid_styled.asset"
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "examples/renderable/renderableradialgrid/radialgrid_styled.asset"
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "examples/renderable/renderableradialgrid/radialgrid_styled.asset"
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "examples/renderable/renderableradialgrid/radialgrid_styled.asset"
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "examples/renderable/renderableradialgrid/radialgrid_styled.asset"
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user