Skip to content

Commit

Permalink
configurable constraints tests and multiple tweaks(#274)
Browse files Browse the repository at this point in the history
* add/update constraint test cases

* rename cases

* update label

* update backend check, fix ui, tune scene

* fix missing materials
  • Loading branch information
yiwenxue authored May 24, 2023
1 parent 9ce2a9e commit dbf7489
Show file tree
Hide file tree
Showing 98 changed files with 31,121 additions and 3,506 deletions.
21 changes: 4 additions & 17 deletions physics-3d/assets/TestList.scene
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"__type__": "cc.SceneAsset",
"_name": "",
"_name": "TestList",
"_objFlags": 0,
"_native": "",
"scene": {
Expand Down Expand Up @@ -444,7 +444,6 @@
"_type": 0,
"_inverted": false,
"_segments": 64,
"_spriteFrame": null,
"_alphaThreshold": 0.1,
"_id": "e6thkj5iVN/4gOt1j41oN2"
},
Expand Down Expand Up @@ -2087,35 +2086,23 @@
"b": 0,
"a": 76
},
"_firstSetCSM": false,
"_fixedArea": false,
"_pcf": 0,
"_bias": 0.1,
"_normalBias": 0,
"_near": 1,
"_far": 30,
"_shadowDistance": 31.51190251317746,
"_invisibleOcclusionRange": 200,
"_orthoSize": 5,
"_maxReceived": 4,
"_size": {
"__type__": "cc.Vec2",
"x": 512,
"y": 512
},
"_saturation": 0.2980392156862745
}
},
{
"__type__": "cc.SkyboxInfo",
"_applyDiffuseMap": false,
"_envmapHDR": null,
"_envmap": null,
"_envmapLDR": null,
"_diffuseMapHDR": null,
"_diffuseMapLDR": null,
"_enabled": false,
"_useIBL": false,
"_useHDR": true
"_useHDR": true,
"_envLightingType": 0
},
{
"__type__": "cc.FogInfo",
Expand Down
2 changes: 1 addition & 1 deletion physics-3d/assets/TestList.scene.meta
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"ver": "1.1.35",
"ver": "1.1.45",
"importer": "scene",
"imported": true,
"uuid": "42e68f34-5f5f-4a8a-938a-ec9d5fe61b0d",
Expand Down
2 changes: 1 addition & 1 deletion physics-3d/assets/cases/scenes.meta
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"ver": "1.1.0",
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "633edf1a-f09c-46d8-9b48-cf88ba6a852a",
Expand Down
76 changes: 42 additions & 34 deletions physics-3d/assets/cases/scenes/case-capsule-trigger.scene
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"__type__": "cc.SceneAsset",
"_name": "",
"_name": "case-capsule-trigger",
"_objFlags": 0,
"_native": "",
"scene": {
Expand Down Expand Up @@ -117,7 +117,21 @@
"_illuminance": 65000,
"_id": "597uMYCbhEtJQc0ffJlcgA",
"_illuminanceLDR": 1.6927083333333335,
"_illuminanceHDR": 65000
"_illuminanceHDR": 65000,
"_shadowEnabled": false,
"_shadowPcf": 0,
"_shadowBias": 1,
"_shadowNormalBias": 0,
"_shadowSaturation": 0.2980392156862745,
"_shadowDistance": 100,
"_shadowInvisibleOcclusionRange": 200,
"_shadowFixedArea": false,
"_shadowNear": 1,
"_shadowFar": 30,
"_shadowOrthoSize": 5,
"_csmLevel": 1,
"_csmLayerLambda": 0.75,
"_csmOptimizationMode": 2
},
{
"__type__": "cc.StaticLightSettings",
Expand Down Expand Up @@ -281,20 +295,21 @@
}
],
"_visFlags": 0,
"lightmapSettings": {
"__id__": 9
},
"lightmapSettings": null,
"_mesh": {
"__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@801ec",
"__expectedType__": "cc.Mesh"
},
"_shadowCastingMode": 0,
"_shadowReceivingMode": 1,
"_enableMorph": true,
"_id": "53vqeVHw9NEpwqOIm6W3ca"
"_id": "53vqeVHw9NEpwqOIm6W3ca",
"bakeSettings": {
"__id__": 9
}
},
{
"__type__": "cc.ModelLightmapSettings",
"__type__": "cc.ModelBakeSettings",
"texture": null,
"uvParam": {
"__type__": "cc.Vec4",
Expand Down Expand Up @@ -491,20 +506,21 @@
}
],
"_visFlags": 0,
"lightmapSettings": {
"__id__": 16
},
"lightmapSettings": null,
"_mesh": {
"__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@801ec",
"__expectedType__": "cc.Mesh"
},
"_shadowCastingMode": 0,
"_shadowReceivingMode": 1,
"_enableMorph": true,
"_id": "c4p/PhGa9J3LeBCm8TJ7BM"
"_id": "c4p/PhGa9J3LeBCm8TJ7BM",
"bakeSettings": {
"__id__": 16
}
},
{
"__type__": "cc.ModelLightmapSettings",
"__type__": "cc.ModelBakeSettings",
"texture": null,
"uvParam": {
"__type__": "cc.Vec4",
Expand Down Expand Up @@ -603,20 +619,21 @@
}
],
"_visFlags": 0,
"lightmapSettings": {
"__id__": 20
},
"lightmapSettings": null,
"_mesh": {
"__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@a804a",
"__expectedType__": "cc.Mesh"
},
"_shadowCastingMode": 0,
"_shadowReceivingMode": 1,
"_enableMorph": true,
"_id": "10FgO3AEJAnpMZ04A2Xx2X"
"_id": "10FgO3AEJAnpMZ04A2Xx2X",
"bakeSettings": {
"__id__": 20
}
},
{
"__type__": "cc.ModelLightmapSettings",
"__type__": "cc.ModelBakeSettings",
"texture": null,
"uvParam": {
"__type__": "cc.Vec4",
Expand Down Expand Up @@ -718,20 +735,21 @@
}
],
"_visFlags": 0,
"lightmapSettings": {
"__id__": 24
},
"lightmapSettings": null,
"_mesh": {
"__uuid__": "1263d74c-8167-4928-91a6-4e2672411f47@17020",
"__expectedType__": "cc.Mesh"
},
"_shadowCastingMode": 0,
"_shadowReceivingMode": 1,
"_enableMorph": true,
"_id": "c4KaoKw11MDqDxmfs6ZGYE"
"_id": "c4KaoKw11MDqDxmfs6ZGYE",
"bakeSettings": {
"__id__": 24
}
},
{
"__type__": "cc.ModelLightmapSettings",
"__type__": "cc.ModelBakeSettings",
"texture": null,
"uvParam": {
"__type__": "cc.Vec4",
Expand Down Expand Up @@ -1260,33 +1278,23 @@
"b": 0,
"a": 76
},
"_pcf": 0,
"_bias": 1,
"_normalBias": 0,
"_near": 1,
"_far": 30,
"_orthoSize": 5,
"_maxReceived": 4,
"_size": {
"__type__": "cc.Vec2",
"x": 512,
"y": 512
},
"_saturation": 0.2980392156862745,
"_fixedArea": false,
"_firstSetCSM": true
}
},
{
"__type__": "cc.SkyboxInfo",
"_envmap": null,
"_enabled": false,
"_useIBL": false,
"_useHDR": true,
"_envmapLDR": null,
"_envmapHDR": null,
"_diffuseMapLDR": null,
"_diffuseMapHDR": null,
"_applyDiffuseMap": false
"_envLightingType": 0
},
{
"__type__": "cc.FogInfo",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"ver": "1.1.35",
"ver": "1.1.45",
"importer": "scene",
"imported": true,
"uuid": "270190ad-834c-4e7b-a0bf-ff26982178f9",
Expand Down
Loading

0 comments on commit dbf7489

Please sign in to comment.