mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Fix overdraw issue that caused flickering in RenderableSphericalGrid
Also add more visual tests for the class
This commit is contained in:
64
visualtests/misc/renderablesphericalgrid/combined.ostest
Normal file
64
visualtests/misc/renderablesphericalgrid/combined.ostest
Normal file
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "scene/digitaluniverse/grids.asset"
|
||||
},
|
||||
{
|
||||
"type": "navigationstate",
|
||||
"value": {
|
||||
"anchor": "Root",
|
||||
"position": [
|
||||
5.772931777994144e+17,
|
||||
1.4835370783876826e+18,
|
||||
1.3873651729766423e+18
|
||||
],
|
||||
"up": [
|
||||
-0.928522915381148,
|
||||
0.3711269304441822,
|
||||
-0.01048795076135034
|
||||
],
|
||||
"timestamp": "2025 SEP 29 18:58:29"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"value": {
|
||||
"property": "Scene.RadioSphere.Renderable.Enabled",
|
||||
"value": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"value": {
|
||||
"property": "Scene.RadioSphere.Renderable.Opacity",
|
||||
"value": 0.25
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"value": {
|
||||
"property": "Scene.RadioSphere.Renderable.LineWidth",
|
||||
"value": 10
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"value": {
|
||||
"property": "Scene.RadioSphere.Renderable.LongSegments",
|
||||
"value": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"value": {
|
||||
"property": "Scene.RadioSphere.Renderable.LatSegments",
|
||||
"value": 128
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "scene/digitaluniverse/grids.asset"
|
||||
},
|
||||
{
|
||||
"type": "navigationstate",
|
||||
"value": {
|
||||
"anchor": "Root",
|
||||
"position": [
|
||||
5.772931777994144e+17,
|
||||
1.4835370783876826e+18,
|
||||
1.3873651729766423e+18
|
||||
],
|
||||
"up": [
|
||||
-0.928522915381148,
|
||||
0.3711269304441822,
|
||||
-0.01048795076135034
|
||||
],
|
||||
"timestamp": "2025 SEP 29 18:58:29"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"value": {
|
||||
"property": "Scene.RadioSphere.Renderable.Enabled",
|
||||
"value": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"value": {
|
||||
"property": "Scene.RadioSphere.Renderable.LongSegments",
|
||||
"value": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"value": {
|
||||
"property": "Scene.RadioSphere.Renderable.LatSegments",
|
||||
"value": 128
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "scene/digitaluniverse/grids.asset"
|
||||
},
|
||||
{
|
||||
"type": "navigationstate",
|
||||
"value": {
|
||||
"anchor": "Root",
|
||||
"position": [
|
||||
5.772931777994144e+17,
|
||||
1.4835370783876826e+18,
|
||||
1.3873651729766423e+18
|
||||
],
|
||||
"up": [
|
||||
-0.928522915381148,
|
||||
0.3711269304441822,
|
||||
-0.01048795076135034
|
||||
],
|
||||
"timestamp": "2025 SEP 29 18:58:29"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"value": {
|
||||
"property": "Scene.RadioSphere.Renderable.Enabled",
|
||||
"value": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"value": {
|
||||
"property": "Scene.RadioSphere.Renderable.LongSegments",
|
||||
"value": 128
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"value": {
|
||||
"property": "Scene.RadioSphere.Renderable.LatSegments",
|
||||
"value": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
43
visualtests/misc/renderablesphericalgrid/linewidth.ostest
Normal file
43
visualtests/misc/renderablesphericalgrid/linewidth.ostest
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "scene/digitaluniverse/grids.asset"
|
||||
},
|
||||
{
|
||||
"type": "navigationstate",
|
||||
"value": {
|
||||
"anchor": "Root",
|
||||
"position": [
|
||||
5.772931777994144e+17,
|
||||
1.4835370783876826e+18,
|
||||
1.3873651729766423e+18
|
||||
],
|
||||
"up": [
|
||||
-0.928522915381148,
|
||||
0.3711269304441822,
|
||||
-0.01048795076135034
|
||||
],
|
||||
"timestamp": "2025 SEP 29 18:58:29"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"value": {
|
||||
"property": "Scene.RadioSphere.Renderable.Enabled",
|
||||
"value": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"value": {
|
||||
"property": "Scene.RadioSphere.Renderable.LineWidth",
|
||||
"value": 10
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
43
visualtests/misc/renderablesphericalgrid/opacity.ostest
Normal file
43
visualtests/misc/renderablesphericalgrid/opacity.ostest
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"profile": "empty",
|
||||
"commands": [
|
||||
{
|
||||
"type": "asset",
|
||||
"value": "scene/digitaluniverse/grids.asset"
|
||||
},
|
||||
{
|
||||
"type": "navigationstate",
|
||||
"value": {
|
||||
"anchor": "Root",
|
||||
"position": [
|
||||
5.772931777994144e+17,
|
||||
1.4835370783876826e+18,
|
||||
1.3873651729766423e+18
|
||||
],
|
||||
"up": [
|
||||
-0.928522915381148,
|
||||
0.3711269304441822,
|
||||
-0.01048795076135034
|
||||
],
|
||||
"timestamp": "2025 SEP 29 18:58:29"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"value": {
|
||||
"property": "Scene.RadioSphere.Renderable.Enabled",
|
||||
"value": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"value": {
|
||||
"property": "Scene.RadioSphere.Renderable.Opacity",
|
||||
"value": 0.25
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "screenshot"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user