2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-12-27 12:31:50 +00:00

chore: add system test to make sure reusing global assets is safe

This commit is contained in:
Jan Laupetin
2025-12-25 14:58:19 +01:00
parent 6711cf0afe
commit 2442d7160c
11 changed files with 725 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
>game,T6
material,,Suzanne
material,,Suzanne2
xmodel,Suzanne1
xmodel,Suzanne2

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,20 @@
{
"$schema": "http://openassettools.dev/schema/xmodel.v1.json",
"_game": "t6",
"_type": "xmodel",
"_version": 2,
"flags": 2621440,
"lightingOriginOffset": {
"x": 0.0,
"y": 0.0,
"z": 0.5
},
"lightingOriginRange": 0.5,
"lods": [
{
"distance": 11447.6904296875,
"file": "model_export/Suzanne1.gltf"
}
],
"type": "rigid"
}

View File

@@ -0,0 +1,20 @@
{
"$schema": "http://openassettools.dev/schema/xmodel.v1.json",
"_game": "t6",
"_type": "xmodel",
"_version": 2,
"flags": 2621440,
"lightingOriginOffset": {
"x": 0.0,
"y": 0.0,
"z": 0.5
},
"lightingOriginRange": 0.5,
"lods": [
{
"distance": 11447.6904296875,
"file": "model_export/Suzanne2.gltf"
}
],
"type": "rigid"
}

View File

@@ -0,0 +1,4 @@
>game,T6
ignore,Ignored
xmodel,Suzanne2

View File

@@ -0,0 +1,77 @@
{
"$schema": "http://openassettools.dev/schema/material.v1.json",
"_game": "t6",
"_type": "material",
"_version": 1,
"cameraRegion": "none",
"constants": [],
"contents": 1,
"gameFlags": [],
"layeredSurfaceTypes": 536870912,
"sortKey": 4,
"stateBits": [
{
"alphaTest": "disabled",
"blendOpAlpha": "disabled",
"blendOpRgb": "disabled",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disabled",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "zero",
"polygonOffset": "offset0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "one"
}
],
"stateBitsEntry": [
-1,
-1,
0,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1
],
"stateFlags": 0,
"surfaceFlags": 0,
"surfaceTypeBits": 0,
"techniqueSet": "trivial_floatz_2992w610",
"textureAtlas": {
"columns": 1,
"rows": 1
},
"textures": []
}

View File

@@ -0,0 +1,77 @@
{
"$schema": "http://openassettools.dev/schema/material.v1.json",
"_game": "t6",
"_type": "material",
"_version": 1,
"cameraRegion": "none",
"constants": [],
"contents": 1,
"gameFlags": [],
"layeredSurfaceTypes": 536870912,
"sortKey": 4,
"stateBits": [
{
"alphaTest": "disabled",
"blendOpAlpha": "disabled",
"blendOpRgb": "disabled",
"colorWriteAlpha": true,
"colorWriteRgb": true,
"cullFace": "back",
"depthTest": "disabled",
"depthWrite": false,
"dstBlendAlpha": "zero",
"dstBlendRgb": "zero",
"polygonOffset": "offset0",
"polymodeLine": false,
"srcBlendAlpha": "one",
"srcBlendRgb": "one"
}
],
"stateBitsEntry": [
-1,
-1,
0,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1
],
"stateFlags": 0,
"surfaceFlags": 0,
"surfaceTypeBits": 0,
"techniqueSet": "trivial_floatz_2992w610",
"textureAtlas": {
"columns": 1,
"rows": 1
},
"textures": []
}

View File

@@ -0,0 +1 @@
techniqueset,trivial_floatz_2992w610
1 techniqueset trivial_floatz_2992w610