Fix overdraw issue that caused flickering in RenderableSphericalGrid

Also add more visual tests for the class
This commit is contained in:
Alexander Bock
2025-09-30 21:17:18 +02:00
parent 187d1fbb2c
commit 97e81208cb
7 changed files with 326 additions and 59 deletions

View 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"
}
]
}

View File

@@ -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"
}
]
}

View File

@@ -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"
}
]
}

View 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"
}
]
}

View 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"
}
]
}