Add Chromium-only Blender WebEngine parity work
This commit is contained in:
118
tests/golden/W-075/modifier_deform_curve_scene.json
Normal file
118
tests/golden/W-075/modifier_deform_curve_scene.json
Normal file
@@ -0,0 +1,118 @@
|
||||
{
|
||||
"blenderVersion": "5.2.0 LTS",
|
||||
"fixture": "modifier_deform_curve_scene.blend",
|
||||
"frame": 1,
|
||||
"greasePencils": [],
|
||||
"meshes": [
|
||||
{
|
||||
"indices": [
|
||||
0,
|
||||
1,
|
||||
4,
|
||||
0,
|
||||
4,
|
||||
3,
|
||||
1,
|
||||
2,
|
||||
5,
|
||||
1,
|
||||
5,
|
||||
4,
|
||||
3,
|
||||
4,
|
||||
7,
|
||||
3,
|
||||
7,
|
||||
6,
|
||||
4,
|
||||
5,
|
||||
8,
|
||||
4,
|
||||
8,
|
||||
7
|
||||
],
|
||||
"object": "DeformCurve",
|
||||
"positions": [
|
||||
-2.863687038421631,
|
||||
-1.9667444229125977,
|
||||
0.027240782976150513,
|
||||
-1.473314881324768,
|
||||
-1.4044939279556274,
|
||||
0.0,
|
||||
-0.16121792793273926,
|
||||
-0.7856674194335938,
|
||||
-0.08452653884887695,
|
||||
-3.3903722763061523,
|
||||
-0.5622504949569702,
|
||||
0.027240782976150513,
|
||||
-2.0,
|
||||
0.0,
|
||||
0.0,
|
||||
-0.6455945372581482,
|
||||
0.6339731216430664,
|
||||
-0.08404737710952759,
|
||||
-3.917057514190674,
|
||||
0.8422434329986572,
|
||||
0.027240782976150513,
|
||||
-2.5266852378845215,
|
||||
1.4044939279556274,
|
||||
0.0,
|
||||
-1.1299711465835571,
|
||||
2.0536136627197266,
|
||||
-0.08356821537017822
|
||||
],
|
||||
"sourceMesh": "DeformCurveMesh",
|
||||
"triangleCount": 8,
|
||||
"vertexCount": 9,
|
||||
"worldMatrix": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodeGroups": [],
|
||||
"objects": [
|
||||
{
|
||||
"modifiers": [
|
||||
{
|
||||
"name": "Curve",
|
||||
"showEditmode": false,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": true,
|
||||
"targetObjects": [
|
||||
"DeformCurveTarget"
|
||||
],
|
||||
"type": "CURVE",
|
||||
"typeCode": 3
|
||||
}
|
||||
],
|
||||
"name": "DeformCurve",
|
||||
"type": "MESH"
|
||||
},
|
||||
{
|
||||
"modifiers": [],
|
||||
"name": "DeformCurveTarget",
|
||||
"type": "CURVE"
|
||||
}
|
||||
],
|
||||
"schemaVersion": 1,
|
||||
"tolerance": {
|
||||
"maxPositionError": 1e-05,
|
||||
"rmsPositionError": 1e-06
|
||||
}
|
||||
}
|
||||
1090
tests/golden/W-075/modifier_deform_scene.json
Normal file
1090
tests/golden/W-075/modifier_deform_scene.json
Normal file
File diff suppressed because it is too large
Load Diff
2083
tests/golden/W-075/modifier_generate_scene.json
Normal file
2083
tests/golden/W-075/modifier_generate_scene.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"reference": "Blender 5.2.0 LTS Subdivision Surface with OpenSubdiv 3.7.0 CPU",
|
||||
"object": "GenerateSubsurf",
|
||||
"vertexCount": 26,
|
||||
"triangleCount": 48,
|
||||
"positions": [-0.5000000596046448, -0.5000000596046448, -0.5000000596046448, 0.5000001192092896, -0.5000000596046448, -0.5000000596046448, 0.5, 0.5000000596046448, -0.5, -0.5, 0.5000000596046448, -0.5000000596046448, -0.5000000596046448, -0.5000000596046448, 0.5000000596046448, 0.5000000596046448, -0.5, 0.5000000596046448, 0.5000000596046448, 0.5000000596046448, 0.5, -0.5000000596046448, 0.5000001192092896, 0.5000000596046448, -0.6095678806304932, 1.862645149230957e-9, -0.6095678806304932, 2.7939677238464355e-9, -0.6095678806304932, -0.6095678806304932, 0.6095678806304932, 1.862645149230957e-9, -0.6095678806304932, -3.725290298461914e-9, 0.6095679402351379, -0.6095679402351379, 1.862645149230957e-9, -0.6095678806304932, 0.6095678806304932, -0.6095678806304932, 2.7939677238464355e-9, 0.6095678806304932, -6.51925802230835e-9, 0.6095678806304932, 0.6095678806304932, 0.6095679402351379, 2.7939677238464355e-9, 0.6095679402351379, -0.6095678806304932, -0.6095678806304932, -9.313225746154785e-10, 0.6095679402351379, -0.6095679402351379, -1.3969838619232178e-8, 0.6095679402351379, 0.6095678806304932, 1.210719347000122e-8, -0.6095679998397827, 0.6095679402351379, -1.4901161193847656e-8, 9.313225746154785e-9, -9.313225746154785e-9, -0.8395062685012817, -8.381903171539307e-9, 1.0244548320770264e-8, 0.8395062685012817, 5.587935447692871e-9, -0.8395062685012817, 2.2351741790771484e-8, 0.8395062685012817, -9.313225746154785e-9, 0, -6.51925802230835e-9, 0.8395062685012817, 9.313225746154785e-10, -0.8395062685012817, 5.587935447692871e-9, -1.862645149230957e-8],
|
||||
"indices": [0, 9, 20, 0, 20, 8, 9, 1, 10, 9, 10, 20, 20, 10, 2, 20, 2, 11, 8, 20, 11, 8, 11, 3, 4, 13, 21, 4, 21, 12, 13, 7, 14, 13, 14, 21, 21, 14, 6, 21, 6, 15, 12, 21, 15, 12, 15, 5, 0, 16, 22, 0, 22, 9, 16, 4, 12, 16, 12, 22, 22, 12, 5, 22, 5, 17, 9, 22, 17, 9, 17, 1, 1, 17, 23, 1, 23, 10, 17, 5, 15, 17, 15, 23, 23, 15, 6, 23, 6, 18, 10, 23, 18, 10, 18, 2, 2, 18, 24, 2, 24, 11, 18, 6, 14, 18, 14, 24, 24, 14, 7, 24, 7, 19, 11, 24, 19, 11, 19, 3, 4, 16, 25, 4, 25, 13, 16, 0, 8, 16, 8, 25, 25, 8, 3, 25, 3, 19, 13, 25, 19, 13, 19, 7]
|
||||
}
|
||||
483
tests/golden/W-075/modifier_geometry_nodes_scene.json
Normal file
483
tests/golden/W-075/modifier_geometry_nodes_scene.json
Normal file
@@ -0,0 +1,483 @@
|
||||
{
|
||||
"blenderVersion": "5.2.0 LTS",
|
||||
"fixture": "modifier_geometry_nodes_scene.blend",
|
||||
"frame": 1,
|
||||
"greasePencils": [],
|
||||
"meshes": [
|
||||
{
|
||||
"indices": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
0,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
7,
|
||||
6,
|
||||
4,
|
||||
6,
|
||||
5,
|
||||
0,
|
||||
4,
|
||||
5,
|
||||
0,
|
||||
5,
|
||||
1,
|
||||
1,
|
||||
5,
|
||||
6,
|
||||
1,
|
||||
6,
|
||||
2,
|
||||
2,
|
||||
6,
|
||||
7,
|
||||
2,
|
||||
7,
|
||||
3,
|
||||
4,
|
||||
0,
|
||||
3,
|
||||
4,
|
||||
3,
|
||||
7
|
||||
],
|
||||
"object": "GeometryNodesObject",
|
||||
"positions": [
|
||||
-0.45710670948028564,
|
||||
-0.7247449159622192,
|
||||
0.0,
|
||||
1.4747449159622192,
|
||||
-0.20710670948028564,
|
||||
0.0,
|
||||
0.9571067094802856,
|
||||
1.7247449159622192,
|
||||
0.0,
|
||||
-0.9747449159622192,
|
||||
1.2071067094802856,
|
||||
0.0,
|
||||
-0.45710670948028564,
|
||||
-0.7247449159622192,
|
||||
2.0,
|
||||
1.4747449159622192,
|
||||
-0.20710670948028564,
|
||||
2.0,
|
||||
0.9571067094802856,
|
||||
1.7247449159622192,
|
||||
2.0,
|
||||
-0.9747449159622192,
|
||||
1.2071067094802856,
|
||||
2.0
|
||||
],
|
||||
"sourceMesh": "GeometryNodesObjectMesh",
|
||||
"triangleCount": 12,
|
||||
"vertexCount": 8,
|
||||
"worldMatrix": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"indices": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
0,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
7,
|
||||
6,
|
||||
4,
|
||||
6,
|
||||
5,
|
||||
0,
|
||||
4,
|
||||
5,
|
||||
0,
|
||||
5,
|
||||
1,
|
||||
1,
|
||||
5,
|
||||
6,
|
||||
1,
|
||||
6,
|
||||
2,
|
||||
2,
|
||||
6,
|
||||
7,
|
||||
2,
|
||||
7,
|
||||
3,
|
||||
4,
|
||||
0,
|
||||
3,
|
||||
4,
|
||||
3,
|
||||
7
|
||||
],
|
||||
"object": "GeometryNodesSetPosition",
|
||||
"positions": [
|
||||
-1.0,
|
||||
-1.0,
|
||||
0.0,
|
||||
1.0,
|
||||
-1.0,
|
||||
0.0,
|
||||
1.0,
|
||||
1.0,
|
||||
0.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
0.0,
|
||||
-1.0,
|
||||
-1.0,
|
||||
2.0,
|
||||
1.0,
|
||||
-1.0,
|
||||
2.0,
|
||||
1.0,
|
||||
1.0,
|
||||
2.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
2.0
|
||||
],
|
||||
"sourceMesh": "GeometryNodesSetPositionMesh",
|
||||
"triangleCount": 12,
|
||||
"vertexCount": 8,
|
||||
"worldMatrix": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
4.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"indices": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
0,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
7,
|
||||
6,
|
||||
4,
|
||||
6,
|
||||
5,
|
||||
0,
|
||||
4,
|
||||
5,
|
||||
0,
|
||||
5,
|
||||
1,
|
||||
1,
|
||||
5,
|
||||
6,
|
||||
1,
|
||||
6,
|
||||
2,
|
||||
2,
|
||||
6,
|
||||
7,
|
||||
2,
|
||||
7,
|
||||
3,
|
||||
4,
|
||||
0,
|
||||
3,
|
||||
4,
|
||||
3,
|
||||
7
|
||||
],
|
||||
"object": "GeometryNodesSimulation",
|
||||
"positions": [
|
||||
-1.0,
|
||||
-1.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
-1.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
-1.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
-1.0,
|
||||
-1.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"sourceMesh": "GeometryNodesSimulationMesh",
|
||||
"triangleCount": 12,
|
||||
"vertexCount": 8,
|
||||
"worldMatrix": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
8.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"indices": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
0,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
7,
|
||||
6,
|
||||
4,
|
||||
6,
|
||||
5,
|
||||
0,
|
||||
4,
|
||||
5,
|
||||
0,
|
||||
5,
|
||||
1,
|
||||
1,
|
||||
5,
|
||||
6,
|
||||
1,
|
||||
6,
|
||||
2,
|
||||
2,
|
||||
6,
|
||||
7,
|
||||
2,
|
||||
7,
|
||||
3,
|
||||
4,
|
||||
0,
|
||||
3,
|
||||
4,
|
||||
3,
|
||||
7
|
||||
],
|
||||
"object": "GeometryNodesSimulationBaseline",
|
||||
"positions": [
|
||||
-1.0,
|
||||
-1.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
-1.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
-1.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
-1.0,
|
||||
-1.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"sourceMesh": "GeometryNodesSimulationBaselineMesh",
|
||||
"triangleCount": 12,
|
||||
"vertexCount": 8,
|
||||
"worldMatrix": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
12.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodeGroups": [
|
||||
{
|
||||
"links": 2,
|
||||
"name": "WebGeometryNodes",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "Group Input",
|
||||
"type": "NodeGroupInput"
|
||||
},
|
||||
{
|
||||
"name": "Group Output",
|
||||
"type": "NodeGroupOutput"
|
||||
},
|
||||
{
|
||||
"name": "Transform Geometry",
|
||||
"type": "GeometryNodeTransform"
|
||||
}
|
||||
],
|
||||
"type": "GeometryNodeTree"
|
||||
},
|
||||
{
|
||||
"links": 2,
|
||||
"name": "WebGeometryNodesSetPosition",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "Group Input",
|
||||
"type": "NodeGroupInput"
|
||||
},
|
||||
{
|
||||
"name": "Group Output",
|
||||
"type": "NodeGroupOutput"
|
||||
},
|
||||
{
|
||||
"name": "Set Position",
|
||||
"type": "GeometryNodeSetPosition"
|
||||
}
|
||||
],
|
||||
"type": "GeometryNodeTree"
|
||||
},
|
||||
{
|
||||
"links": 3,
|
||||
"name": "WebGeometryNodesSimulation",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "Group Input",
|
||||
"type": "NodeGroupInput"
|
||||
},
|
||||
{
|
||||
"name": "Group Output",
|
||||
"type": "NodeGroupOutput"
|
||||
},
|
||||
{
|
||||
"name": "Simulation Input",
|
||||
"type": "GeometryNodeSimulationInput"
|
||||
},
|
||||
{
|
||||
"name": "Simulation Output",
|
||||
"type": "GeometryNodeSimulationOutput"
|
||||
}
|
||||
],
|
||||
"type": "GeometryNodeTree"
|
||||
}
|
||||
],
|
||||
"objects": [
|
||||
{
|
||||
"modifiers": [
|
||||
{
|
||||
"name": "Geometry Nodes Transform",
|
||||
"nodeGroup": "WebGeometryNodes",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": true,
|
||||
"type": "NODES",
|
||||
"typeCode": 57
|
||||
}
|
||||
],
|
||||
"name": "GeometryNodesObject",
|
||||
"type": "MESH"
|
||||
},
|
||||
{
|
||||
"modifiers": [
|
||||
{
|
||||
"name": "Geometry Nodes Set Position",
|
||||
"nodeGroup": "WebGeometryNodesSetPosition",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": true,
|
||||
"type": "NODES",
|
||||
"typeCode": 57
|
||||
}
|
||||
],
|
||||
"name": "GeometryNodesSetPosition",
|
||||
"type": "MESH"
|
||||
},
|
||||
{
|
||||
"modifiers": [
|
||||
{
|
||||
"name": "Geometry Nodes Simulation",
|
||||
"nodeGroup": "WebGeometryNodesSimulation",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": true,
|
||||
"type": "NODES",
|
||||
"typeCode": 57
|
||||
}
|
||||
],
|
||||
"name": "GeometryNodesSimulation",
|
||||
"type": "MESH"
|
||||
},
|
||||
{
|
||||
"modifiers": [],
|
||||
"name": "GeometryNodesSimulationBaseline",
|
||||
"type": "MESH"
|
||||
}
|
||||
],
|
||||
"schemaVersion": 1,
|
||||
"tolerance": {
|
||||
"maxPositionError": 1e-05,
|
||||
"rmsPositionError": 1e-06
|
||||
}
|
||||
}
|
||||
286
tests/golden/W-075/modifier_grease_pencil_scene.json
Normal file
286
tests/golden/W-075/modifier_grease_pencil_scene.json
Normal file
@@ -0,0 +1,286 @@
|
||||
{
|
||||
"blenderVersion": "5.2.0 LTS",
|
||||
"fixture": "modifier_grease_pencil_scene.blend",
|
||||
"frame": 1,
|
||||
"greasePencils": [
|
||||
{
|
||||
"data": "GreasePencilData",
|
||||
"layers": [
|
||||
{
|
||||
"frames": [
|
||||
{
|
||||
"frame": 1,
|
||||
"pointCount": 4,
|
||||
"positions": [
|
||||
-1.5,
|
||||
0.0,
|
||||
0.0,
|
||||
-0.5,
|
||||
0.5,
|
||||
0.0,
|
||||
0.5,
|
||||
-0.25,
|
||||
0.0,
|
||||
1.5,
|
||||
0.25,
|
||||
0.0
|
||||
],
|
||||
"strokeCount": 1
|
||||
}
|
||||
],
|
||||
"name": "Lines"
|
||||
}
|
||||
],
|
||||
"object": "GreasePencilObject"
|
||||
}
|
||||
],
|
||||
"meshes": [],
|
||||
"nodeGroups": [],
|
||||
"objects": [
|
||||
{
|
||||
"modifiers": [
|
||||
{
|
||||
"name": "Gp Armature",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_ARMATURE",
|
||||
"typeCode": 79
|
||||
},
|
||||
{
|
||||
"name": "Gp Array",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_ARRAY",
|
||||
"typeCode": 75
|
||||
},
|
||||
{
|
||||
"name": "Gp Build",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_BUILD",
|
||||
"typeCode": 84
|
||||
},
|
||||
{
|
||||
"name": "Gp Color",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_COLOR",
|
||||
"typeCode": 63
|
||||
},
|
||||
{
|
||||
"name": "Gp Dash",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_DASH",
|
||||
"typeCode": 71
|
||||
},
|
||||
{
|
||||
"name": "Gp Envelope",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_ENVELOPE",
|
||||
"typeCode": 81
|
||||
},
|
||||
{
|
||||
"name": "Gp Hook",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_HOOK",
|
||||
"typeCode": 77
|
||||
},
|
||||
{
|
||||
"name": "Gp Lattice",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_LATTICE",
|
||||
"typeCode": 70
|
||||
},
|
||||
{
|
||||
"name": "Gp Length",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_LENGTH",
|
||||
"typeCode": 73
|
||||
},
|
||||
{
|
||||
"name": "Gp Mirror",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_MIRROR",
|
||||
"typeCode": 68
|
||||
},
|
||||
{
|
||||
"name": "Gp Multiply",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_MULTIPLY",
|
||||
"typeCode": 72
|
||||
},
|
||||
{
|
||||
"name": "Gp Noise",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_NOISE",
|
||||
"typeCode": 67
|
||||
},
|
||||
{
|
||||
"name": "Gp Offset",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_OFFSET",
|
||||
"typeCode": 66
|
||||
},
|
||||
{
|
||||
"name": "Gp Opacity",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_OPACITY",
|
||||
"typeCode": 61
|
||||
},
|
||||
{
|
||||
"name": "Gp Outline",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_OUTLINE",
|
||||
"typeCode": 82
|
||||
},
|
||||
{
|
||||
"name": "Gp Shrinkwrap",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_SHRINKWRAP",
|
||||
"typeCode": 83
|
||||
},
|
||||
{
|
||||
"name": "Gp Simplify",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_SIMPLIFY",
|
||||
"typeCode": 85
|
||||
},
|
||||
{
|
||||
"name": "Gp Smooth",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_SMOOTH",
|
||||
"typeCode": 65
|
||||
},
|
||||
{
|
||||
"name": "Gp Subdiv",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_SUBDIV",
|
||||
"typeCode": 62
|
||||
},
|
||||
{
|
||||
"name": "Gp Texture",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_TEXTURE",
|
||||
"typeCode": 86
|
||||
},
|
||||
{
|
||||
"name": "Gp Thickness",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_THICKNESS",
|
||||
"typeCode": 69
|
||||
},
|
||||
{
|
||||
"name": "Gp Time",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_TIME",
|
||||
"typeCode": 80
|
||||
},
|
||||
{
|
||||
"name": "Gp Tint",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_TINT",
|
||||
"typeCode": 64
|
||||
},
|
||||
{
|
||||
"name": "Gp Vertex Weight Angle",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_VERTEX_WEIGHT_ANGLE",
|
||||
"typeCode": 74
|
||||
},
|
||||
{
|
||||
"name": "Gp Vertex Weight Proximity",
|
||||
"showEditmode": true,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "GREASE_PENCIL_VERTEX_WEIGHT_PROXIMITY",
|
||||
"typeCode": 76
|
||||
},
|
||||
{
|
||||
"name": "Lineart",
|
||||
"showEditmode": false,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "LINEART",
|
||||
"typeCode": 78
|
||||
}
|
||||
],
|
||||
"name": "GreasePencilObject",
|
||||
"type": "GREASEPENCIL"
|
||||
}
|
||||
],
|
||||
"schemaVersion": 1,
|
||||
"tolerance": {
|
||||
"maxPositionError": 1e-05,
|
||||
"rmsPositionError": 1e-06
|
||||
}
|
||||
}
|
||||
486
tests/golden/W-075/modifier_physics_scene.json
Normal file
486
tests/golden/W-075/modifier_physics_scene.json
Normal file
@@ -0,0 +1,486 @@
|
||||
{
|
||||
"blenderVersion": "5.2.0 LTS",
|
||||
"fixture": "modifier_physics_scene.blend",
|
||||
"frame": 6,
|
||||
"greasePencils": [],
|
||||
"meshes": [
|
||||
{
|
||||
"indices": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
0,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
4,
|
||||
6,
|
||||
7,
|
||||
0,
|
||||
4,
|
||||
7,
|
||||
0,
|
||||
7,
|
||||
1
|
||||
],
|
||||
"object": "PhysicsBuild",
|
||||
"positions": [
|
||||
-1.0,
|
||||
-1.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
-1.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
-1.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
-1.0,
|
||||
-1.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
-1.0,
|
||||
1.0
|
||||
],
|
||||
"sourceMesh": "PhysicsBuildMesh",
|
||||
"triangleCount": 6,
|
||||
"vertexCount": 8,
|
||||
"worldMatrix": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
-4.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"indices": [
|
||||
0,
|
||||
1,
|
||||
4,
|
||||
0,
|
||||
4,
|
||||
3,
|
||||
1,
|
||||
2,
|
||||
5,
|
||||
1,
|
||||
5,
|
||||
4,
|
||||
3,
|
||||
4,
|
||||
7,
|
||||
3,
|
||||
7,
|
||||
6,
|
||||
4,
|
||||
5,
|
||||
8,
|
||||
4,
|
||||
8,
|
||||
7
|
||||
],
|
||||
"object": "PhysicsClothDisabled",
|
||||
"positions": [
|
||||
-1.0,
|
||||
-1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
-1.0,
|
||||
0.0,
|
||||
1.0,
|
||||
-1.0,
|
||||
0.0,
|
||||
-1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
1.0,
|
||||
1.0,
|
||||
0.0
|
||||
],
|
||||
"sourceMesh": "PhysicsClothDisabledMesh",
|
||||
"triangleCount": 8,
|
||||
"vertexCount": 9,
|
||||
"worldMatrix": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
7.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"indices": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
0,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
7,
|
||||
6,
|
||||
4,
|
||||
6,
|
||||
5,
|
||||
0,
|
||||
4,
|
||||
5,
|
||||
0,
|
||||
5,
|
||||
1,
|
||||
1,
|
||||
5,
|
||||
6,
|
||||
1,
|
||||
6,
|
||||
2,
|
||||
2,
|
||||
6,
|
||||
7,
|
||||
2,
|
||||
7,
|
||||
3,
|
||||
4,
|
||||
0,
|
||||
3,
|
||||
4,
|
||||
3,
|
||||
7
|
||||
],
|
||||
"object": "PhysicsCollisionDisabled",
|
||||
"positions": [
|
||||
-1.0,
|
||||
-1.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
-1.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
-1.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
-1.0,
|
||||
-1.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
1.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"sourceMesh": "PhysicsCollisionDisabledMesh",
|
||||
"triangleCount": 12,
|
||||
"vertexCount": 8,
|
||||
"worldMatrix": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
15.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"indices": [
|
||||
0,
|
||||
1,
|
||||
4,
|
||||
0,
|
||||
4,
|
||||
3,
|
||||
1,
|
||||
2,
|
||||
5,
|
||||
1,
|
||||
5,
|
||||
4,
|
||||
3,
|
||||
4,
|
||||
7,
|
||||
3,
|
||||
7,
|
||||
6,
|
||||
4,
|
||||
5,
|
||||
8,
|
||||
4,
|
||||
8,
|
||||
7
|
||||
],
|
||||
"object": "PhysicsSoftBodyDisabled",
|
||||
"positions": [
|
||||
-1.0,
|
||||
-1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
-1.0,
|
||||
0.0,
|
||||
1.0,
|
||||
-1.0,
|
||||
0.0,
|
||||
-1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
-1.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
1.0,
|
||||
1.0,
|
||||
0.0
|
||||
],
|
||||
"sourceMesh": "PhysicsSoftBodyDisabledMesh",
|
||||
"triangleCount": 8,
|
||||
"vertexCount": 9,
|
||||
"worldMatrix": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
11.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"indices": [
|
||||
0,
|
||||
1,
|
||||
4,
|
||||
0,
|
||||
4,
|
||||
3,
|
||||
1,
|
||||
2,
|
||||
5,
|
||||
1,
|
||||
5,
|
||||
4,
|
||||
3,
|
||||
4,
|
||||
7,
|
||||
3,
|
||||
7,
|
||||
6,
|
||||
4,
|
||||
5,
|
||||
8,
|
||||
4,
|
||||
8,
|
||||
7
|
||||
],
|
||||
"object": "PhysicsWave",
|
||||
"positions": [
|
||||
-2.0,
|
||||
-2.0,
|
||||
0.0,
|
||||
0.0,
|
||||
-2.0,
|
||||
0.2122475653886795,
|
||||
2.0,
|
||||
-2.0,
|
||||
0.0,
|
||||
-2.0,
|
||||
0.0,
|
||||
0.2122475653886795,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0489828996360302,
|
||||
2.0,
|
||||
0.0,
|
||||
0.2122475653886795,
|
||||
-2.0,
|
||||
2.0,
|
||||
0.0,
|
||||
0.0,
|
||||
2.0,
|
||||
0.2122475653886795,
|
||||
2.0,
|
||||
2.0,
|
||||
0.0
|
||||
],
|
||||
"sourceMesh": "PhysicsWaveMesh",
|
||||
"triangleCount": 8,
|
||||
"vertexCount": 9,
|
||||
"worldMatrix": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
2.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodeGroups": [],
|
||||
"objects": [
|
||||
{
|
||||
"modifiers": [
|
||||
{
|
||||
"name": "Build",
|
||||
"showEditmode": false,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": true,
|
||||
"type": "BUILD",
|
||||
"typeCode": 4
|
||||
}
|
||||
],
|
||||
"name": "PhysicsBuild",
|
||||
"type": "MESH"
|
||||
},
|
||||
{
|
||||
"modifiers": [
|
||||
{
|
||||
"name": "Cloth Disabled",
|
||||
"showEditmode": false,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "CLOTH",
|
||||
"typeCode": 22
|
||||
}
|
||||
],
|
||||
"name": "PhysicsClothDisabled",
|
||||
"type": "MESH"
|
||||
},
|
||||
{
|
||||
"modifiers": [
|
||||
{
|
||||
"name": "Collision Disabled",
|
||||
"showEditmode": false,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "COLLISION",
|
||||
"typeCode": 23
|
||||
}
|
||||
],
|
||||
"name": "PhysicsCollisionDisabled",
|
||||
"type": "MESH"
|
||||
},
|
||||
{
|
||||
"modifiers": [
|
||||
{
|
||||
"name": "Soft Body Disabled",
|
||||
"showEditmode": false,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": false,
|
||||
"type": "SOFT_BODY",
|
||||
"typeCode": 10
|
||||
}
|
||||
],
|
||||
"name": "PhysicsSoftBodyDisabled",
|
||||
"type": "MESH"
|
||||
},
|
||||
{
|
||||
"modifiers": [
|
||||
{
|
||||
"name": "Wave",
|
||||
"showEditmode": false,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": true,
|
||||
"type": "WAVE",
|
||||
"typeCode": 7
|
||||
}
|
||||
],
|
||||
"name": "PhysicsWave",
|
||||
"type": "MESH"
|
||||
}
|
||||
],
|
||||
"schemaVersion": 1,
|
||||
"tolerance": {
|
||||
"maxPositionError": 1e-05,
|
||||
"rmsPositionError": 1e-06
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user