Save on draw calls

This commit is contained in:
2025-03-17 19:40:50 +03:00
parent 8e140fb878
commit ea792d8ea9
101 changed files with 2141 additions and 13712 deletions

View File

@@ -28,22 +28,23 @@
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
"specularColorTexture":{
"index":0
}
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_73934_1.001",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0
"metallicFactor":0,
"metallicRoughnessTexture":{
"index":2
}
}
}
],
@@ -67,20 +68,38 @@
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_73934",
"uri":"textures/Atlas_73934.png"
"name":"Image",
"uri":"textures/Image.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1",
"uri":"textures/joint-atlas-1.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1-roughness",
"uri":"textures/joint-atlas-1-roughness.png"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":407,
"count":386,
"max":[
7.011116981506348,
5.200000286102295,
@@ -96,13 +115,13 @@
{
"bufferView":1,
"componentType":5126,
"count":407,
"count":386,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":407,
"count":386,
"type":"VEC2"
},
{
@@ -115,26 +134,26 @@
"bufferViews":[
{
"buffer":0,
"byteLength":4884,
"byteLength":4632,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":4884,
"byteOffset":4884,
"byteLength":4632,
"byteOffset":4632,
"target":34962
},
{
"buffer":0,
"byteLength":3256,
"byteOffset":9768,
"byteLength":3088,
"byteOffset":9264,
"target":34962
},
{
"buffer":0,
"byteLength":3324,
"byteOffset":13024,
"byteOffset":12352,
"target":34963
}
],
@@ -146,7 +165,7 @@
],
"buffers":[
{
"byteLength":16348,
"byteLength":15676,
"uri":"bus-stop.bin"
}
]

View File

@@ -25,6 +25,14 @@ shape = SubResource( 1 )
transform = Transform( 1, 0, 0, 0, 0.915396, 0.402555, 0, -0.402555, 0.915396, 0, 4.61468, 0.296666 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="LOD" type="LOD" parent="."]
[node name="bus-stop" parent="MergeGroup" instance=ExtResource( 1 )]
[node name="0" type="Spatial" parent="LOD"]
lod_range = 50.0
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="bus-stop" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
[node name="1" type="Spatial" parent="LOD"]
visible = false

View File

@@ -8,38 +8,48 @@ extents = Vector3( 0.7, 1, 0.6 )
[node name="business-bar1" type="Spatial"]
[node name="door1-portal" parent="." instance=ExtResource( 2 )]
[node name="LOD" type="LOD" parent="."]
[node name="0" type="Spatial" parent="LOD"]
lod_range = 200.0
[node name="door1-portal" parent="LOD/0" instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 1, 15.2012 )
skeleton = NodePath("../../..")
[node name="enter_destination" type="Spatial" parent="door1-portal" groups=["smart_object"]]
[node name="enter_destination" type="Spatial" parent="LOD/0/door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="door1-portal/enter_destination"]
[node name="actions" type="Node" parent="LOD/0/door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="door1-portal/enter_destination/actions"]
[node name="EnterDestination" type="Node" parent="LOD/0/door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="door1-portal/enter_destination"]
[node name="Area" type="Area" parent="LOD/0/door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="door1-portal/enter_destination/Area"]
[node name="CollisionShape" type="CollisionShape" parent="LOD/0/door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="door1-portal2" parent="." instance=ExtResource( 2 )]
[node name="door1-portal2" parent="LOD/0" instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 6, 15.2079 )
skeleton = NodePath("../../..")
[node name="enter_destination" type="Spatial" parent="door1-portal2" groups=["smart_object"]]
[node name="enter_destination" type="Spatial" parent="LOD/0/door1-portal2" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="door1-portal2/enter_destination"]
[node name="actions" type="Node" parent="LOD/0/door1-portal2/enter_destination"]
[node name="EnterDestination" type="Node" parent="door1-portal2/enter_destination/actions"]
[node name="EnterDestination" type="Node" parent="LOD/0/door1-portal2/enter_destination/actions"]
[node name="Area" type="Area" parent="door1-portal2/enter_destination"]
[node name="Area" type="Area" parent="LOD/0/door1-portal2/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="door1-portal2/enter_destination/Area"]
[node name="CollisionShape" type="CollisionShape" parent="LOD/0/door1-portal2/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="business-bar1" parent="MergeGroup" instance=ExtResource( 1 )]
[node name="business-bar1" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
[node name="Spatial" type="Spatial" parent="LOD"]
visible = false

View File

@@ -9,44 +9,54 @@ extents = Vector3( 0.7, 1, 0.6 )
[node name="business-cafe1" type="Spatial"]
[node name="door1-portal" parent="." instance=ExtResource( 2 )]
[node name="LOD" type="LOD" parent="."]
[node name="0" type="Spatial" parent="LOD"]
lod_range = 200.0
[node name="door1-portal" parent="LOD/0" instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 1, 11.6464 )
skeleton = NodePath("../../..")
[node name="enter_destination" type="Spatial" parent="door1-portal" groups=["smart_object"]]
[node name="enter_destination" type="Spatial" parent="LOD/0/door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="door1-portal/enter_destination"]
[node name="actions" type="Node" parent="LOD/0/door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="door1-portal/enter_destination/actions"]
[node name="EnterDestination" type="Node" parent="LOD/0/door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="door1-portal/enter_destination"]
[node name="Area" type="Area" parent="LOD/0/door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="door1-portal/enter_destination/Area"]
[node name="CollisionShape" type="CollisionShape" parent="LOD/0/door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="door1-portal2" parent="." instance=ExtResource( 2 )]
[node name="door1-portal2" parent="LOD/0" instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 1, 1, -8.35364 )
skeleton = NodePath("../../..")
[node name="enter_destination" type="Spatial" parent="door1-portal2" groups=["smart_object"]]
[node name="enter_destination" type="Spatial" parent="LOD/0/door1-portal2" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="door1-portal2/enter_destination"]
[node name="actions" type="Node" parent="LOD/0/door1-portal2/enter_destination"]
[node name="EnterDestination" type="Node" parent="door1-portal2/enter_destination/actions"]
[node name="EnterDestination" type="Node" parent="LOD/0/door1-portal2/enter_destination/actions"]
[node name="Area" type="Area" parent="door1-portal2/enter_destination"]
[node name="Area" type="Area" parent="LOD/0/door1-portal2/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="door1-portal2/enter_destination/Area"]
[node name="CollisionShape" type="CollisionShape" parent="LOD/0/door1-portal2/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="residental-house-stair" parent="MergeGroup" instance=ExtResource( 3 )]
[node name="residental-house-stair" parent="LOD/0/MergeGroup" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -9 )
[node name="residental-house-stair2" parent="MergeGroup" instance=ExtResource( 3 )]
[node name="residental-house-stair2" parent="LOD/0/MergeGroup" instance=ExtResource( 3 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 12 )
[node name="business-cafe1" parent="MergeGroup" instance=ExtResource( 1 )]
[node name="business-cafe1" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
[node name="1" type="Spatial" parent="LOD"]
visible = false

View File

@@ -9,44 +9,54 @@ extents = Vector3( 0.7, 1, 0.6 )
[node name="business-store1" type="Spatial"]
[node name="door1-portal" parent="." instance=ExtResource( 2 )]
[node name="LOD" type="LOD" parent="."]
[node name="0" type="Spatial" parent="LOD"]
lod_range = 200.0
[node name="door1-portal" parent="LOD/0" instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 1, 11.3964 )
skeleton = NodePath("../../..")
[node name="enter_destination" type="Spatial" parent="door1-portal" groups=["smart_object"]]
[node name="enter_destination" type="Spatial" parent="LOD/0/door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="door1-portal/enter_destination"]
[node name="actions" type="Node" parent="LOD/0/door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="door1-portal/enter_destination/actions"]
[node name="EnterDestination" type="Node" parent="LOD/0/door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="door1-portal/enter_destination"]
[node name="Area" type="Area" parent="LOD/0/door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="door1-portal/enter_destination/Area"]
[node name="CollisionShape" type="CollisionShape" parent="LOD/0/door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="door1-portal2" parent="." instance=ExtResource( 2 )]
[node name="door1-portal2" parent="LOD/0" instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 1, 1, -8.63923 )
skeleton = NodePath("../../..")
[node name="enter_destination" type="Spatial" parent="door1-portal2" groups=["smart_object"]]
[node name="enter_destination" type="Spatial" parent="LOD/0/door1-portal2" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="door1-portal2/enter_destination"]
[node name="actions" type="Node" parent="LOD/0/door1-portal2/enter_destination"]
[node name="EnterDestination" type="Node" parent="door1-portal2/enter_destination/actions"]
[node name="EnterDestination" type="Node" parent="LOD/0/door1-portal2/enter_destination/actions"]
[node name="Area" type="Area" parent="door1-portal2/enter_destination"]
[node name="Area" type="Area" parent="LOD/0/door1-portal2/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="door1-portal2/enter_destination/Area"]
[node name="CollisionShape" type="CollisionShape" parent="LOD/0/door1-portal2/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="residental-house-stair" parent="MergeGroup" instance=ExtResource( 3 )]
[node name="residental-house-stair" parent="LOD/0/MergeGroup" instance=ExtResource( 3 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 12 )
[node name="residental-house-stair2" parent="MergeGroup" instance=ExtResource( 3 )]
[node name="residental-house-stair2" parent="LOD/0/MergeGroup" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 1.74846e-07, 0, 1, 0, -1.74846e-07, 0, 1, 0, 0, -9 )
[node name="business-store1" parent="MergeGroup" instance=ExtResource( 1 )]
[node name="business-store1" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
[node name="1" type="Spatial" parent="LOD"]
visible = false

View File

@@ -89,7 +89,7 @@
"ior":1.4500000476837158
}
},
"name":"material_atlas_00001_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":1
@@ -200,20 +200,20 @@
},
{
"mimeType":"image/png",
"name":"Atlas_00001",
"uri":"textures/Atlas_00001.png"
"name":"joint-atlas-1",
"uri":"textures/joint-atlas-1.png"
},
{
"mimeType":"image/png",
"name":"atlas-gym-roughness",
"uri":"textures/atlas-gym-roughness.png"
"name":"joint-atlas-1-roughness",
"uri":"textures/joint-atlas-1-roughness.png"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":1730,
"count":1630,
"max":[
50,
50,
@@ -229,19 +229,19 @@
{
"bufferView":1,
"componentType":5126,
"count":1730,
"count":1630,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":1730,
"count":1630,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5126,
"count":1730,
"count":1630,
"type":"VEC4"
},
{
@@ -402,140 +402,140 @@
"bufferViews":[
{
"buffer":0,
"byteLength":20760,
"byteLength":19560,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":20760,
"byteOffset":20760,
"byteLength":19560,
"byteOffset":19560,
"target":34962
},
{
"buffer":0,
"byteLength":13840,
"byteOffset":41520,
"byteLength":13040,
"byteOffset":39120,
"target":34962
},
{
"buffer":0,
"byteLength":27680,
"byteOffset":55360,
"byteLength":26080,
"byteOffset":52160,
"target":34962
},
{
"buffer":0,
"byteLength":8064,
"byteOffset":83040,
"byteOffset":78240,
"target":34963
},
{
"buffer":0,
"byteLength":26352,
"byteOffset":91104,
"byteOffset":86304,
"target":34962
},
{
"buffer":0,
"byteLength":26352,
"byteOffset":117456,
"byteOffset":112656,
"target":34962
},
{
"buffer":0,
"byteLength":17568,
"byteOffset":143808,
"byteOffset":139008,
"target":34962
},
{
"buffer":0,
"byteLength":35136,
"byteOffset":161376,
"byteOffset":156576,
"target":34962
},
{
"buffer":0,
"byteLength":8592,
"byteOffset":196512,
"byteOffset":191712,
"target":34963
},
{
"buffer":0,
"byteLength":26352,
"byteOffset":205104,
"byteOffset":200304,
"target":34962
},
{
"buffer":0,
"byteLength":26352,
"byteOffset":231456,
"byteOffset":226656,
"target":34962
},
{
"buffer":0,
"byteLength":17568,
"byteOffset":257808,
"byteOffset":253008,
"target":34962
},
{
"buffer":0,
"byteLength":35136,
"byteOffset":275376,
"byteOffset":270576,
"target":34962
},
{
"buffer":0,
"byteLength":26352,
"byteOffset":310512,
"byteOffset":305712,
"target":34962
},
{
"buffer":0,
"byteLength":26352,
"byteOffset":336864,
"byteOffset":332064,
"target":34962
},
{
"buffer":0,
"byteLength":17568,
"byteOffset":363216,
"byteOffset":358416,
"target":34962
},
{
"buffer":0,
"byteLength":35136,
"byteOffset":380784,
"byteOffset":375984,
"target":34962
},
{
"buffer":0,
"byteLength":1968,
"byteOffset":415920,
"byteOffset":411120,
"target":34962
},
{
"buffer":0,
"byteLength":1968,
"byteOffset":417888,
"byteOffset":413088,
"target":34962
},
{
"buffer":0,
"byteLength":1312,
"byteOffset":419856,
"byteOffset":415056,
"target":34962
},
{
"buffer":0,
"byteLength":2624,
"byteOffset":421168,
"byteOffset":416368,
"target":34962
},
{
"buffer":0,
"byteLength":1128,
"byteOffset":423792,
"byteOffset":418992,
"target":34963
}
],
@@ -547,7 +547,7 @@
],
"buffers":[
{
"byteLength":424920,
"byteLength":420120,
"uri":"gym-exterior.bin"
}
]

View File

@@ -19,58 +19,66 @@ polygon_points = PoolVector2Array( 46.5459, -47.5139, 48.291, 48.4641, -47.4376,
[node name="gym-exterior" type="Spatial"]
[node name="scene_gym" type="Spatial" parent="." groups=["actuator"]]
[node name="LOD" type="LOD" parent="."]
[node name="0" type="Spatial" parent="LOD"]
lod_range = 350.0
[node name="scene_gym" type="Spatial" parent="LOD/0" groups=["actuator"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -32.3505, 2.70111, 0.0815773 )
[node name="Area" type="Area" parent="scene_gym"]
[node name="Area" type="Area" parent="LOD/0/scene_gym"]
[node name="CollisionShape" type="CollisionShape" parent="scene_gym/Area"]
[node name="CollisionShape" type="CollisionShape" parent="LOD/0/scene_gym/Area"]
shape = SubResource( 1 )
[node name="scene_shooting_gallery" type="Spatial" parent="." groups=["actuator"]]
[node name="scene_shooting_gallery" type="Spatial" parent="LOD/0" groups=["actuator"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -5.74583, 3.20716, -0.052886 )
[node name="Area" type="Area" parent="scene_shooting_gallery"]
[node name="Area" type="Area" parent="LOD/0/scene_shooting_gallery"]
[node name="CollisionShape" type="CollisionShape" parent="scene_shooting_gallery/Area"]
[node name="CollisionShape" type="CollisionShape" parent="LOD/0/scene_shooting_gallery/Area"]
shape = SubResource( 2 )
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="gym-exterior" parent="MergeGroup" instance=ExtResource( 1 )]
[node name="gym-exterior" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
[node name="Occluder" type="Occluder" parent="."]
[node name="Occluder" type="Occluder" parent="LOD/0"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -28.5533 )
shape = SubResource( 3 )
[node name="Occluder2" type="Occluder" parent="."]
[node name="Occluder2" type="Occluder" parent="LOD/0"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 28.688 )
shape = SubResource( 3 )
[node name="Occluder3" type="Occluder" parent="."]
[node name="Occluder3" type="Occluder" parent="LOD/0"]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 28, 0, -0.312035 )
shape = SubResource( 3 )
[node name="Occluder4" type="Occluder" parent="."]
[node name="Occluder4" type="Occluder" parent="LOD/0"]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -29, 0, -0.312035 )
shape = SubResource( 3 )
[node name="Occluder5" type="Occluder" parent="."]
[node name="Occluder5" type="Occluder" parent="LOD/0"]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -47, 13, -0.312035 )
shape = SubResource( 4 )
[node name="Occluder6" type="Occluder" parent="."]
[node name="Occluder6" type="Occluder" parent="LOD/0"]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 47, 13, -0.312035 )
shape = SubResource( 4 )
[node name="Occluder7" type="Occluder" parent="."]
[node name="Occluder7" type="Occluder" parent="LOD/0"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 13, 47.688 )
shape = SubResource( 4 )
[node name="Occluder8" type="Occluder" parent="."]
[node name="Occluder8" type="Occluder" parent="LOD/0"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 13, -47.312 )
shape = SubResource( 4 )
[node name="Occluder9" type="Occluder" parent="."]
[node name="Occluder9" type="Occluder" parent="LOD/0"]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 48, -0.312035 )
shape = SubResource( 5 )
[node name="1" type="Spatial" parent="LOD"]
visible = false

View File

@@ -126,22 +126,23 @@
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.237135764977738,
0.237135764977738,
0.237135764977738
]
"specularColorTexture":{
"index":0
}
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_52716_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0
"metallicFactor":0,
"metallicRoughnessTexture":{
"index":2
}
}
}
],
@@ -283,20 +284,38 @@
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_52716",
"uri":"textures/Atlas_52716.png"
"name":"Image",
"uri":"textures/Image.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1",
"uri":"textures/joint-atlas-1.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1-roughness",
"uri":"textures/joint-atlas-1-roughness.png"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":1201,
"count":1194,
"max":[
37,
13,
@@ -312,13 +331,13 @@
{
"bufferView":1,
"componentType":5126,
"count":1201,
"count":1194,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":1201,
"count":1194,
"type":"VEC2"
},
{
@@ -398,7 +417,7 @@
{
"bufferView":12,
"componentType":5126,
"count":217,
"count":235,
"max":[
15.431995391845703,
20.69999885559082,
@@ -414,19 +433,19 @@
{
"bufferView":13,
"componentType":5126,
"count":217,
"count":235,
"type":"VEC3"
},
{
"bufferView":14,
"componentType":5126,
"count":217,
"count":235,
"type":"VEC2"
},
{
"bufferView":15,
"componentType":5126,
"count":217,
"count":235,
"type":"VEC4"
},
{
@@ -438,7 +457,7 @@
{
"bufferView":17,
"componentType":5126,
"count":330,
"count":317,
"max":[
3,
3,
@@ -454,19 +473,19 @@
{
"bufferView":18,
"componentType":5126,
"count":330,
"count":317,
"type":"VEC3"
},
{
"bufferView":19,
"componentType":5126,
"count":330,
"count":317,
"type":"VEC2"
},
{
"bufferView":20,
"componentType":5126,
"count":330,
"count":317,
"type":"VEC4"
},
{
@@ -592,7 +611,7 @@
{
"bufferView":36,
"componentType":5126,
"count":359,
"count":302,
"max":[
38,
0,
@@ -608,19 +627,19 @@
{
"bufferView":37,
"componentType":5126,
"count":359,
"count":302,
"type":"VEC3"
},
{
"bufferView":38,
"componentType":5126,
"count":359,
"count":302,
"type":"VEC2"
},
{
"bufferView":39,
"componentType":5126,
"count":359,
"count":302,
"type":"VEC4"
},
{
@@ -633,248 +652,248 @@
"bufferViews":[
{
"buffer":0,
"byteLength":14412,
"byteLength":14328,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":14412,
"byteOffset":14412,
"byteLength":14328,
"byteOffset":14328,
"target":34962
},
{
"buffer":0,
"byteLength":9608,
"byteOffset":28824,
"byteLength":9552,
"byteOffset":28656,
"target":34962
},
{
"buffer":0,
"byteLength":5568,
"byteOffset":38432,
"byteOffset":38208,
"target":34963
},
{
"buffer":0,
"byteLength":6816,
"byteOffset":44000,
"byteOffset":43776,
"target":34962
},
{
"buffer":0,
"byteLength":6816,
"byteOffset":50816,
"byteOffset":50592,
"target":34962
},
{
"buffer":0,
"byteLength":4544,
"byteOffset":57632,
"byteOffset":57408,
"target":34962
},
{
"buffer":0,
"byteLength":5268,
"byteOffset":62176,
"byteOffset":61952,
"target":34963
},
{
"buffer":0,
"byteLength":7212,
"byteOffset":67444,
"byteOffset":67220,
"target":34962
},
{
"buffer":0,
"byteLength":7212,
"byteOffset":74656,
"byteOffset":74432,
"target":34962
},
{
"buffer":0,
"byteLength":4808,
"byteOffset":81868,
"byteOffset":81644,
"target":34962
},
{
"buffer":0,
"byteLength":5652,
"byteOffset":86676,
"byteOffset":86452,
"target":34963
},
{
"buffer":0,
"byteLength":2604,
"byteOffset":92328,
"byteLength":2820,
"byteOffset":92104,
"target":34962
},
{
"buffer":0,
"byteLength":2604,
"byteOffset":94932,
"byteLength":2820,
"byteOffset":94924,
"target":34962
},
{
"buffer":0,
"byteLength":1736,
"byteOffset":97536,
"byteLength":1880,
"byteOffset":97744,
"target":34962
},
{
"buffer":0,
"byteLength":3472,
"byteOffset":99272,
"byteLength":3760,
"byteOffset":99624,
"target":34962
},
{
"buffer":0,
"byteLength":1728,
"byteOffset":102744,
"byteOffset":103384,
"target":34963
},
{
"buffer":0,
"byteLength":3960,
"byteOffset":104472,
"byteLength":3804,
"byteOffset":105112,
"target":34962
},
{
"buffer":0,
"byteLength":3960,
"byteOffset":108432,
"byteLength":3804,
"byteOffset":108916,
"target":34962
},
{
"buffer":0,
"byteLength":2640,
"byteOffset":112392,
"byteLength":2536,
"byteOffset":112720,
"target":34962
},
{
"buffer":0,
"byteLength":5280,
"byteOffset":115032,
"byteLength":5072,
"byteOffset":115256,
"target":34962
},
{
"buffer":0,
"byteLength":1716,
"byteOffset":120312,
"byteOffset":120328,
"target":34963
},
{
"buffer":0,
"byteLength":324,
"byteOffset":122028,
"byteOffset":122044,
"target":34962
},
{
"buffer":0,
"byteLength":324,
"byteOffset":122352,
"byteOffset":122368,
"target":34962
},
{
"buffer":0,
"byteLength":216,
"byteOffset":122676,
"byteOffset":122692,
"target":34962
},
{
"buffer":0,
"byteLength":432,
"byteOffset":122892,
"byteOffset":122908,
"target":34962
},
{
"buffer":0,
"byteLength":192,
"byteOffset":123324,
"byteOffset":123340,
"target":34963
},
{
"buffer":0,
"byteLength":324,
"byteOffset":123516,
"byteOffset":123532,
"target":34962
},
{
"buffer":0,
"byteLength":324,
"byteOffset":123840,
"byteOffset":123856,
"target":34962
},
{
"buffer":0,
"byteLength":216,
"byteOffset":124164,
"byteOffset":124180,
"target":34962
},
{
"buffer":0,
"byteLength":432,
"byteOffset":124380,
"byteOffset":124396,
"target":34962
},
{
"buffer":0,
"byteLength":1536,
"byteOffset":124812,
"byteOffset":124828,
"target":34962
},
{
"buffer":0,
"byteLength":1536,
"byteOffset":126348,
"byteOffset":126364,
"target":34962
},
{
"buffer":0,
"byteLength":1024,
"byteOffset":127884,
"byteOffset":127900,
"target":34962
},
{
"buffer":0,
"byteLength":2048,
"byteOffset":128908,
"byteOffset":128924,
"target":34962
},
{
"buffer":0,
"byteLength":456,
"byteOffset":130956,
"byteOffset":130972,
"target":34963
},
{
"buffer":0,
"byteLength":4308,
"byteOffset":131412,
"byteLength":3624,
"byteOffset":131428,
"target":34962
},
{
"buffer":0,
"byteLength":4308,
"byteOffset":135720,
"byteLength":3624,
"byteOffset":135052,
"target":34962
},
{
"buffer":0,
"byteLength":2872,
"byteOffset":140028,
"byteLength":2416,
"byteOffset":138676,
"target":34962
},
{
"buffer":0,
"byteLength":5744,
"byteOffset":142900,
"byteLength":4832,
"byteOffset":141092,
"target":34962
},
{
"buffer":0,
"byteLength":2364,
"byteOffset":148644,
"byteOffset":145924,
"target":34963
}
],
@@ -886,7 +905,7 @@
],
"buffers":[
{
"byteLength":151008,
"byteLength":148288,
"uri":"home-exterior.bin"
}
]

View File

@@ -17,51 +17,59 @@ polygon_points = PoolVector2Array( 13.0002, -0.955048, 13.5094, 5.5803, 0.237133
[node name="home-exterior" type="Spatial"]
[node name="scene_home" type="Spatial" parent="." groups=["actuator"]]
[node name="LOD" type="LOD" parent="."]
[node name="0" type="Spatial" parent="LOD"]
lod_range = 300.0
[node name="scene_home" type="Spatial" parent="LOD/0" groups=["actuator"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 18.7743 )
[node name="Area" type="Area" parent="scene_home"]
[node name="Area" type="Area" parent="LOD/0/scene_home"]
[node name="CollisionShape" type="CollisionShape" parent="scene_home/Area"]
[node name="CollisionShape" type="CollisionShape" parent="LOD/0/scene_home/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 1.40819 )
shape = SubResource( 1 )
[node name="CollisionShape2" type="CollisionShape" parent="scene_home/Area"]
[node name="CollisionShape2" type="CollisionShape" parent="LOD/0/scene_home/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.4, -0.375477 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="home-exterior" parent="MergeGroup" instance=ExtResource( 1 )]
[node name="home-exterior" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
[node name="Occluder" type="Occluder" parent="."]
[node name="Occluder" type="Occluder" parent="LOD/0"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -19.8075 )
shape = SubResource( 2 )
[node name="Occluder2" type="Occluder" parent="."]
[node name="Occluder2" type="Occluder" parent="LOD/0"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 19.8664 )
shape = SubResource( 2 )
[node name="Occluder3" type="Occluder" parent="."]
[node name="Occluder3" type="Occluder" parent="LOD/0"]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -19.317, 0, 0.375481 )
shape = SubResource( 2 )
[node name="Occluder4" type="Occluder" parent="."]
[node name="Occluder4" type="Occluder" parent="LOD/0"]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 19.5775, 0, 0.375481 )
shape = SubResource( 2 )
[node name="Occluder5" type="Occluder" parent="."]
[node name="Occluder5" type="Occluder" parent="LOD/0"]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 35.8901, 0, 0.375481 )
shape = SubResource( 3 )
[node name="Occluder6" type="Occluder" parent="."]
[node name="Occluder6" type="Occluder" parent="LOD/0"]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 21.5775, 0, 0.375481 )
shape = SubResource( 3 )
[node name="Occluder7" type="Occluder" parent="."]
[node name="Occluder7" type="Occluder" parent="LOD/0"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 21.5775, 0, -0.15785 )
shape = SubResource( 4 )
[node name="Occluder8" type="Occluder" parent="."]
[node name="Occluder8" type="Occluder" parent="LOD/0"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 21.5775, 0, -19.708 )
shape = SubResource( 4 )
[node name="1" type="Spatial" parent="LOD"]
visible = false

View File

@@ -33,22 +33,23 @@
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0,
0,
0
]
"specularColorTexture":{
"index":0
}
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_00006_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0
"metallicFactor":0,
"metallicRoughnessTexture":{
"index":2
}
}
}
],
@@ -88,13 +89,31 @@
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_00006",
"uri":"textures/Atlas_00006.png"
"name":"Image",
"uri":"textures/Image.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1",
"uri":"textures/joint-atlas-1.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1-roughness",
"uri":"textures/joint-atlas-1-roughness.png"
}
],
"accessors":[
@@ -141,7 +160,7 @@
{
"bufferView":5,
"componentType":5126,
"count":204,
"count":170,
"max":[
53,
0,
@@ -157,19 +176,19 @@
{
"bufferView":6,
"componentType":5126,
"count":204,
"count":170,
"type":"VEC3"
},
{
"bufferView":7,
"componentType":5126,
"count":204,
"count":170,
"type":"VEC2"
},
{
"bufferView":8,
"componentType":5126,
"count":204,
"count":170,
"type":"VEC4"
},
{
@@ -212,32 +231,32 @@
},
{
"buffer":0,
"byteLength":2448,
"byteLength":2040,
"byteOffset":16920,
"target":34962
},
{
"buffer":0,
"byteLength":2448,
"byteOffset":19368,
"byteLength":2040,
"byteOffset":18960,
"target":34962
},
{
"buffer":0,
"byteLength":1632,
"byteOffset":21816,
"byteLength":1360,
"byteOffset":21000,
"target":34962
},
{
"buffer":0,
"byteLength":3264,
"byteOffset":23448,
"byteLength":2720,
"byteOffset":22360,
"target":34962
},
{
"buffer":0,
"byteLength":1800,
"byteOffset":26712,
"byteOffset":25080,
"target":34963
}
],
@@ -249,7 +268,7 @@
],
"buffers":[
{
"byteLength":28512,
"byteLength":26880,
"uri":"logistics-center-exterior.bin"
}
]

View File

@@ -1,17 +1,47 @@
[gd_scene load_steps=3 format=2]
[gd_scene load_steps=5 format=2]
[ext_resource path="res://astream/terrain/details/logistics-center-exterior.gltf" type="PackedScene" id=1]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 1, 1.19685, 1.96102 )
[node name="logistics-center-exterior" instance=ExtResource( 1 )]
[sub_resource type="OccluderShapePolygon" id=2]
polygon_points = PoolVector2Array( 48.5524, -0.597629, 48.8988, 18.686, -47.2886, 18.2242, -47.866, 0.0951996 )
[node name="scene_logistics_center" type="Spatial" parent="." index="2" groups=["actuator"]]
[sub_resource type="OccluderShapePolygon" id=3]
polygon_points = PoolVector2Array( 14.3039, -0.716306, 14.3888, 17.362, -14.214, 16.9376, -14.9779, -1.14068 )
[node name="logistics-center-exterior" type="Spatial"]
[node name="scene_logistics_center" type="Spatial" parent="." groups=["actuator"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0804744, 0, 17.4263 )
[node name="Area" type="Area" parent="scene_logistics_center" index="0"]
[node name="Area" type="Area" parent="scene_logistics_center"]
[node name="CollisionShape" type="CollisionShape" parent="scene_logistics_center/Area" index="0"]
[node name="CollisionShape" type="CollisionShape" parent="scene_logistics_center/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.32854, -0.380188 )
shape = SubResource( 1 )
[node name="LOD" type="LOD" parent="."]
[node name="0" type="Spatial" parent="LOD"]
lod_range = 150.0
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="logistics-center-exterior" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
[node name="1" type="Spatial" parent="LOD"]
visible = false
[node name="Occluder" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -16.2969 )
shape = SubResource( 2 )
[node name="Occluder2" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 16.5663 )
shape = SubResource( 2 )
[node name="Occluder3" type="Occluder" parent="."]
transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 0, 0 )
shape = SubResource( 3 )

View File

@@ -53,23 +53,23 @@
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0,
0,
0
]
"specularColorTexture":{
"index":0
}
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_00005_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0,
"roughnessFactor":0.5
"metallicRoughnessTexture":{
"index":2
}
}
}
],
@@ -146,13 +146,31 @@
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_00005",
"uri":"textures/Atlas_00005.png"
"name":"Image",
"uri":"textures/Image.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1",
"uri":"textures/joint-atlas-1.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1-roughness",
"uri":"textures/joint-atlas-1-roughness.png"
}
],
"accessors":[
@@ -227,7 +245,7 @@
{
"bufferView":8,
"componentType":5126,
"count":120,
"count":116,
"max":[
50,
0.21000000834465027,
@@ -243,19 +261,19 @@
{
"bufferView":9,
"componentType":5126,
"count":120,
"count":116,
"type":"VEC3"
},
{
"bufferView":10,
"componentType":5126,
"count":120,
"count":116,
"type":"VEC2"
},
{
"bufferView":11,
"componentType":5126,
"count":120,
"count":116,
"type":"VEC4"
},
{
@@ -390,86 +408,86 @@
},
{
"buffer":0,
"byteLength":1440,
"byteLength":1392,
"byteOffset":43696,
"target":34962
},
{
"buffer":0,
"byteLength":1440,
"byteOffset":45136,
"byteLength":1392,
"byteOffset":45088,
"target":34962
},
{
"buffer":0,
"byteLength":960,
"byteOffset":46576,
"byteLength":928,
"byteOffset":46480,
"target":34962
},
{
"buffer":0,
"byteLength":1920,
"byteOffset":47536,
"byteLength":1856,
"byteOffset":47408,
"target":34962
},
{
"buffer":0,
"byteLength":1044,
"byteOffset":49456,
"byteOffset":49264,
"target":34963
},
{
"buffer":0,
"byteLength":1560,
"byteOffset":50500,
"byteOffset":50308,
"target":34962
},
{
"buffer":0,
"byteLength":1560,
"byteOffset":52060,
"byteOffset":51868,
"target":34962
},
{
"buffer":0,
"byteLength":1040,
"byteOffset":53620,
"byteOffset":53428,
"target":34962
},
{
"buffer":0,
"byteLength":420,
"byteOffset":54660,
"byteOffset":54468,
"target":34963
},
{
"buffer":0,
"byteLength":4608,
"byteOffset":55080,
"byteOffset":54888,
"target":34962
},
{
"buffer":0,
"byteLength":4608,
"byteOffset":59688,
"byteOffset":59496,
"target":34962
},
{
"buffer":0,
"byteLength":3072,
"byteOffset":64296,
"byteOffset":64104,
"target":34962
},
{
"buffer":0,
"byteLength":6144,
"byteOffset":67368,
"byteOffset":67176,
"target":34962
},
{
"buffer":0,
"byteLength":1152,
"byteOffset":73512,
"byteOffset":73320,
"target":34963
}
],
@@ -481,7 +499,7 @@
],
"buffers":[
{
"byteLength":74664,
"byteLength":74472,
"uri":"office-exterior.bin"
}
]

View File

@@ -2,30 +2,17 @@
[ext_resource path="res://astream/terrain/details/office-exterior.gltf" type="PackedScene" id=1]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 3.29498, 1.40109, 4.14298 )
[sub_resource type="OccluderShapePolygon" id=2]
polygon_points = PoolVector2Array( 39.4718, 0.292291, 39.4718, 14.251, -39.7263, 13.855, -39.5283, 0.68828 )
[sub_resource type="OccluderShapePolygon" id=3]
polygon_points = PoolVector2Array( 19.5713, 0.55356, 19.5713, 13.9182, -19.4337, 14.0172, -19.3347, 0.751557 )
[sub_resource type="BoxShape" id=1]
extents = Vector3( 3.29498, 1.40109, 4.14298 )
[node name="office-exterior" type="Spatial"]
[node name="scene_office" type="Spatial" parent="." groups=["actuator"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 19.0407 )
[node name="Area" type="Area" parent="scene_office"]
[node name="CollisionShape" type="CollisionShape" parent="scene_office/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.000112534, 2.48236, -4.51659 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="office-exterior" parent="MergeGroup" instance=ExtResource( 1 )]
[node name="Occluder" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 19.1658 )
shape = SubResource( 2 )
@@ -41,3 +28,24 @@ shape = SubResource( 3 )
[node name="Occluder4" type="Occluder" parent="."]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 39.7202, 0, 0.157095 )
shape = SubResource( 3 )
[node name="LOD" type="LOD" parent="."]
[node name="0" type="Spatial" parent="LOD"]
lod_range = 350.0
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="office-exterior" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
[node name="1" type="Spatial" parent="LOD"]
visible = false
[node name="scene_office" type="Spatial" parent="." groups=["actuator"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 19.0407 )
[node name="Area" type="Area" parent="scene_office"]
[node name="CollisionShape" type="CollisionShape" parent="scene_office/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.000112534, 2.48236, -4.51659 )
shape = SubResource( 1 )

View File

@@ -1,245 +0,0 @@
{
"asset":{
"generator":"Khronos glTF Blender I/O v3.6.27",
"version":"2.0"
},
"extensionsUsed":[
"KHR_materials_specular",
"KHR_materials_ior"
],
"scene":0,
"scenes":[
{
"name":"Scene",
"nodes":[
0,
1,
2
]
}
],
"nodes":[
{
"mesh":0,
"name":"box-col"
},
{
"mesh":1,
"name":"wire-attachment",
"translation":[
-0.20000001788139343,
1,
0
]
},
{
"mesh":1,
"name":"wire-attachment.001",
"translation":[
0.19999998807907104,
1,
0
]
}
],
"materials":[
{
"alphaCutoff":0.5,
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_36953_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
},
"metallicFactor":0
}
}
],
"meshes":[
{
"name":"Cube",
"primitives":[
{
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2
},
"indices":3,
"material":0
}
]
},
{
"name":"wire-attachment",
"primitives":[
{
"attributes":{
"POSITION":4,
"NORMAL":5,
"TEXCOORD_0":6
},
"indices":7,
"material":0
}
]
}
],
"textures":[
{
"sampler":0,
"source":0
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_36953",
"uri":"Atlas_36953.png"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":24,
"max":[
0.3999999761581421,
1,
0.19999998807907104
],
"min":[
-0.3999999761581421,
0,
-0.19999998807907104
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":24,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":24,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5123,
"count":36,
"type":"SCALAR"
},
{
"bufferView":4,
"componentType":5126,
"count":704,
"max":[
0.04682454466819763,
0.12682461738586426,
0.04682454466819763
],
"min":[
-0.04682457447052002,
-0.0068245530128479,
-0.04682454466819763
],
"type":"VEC3"
},
{
"bufferView":5,
"componentType":5126,
"count":704,
"type":"VEC3"
},
{
"bufferView":6,
"componentType":5126,
"count":704,
"type":"VEC2"
},
{
"bufferView":7,
"componentType":5123,
"count":1140,
"type":"SCALAR"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":288,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":288,
"byteOffset":288,
"target":34962
},
{
"buffer":0,
"byteLength":192,
"byteOffset":576,
"target":34962
},
{
"buffer":0,
"byteLength":72,
"byteOffset":768,
"target":34963
},
{
"buffer":0,
"byteLength":8448,
"byteOffset":840,
"target":34962
},
{
"buffer":0,
"byteLength":8448,
"byteOffset":9288,
"target":34962
},
{
"buffer":0,
"byteLength":5632,
"byteOffset":17736,
"target":34962
},
{
"buffer":0,
"byteLength":2280,
"byteOffset":23368,
"target":34963
}
],
"samplers":[
{
"magFilter":9729,
"minFilter":9987
}
],
"buffers":[
{
"byteLength":25648,
"uri":"power-in-box.bin"
}
]
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +0,0 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://astream/terrain/details/parts/power-in-box.gltf" type="PackedScene" id=1]
[node name="power-in-box" instance=ExtResource( 1 )]

View File

@@ -1,444 +0,0 @@
{
"asset":{
"generator":"Khronos glTF Blender I/O v3.6.27",
"version":"2.0"
},
"extensionsUsed":[
"KHR_materials_specular",
"KHR_materials_ior"
],
"scene":0,
"scenes":[
{
"name":"Scene",
"nodes":[
0,
1,
2,
3,
4,
5,
6
]
}
],
"nodes":[
{
"mesh":0,
"name":"wire-attachment-noimp.001",
"translation":[
-1.4500000476837158,
11.90000057220459,
-0.2499999850988388
]
},
{
"mesh":0,
"name":"wire-attachment-noimp.003",
"translation":[
1.4500000476837158,
11.90000057220459,
-0.2499999850988388
]
},
{
"mesh":1,
"name":"wire_r"
},
{
"mesh":1,
"name":"wire_l",
"translation":[
-2.8999996185302734,
0,
0
]
},
{
"mesh":2,
"name":"wire-attachment",
"translation":[
-1.4500000476837158,
11.90000057220459,
-39.75
]
},
{
"mesh":2,
"name":"wire-attachment.001",
"translation":[
1.4500000476837158,
11.90000057220459,
-39.75
]
},
{
"mesh":3,
"name":"box-col.001",
"translation":[
0,
11.800000190734863,
-39.70000076293945
]
}
],
"materials":[
{
"alphaCutoff":0.5,
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_36953_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
},
"metallicFactor":0
}
},
{
"alphaCutoff":0.5,
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_36953_1.001",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":1
},
"metallicFactor":0
}
}
],
"meshes":[
{
"name":"wire-attachment.001",
"primitives":[
{
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2
},
"indices":3,
"material":0
}
]
},
{
"name":"midwire.001",
"primitives":[
{
"attributes":{
"POSITION":4,
"NORMAL":5,
"TEXCOORD_0":6
},
"indices":7,
"material":0
}
]
},
{
"name":"wire-attachment.002",
"primitives":[
{
"attributes":{
"POSITION":8,
"NORMAL":9,
"TEXCOORD_0":10
},
"indices":3,
"material":0
}
]
},
{
"name":"Cube.004",
"primitives":[
{
"attributes":{
"POSITION":11,
"NORMAL":12,
"TEXCOORD_0":13
},
"indices":14,
"material":1
}
]
}
],
"textures":[
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":0
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_36953",
"uri":"Atlas_36953.png"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":704,
"max":[
0.04682454466819763,
0.12682461738586426,
0.04682454466819763
],
"min":[
-0.04682457447052002,
-0.0068245530128479,
-0.04682454466819763
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":704,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":704,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5123,
"count":1140,
"type":"SCALAR"
},
{
"bufferView":4,
"componentType":5126,
"count":262,
"max":[
1.5052615404129028,
11.985416412353516,
-0.2033638060092926
],
"min":[
1.393612027168274,
11.737929344177246,
-39.78764343261719
],
"type":"VEC3"
},
{
"bufferView":5,
"componentType":5126,
"count":262,
"type":"VEC3"
},
{
"bufferView":6,
"componentType":5126,
"count":262,
"type":"VEC2"
},
{
"bufferView":7,
"componentType":5123,
"count":444,
"type":"SCALAR"
},
{
"bufferView":8,
"componentType":5126,
"count":704,
"max":[
0.04682454466819763,
0.12682461738586426,
0.04682454466819763
],
"min":[
-0.04682457447052002,
-0.0068245530128479,
-0.04682454466819763
],
"type":"VEC3"
},
{
"bufferView":9,
"componentType":5126,
"count":704,
"type":"VEC3"
},
{
"bufferView":10,
"componentType":5126,
"count":704,
"type":"VEC2"
},
{
"bufferView":11,
"componentType":5126,
"count":24,
"max":[
1.600000023841858,
0.09999996423721313,
0
],
"min":[
-1.600000023841858,
0,
-0.10000000149011612
],
"type":"VEC3"
},
{
"bufferView":12,
"componentType":5126,
"count":24,
"type":"VEC3"
},
{
"bufferView":13,
"componentType":5126,
"count":24,
"type":"VEC2"
},
{
"bufferView":14,
"componentType":5123,
"count":36,
"type":"SCALAR"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":8448,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":8448,
"byteOffset":8448,
"target":34962
},
{
"buffer":0,
"byteLength":5632,
"byteOffset":16896,
"target":34962
},
{
"buffer":0,
"byteLength":2280,
"byteOffset":22528,
"target":34963
},
{
"buffer":0,
"byteLength":3144,
"byteOffset":24808,
"target":34962
},
{
"buffer":0,
"byteLength":3144,
"byteOffset":27952,
"target":34962
},
{
"buffer":0,
"byteLength":2096,
"byteOffset":31096,
"target":34962
},
{
"buffer":0,
"byteLength":888,
"byteOffset":33192,
"target":34963
},
{
"buffer":0,
"byteLength":8448,
"byteOffset":34080,
"target":34962
},
{
"buffer":0,
"byteLength":8448,
"byteOffset":42528,
"target":34962
},
{
"buffer":0,
"byteLength":5632,
"byteOffset":50976,
"target":34962
},
{
"buffer":0,
"byteLength":288,
"byteOffset":56608,
"target":34962
},
{
"buffer":0,
"byteLength":288,
"byteOffset":56896,
"target":34962
},
{
"buffer":0,
"byteLength":192,
"byteOffset":57184,
"target":34962
},
{
"buffer":0,
"byteLength":72,
"byteOffset":57376,
"target":34963
}
],
"samplers":[
{
"magFilter":9729,
"minFilter":9987
}
],
"buffers":[
{
"byteLength":57448,
"uri":"power-pole-wire.bin"
}
]
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,12 +0,0 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://astream/terrain/details/parts/power-pole-wire.gltf" type="PackedScene" id=1]
[ext_resource path="res://astream/terrain/details/parts/power-pole.tscn" type="PackedScene" id=2]
[node name="power-pole-wire" type="Spatial"]
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="power-pole" parent="MergeGroup" instance=ExtResource( 2 )]
[node name="power-pole-wire" parent="MergeGroup" instance=ExtResource( 1 )]

View File

@@ -1,585 +0,0 @@
{
"asset":{
"generator":"Khronos glTF Blender I/O v3.6.27",
"version":"2.0"
},
"extensionsUsed":[
"KHR_materials_specular",
"KHR_materials_ior"
],
"scene":0,
"scenes":[
{
"name":"Scene",
"nodes":[
2,
5,
8
]
}
],
"nodes":[
{
"mesh":0,
"name":"wire-attachment",
"translation":[
-1.4500000476837158,
0.10000038146972656,
0.04999999701976776
]
},
{
"mesh":0,
"name":"wire-attachment.001",
"translation":[
1.4500000476837158,
0.10000038146972656,
0.04999999701976776
]
},
{
"children":[
0,
1
],
"mesh":1,
"name":"box-col",
"translation":[
0,
11.800000190734863,
0.20000000298023224
]
},
{
"mesh":2,
"name":"Cube",
"scale":[
0.02500000037252903,
0.02500000037252903,
0.25
],
"translation":[
1.4799997806549072,
11.959999084472656,
0
]
},
{
"mesh":2,
"name":"Cube.001",
"scale":[
0.02500000037252903,
0.02500000037252903,
0.25
],
"translation":[
-1.4199998378753662,
11.959999084472656,
0
]
},
{
"children":[
3,
4
],
"mesh":3,
"name":"pole-col"
},
{
"mesh":4,
"name":"wire-attachment.002",
"translation":[
-1.4500000476837158,
0.10000038146972656,
-0.04999998211860657
]
},
{
"mesh":4,
"name":"wire-attachment.003",
"translation":[
1.4500000476837158,
0.10000038146972656,
-0.04999998211860657
]
},
{
"children":[
6,
7
],
"mesh":5,
"name":"box-col.001",
"translation":[
0,
11.800000190734863,
-0.20000000298023224
]
}
],
"materials":[
{
"alphaCutoff":0.5,
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_36953_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
},
"metallicFactor":0
}
}
],
"meshes":[
{
"name":"wire-attachment",
"primitives":[
{
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2
},
"indices":3,
"material":0
}
]
},
{
"name":"Cube",
"primitives":[
{
"attributes":{
"POSITION":4,
"NORMAL":5,
"TEXCOORD_0":6
},
"indices":7,
"material":0
}
]
},
{
"name":"midwire",
"primitives":[
{
"attributes":{
"POSITION":8,
"NORMAL":9,
"TEXCOORD_0":10
},
"indices":11,
"material":0
}
]
},
{
"name":"Cylinder",
"primitives":[
{
"attributes":{
"POSITION":12,
"NORMAL":13,
"TEXCOORD_0":14
},
"indices":15,
"material":0
}
]
},
{
"name":"wire-attachment.001",
"primitives":[
{
"attributes":{
"POSITION":16,
"NORMAL":17,
"TEXCOORD_0":18
},
"indices":3,
"material":0
}
]
},
{
"name":"Cube.001",
"primitives":[
{
"attributes":{
"POSITION":19,
"NORMAL":20,
"TEXCOORD_0":21
},
"indices":7,
"material":0
}
]
}
],
"textures":[
{
"sampler":0,
"source":0
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_36953",
"uri":"Atlas_36953.png"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":704,
"max":[
0.04682454466819763,
0.12682461738586426,
0.04682454466819763
],
"min":[
-0.04682457447052002,
-0.0068245530128479,
-0.04682454466819763
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":704,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":704,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5123,
"count":1140,
"type":"SCALAR"
},
{
"bufferView":4,
"componentType":5126,
"count":24,
"max":[
1.600000023841858,
0.09999996423721313,
0.10000000149011612
],
"min":[
-1.600000023841858,
0,
0
],
"type":"VEC3"
},
{
"bufferView":5,
"componentType":5126,
"count":24,
"type":"VEC3"
},
{
"bufferView":6,
"componentType":5126,
"count":24,
"type":"VEC2"
},
{
"bufferView":7,
"componentType":5123,
"count":36,
"type":"SCALAR"
},
{
"bufferView":8,
"componentType":5126,
"count":208,
"max":[
0.42389652132987976,
0.5565260648727417,
1.1354808807373047
],
"min":[
-2.810861349105835,
-1.7565529346466064,
-1.1505810022354126
],
"type":"VEC3"
},
{
"bufferView":9,
"componentType":5126,
"count":208,
"type":"VEC3"
},
{
"bufferView":10,
"componentType":5126,
"count":208,
"type":"VEC2"
},
{
"bufferView":11,
"componentType":5123,
"count":372,
"type":"SCALAR"
},
{
"bufferView":12,
"componentType":5126,
"count":111,
"max":[
0.7418670654296875,
12,
0.7418670654296875
],
"min":[
-0.7418670654296875,
0,
-0.7418670654296875
],
"type":"VEC3"
},
{
"bufferView":13,
"componentType":5126,
"count":111,
"type":"VEC3"
},
{
"bufferView":14,
"componentType":5126,
"count":111,
"type":"VEC2"
},
{
"bufferView":15,
"componentType":5123,
"count":420,
"type":"SCALAR"
},
{
"bufferView":16,
"componentType":5126,
"count":704,
"max":[
0.04682454466819763,
0.12682461738586426,
0.04682454466819763
],
"min":[
-0.04682457447052002,
-0.0068245530128479,
-0.04682454466819763
],
"type":"VEC3"
},
{
"bufferView":17,
"componentType":5126,
"count":704,
"type":"VEC3"
},
{
"bufferView":18,
"componentType":5126,
"count":704,
"type":"VEC2"
},
{
"bufferView":19,
"componentType":5126,
"count":24,
"max":[
1.600000023841858,
0.09999996423721313,
0
],
"min":[
-1.600000023841858,
0,
-0.10000000149011612
],
"type":"VEC3"
},
{
"bufferView":20,
"componentType":5126,
"count":24,
"type":"VEC3"
},
{
"bufferView":21,
"componentType":5126,
"count":24,
"type":"VEC2"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":8448,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":8448,
"byteOffset":8448,
"target":34962
},
{
"buffer":0,
"byteLength":5632,
"byteOffset":16896,
"target":34962
},
{
"buffer":0,
"byteLength":2280,
"byteOffset":22528,
"target":34963
},
{
"buffer":0,
"byteLength":288,
"byteOffset":24808,
"target":34962
},
{
"buffer":0,
"byteLength":288,
"byteOffset":25096,
"target":34962
},
{
"buffer":0,
"byteLength":192,
"byteOffset":25384,
"target":34962
},
{
"buffer":0,
"byteLength":72,
"byteOffset":25576,
"target":34963
},
{
"buffer":0,
"byteLength":2496,
"byteOffset":25648,
"target":34962
},
{
"buffer":0,
"byteLength":2496,
"byteOffset":28144,
"target":34962
},
{
"buffer":0,
"byteLength":1664,
"byteOffset":30640,
"target":34962
},
{
"buffer":0,
"byteLength":744,
"byteOffset":32304,
"target":34963
},
{
"buffer":0,
"byteLength":1332,
"byteOffset":33048,
"target":34962
},
{
"buffer":0,
"byteLength":1332,
"byteOffset":34380,
"target":34962
},
{
"buffer":0,
"byteLength":888,
"byteOffset":35712,
"target":34962
},
{
"buffer":0,
"byteLength":840,
"byteOffset":36600,
"target":34963
},
{
"buffer":0,
"byteLength":8448,
"byteOffset":37440,
"target":34962
},
{
"buffer":0,
"byteLength":8448,
"byteOffset":45888,
"target":34962
},
{
"buffer":0,
"byteLength":5632,
"byteOffset":54336,
"target":34962
},
{
"buffer":0,
"byteLength":288,
"byteOffset":59968,
"target":34962
},
{
"buffer":0,
"byteLength":288,
"byteOffset":60256,
"target":34962
},
{
"buffer":0,
"byteLength":192,
"byteOffset":60544,
"target":34962
}
],
"samplers":[
{
"magFilter":9729,
"minFilter":9987
}
],
"buffers":[
{
"byteLength":60736,
"uri":"power-pole.bin"
}
]
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,9 +0,0 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://astream/terrain/details/parts/power-pole.gltf" type="PackedScene" id=1]
[node name="power-pole" type="Spatial"]
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="power-pole" parent="MergeGroup" instance=ExtResource( 1 )]

View File

@@ -3,3 +3,4 @@
[ext_resource path="res://astream/terrain/details/parts/terrain-road-segment.gltf" type="PackedScene" id=1]
[node name="terrain-road-segment" instance=ExtResource( 1 )]
visible = false

View File

@@ -33,22 +33,23 @@
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
"specularColorTexture":{
"index":0
}
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_36953_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0
"metallicFactor":0,
"metallicRoughnessTexture":{
"index":2
}
}
}
],
@@ -73,20 +74,38 @@
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_36953",
"uri":"textures/Atlas_36953.png"
"name":"Image",
"uri":"textures/Image.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1",
"uri":"textures/joint-atlas-1.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1-roughness",
"uri":"textures/joint-atlas-1-roughness.png"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":1182,
"count":1087,
"max":[
2.4556546211242676,
0.05903172492980957,
@@ -102,19 +121,19 @@
{
"bufferView":1,
"componentType":5126,
"count":1182,
"count":1087,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":1182,
"count":1087,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5126,
"count":1182,
"count":1087,
"type":"VEC4"
},
{
@@ -127,32 +146,32 @@
"bufferViews":[
{
"buffer":0,
"byteLength":14184,
"byteLength":13044,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":14184,
"byteOffset":14184,
"byteLength":13044,
"byteOffset":13044,
"target":34962
},
{
"buffer":0,
"byteLength":9456,
"byteOffset":28368,
"byteLength":8696,
"byteOffset":26088,
"target":34962
},
{
"buffer":0,
"byteLength":18912,
"byteOffset":37824,
"byteLength":17392,
"byteOffset":34784,
"target":34962
},
{
"buffer":0,
"byteLength":4344,
"byteOffset":56736,
"byteOffset":52176,
"target":34963
}
],
@@ -164,7 +183,7 @@
],
"buffers":[
{
"byteLength":61080,
"byteLength":56520,
"uri":"residental-garage-door.bin"
}
]

View File

@@ -28,22 +28,23 @@
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
"specularColorTexture":{
"index":0
}
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_36953_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0
"metallicFactor":0,
"metallicRoughnessTexture":{
"index":2
}
}
}
],
@@ -68,13 +69,31 @@
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_36953",
"uri":"textures/Atlas_36953.png"
"name":"Image",
"uri":"textures/Image.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1",
"uri":"textures/joint-atlas-1.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1-roughness",
"uri":"textures/joint-atlas-1-roughness.png"
}
],
"accessors":[

View File

@@ -28,22 +28,23 @@
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
"specularColorTexture":{
"index":0
}
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_36953_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0
"metallicFactor":0,
"metallicRoughnessTexture":{
"index":2
}
}
}
],
@@ -68,20 +69,38 @@
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_36953",
"uri":"textures/Atlas_36953.png"
"name":"Image",
"uri":"textures/Image.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1",
"uri":"textures/joint-atlas-1.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1-roughness",
"uri":"textures/joint-atlas-1-roughness.png"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":226,
"count":225,
"max":[
3,
0.09999999403953552,
@@ -97,19 +116,19 @@
{
"bufferView":1,
"componentType":5126,
"count":226,
"count":225,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":226,
"count":225,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5126,
"count":226,
"count":225,
"type":"VEC4"
},
{
@@ -122,32 +141,32 @@
"bufferViews":[
{
"buffer":0,
"byteLength":2712,
"byteLength":2700,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":2712,
"byteOffset":2712,
"byteLength":2700,
"byteOffset":2700,
"target":34962
},
{
"buffer":0,
"byteLength":1808,
"byteOffset":5424,
"byteLength":1800,
"byteOffset":5400,
"target":34962
},
{
"buffer":0,
"byteLength":3616,
"byteOffset":7232,
"byteLength":3600,
"byteOffset":7200,
"target":34962
},
{
"buffer":0,
"byteLength":744,
"byteOffset":10848,
"byteOffset":10800,
"target":34963
}
],
@@ -159,7 +178,7 @@
],
"buffers":[
{
"byteLength":11592,
"byteLength":11544,
"uri":"residental-garage.bin"
}
]

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=12 format=2]
[gd_scene load_steps=8 format=2]
[ext_resource path="res://astream/terrain/details/residental-garage.gltf" type="PackedScene" id=1]
[ext_resource path="res://astream/terrain/details/residental-garage-roof1.gltf" type="PackedScene" id=2]
@@ -7,18 +7,6 @@
[ext_resource path="res://astream/terrain/details/residental-wall-corner.gltf" type="PackedScene" id=5]
[ext_resource path="res://astream/terrain/details/residental-garage-enterance.gltf" type="PackedScene" id=6]
[sub_resource type="CubeMesh" id=1]
size = Vector3( 27, 1, 10 )
[sub_resource type="SpatialMaterial" id=2]
albedo_color = Color( 0.227451, 0.0235294, 0.0235294, 1 )
[sub_resource type="CubeMesh" id=3]
size = Vector3( 25, 6, 9 )
[sub_resource type="SpatialMaterial" id=4]
albedo_color = Color( 0.980392, 0.639216, 0.0705882, 1 )
[sub_resource type="OccluderShapePolygon" id=5]
polygon_points = PoolVector2Array( 12.3046, -2.07897, 12.3844, 1.81323, -10.6155, 1.85245, -10.5569, -2.00206 )
@@ -151,25 +139,12 @@ lod_range = 20.0
[node name="residental-garage" parent="LOD/MergeGroup1" instance=ExtResource( 1 )]
[node name="MeshInstance" type="MeshInstance" parent="LOD/MergeGroup1"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.427596, 6.49411, 0 )
mesh = SubResource( 1 )
material/0 = SubResource( 2 )
[node name="residental-garage-roof1" parent="LOD/MergeGroup1" instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 6, 0 )
[node name="MergeGroup2" type="MergeGroup" parent="LOD"]
[node name="3" type="Spatial" parent="LOD"]
visible = false
[node name="MeshInstance" type="MeshInstance" parent="LOD/MergeGroup2"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 0 )
mesh = SubResource( 3 )
skeleton = NodePath("../../MergeGroup2")
material/0 = SubResource( 4 )
[node name="MeshInstance2" type="MeshInstance" parent="LOD/MergeGroup2"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.427596, 6.49411, 0 )
mesh = SubResource( 1 )
material/0 = SubResource( 2 )
[node name="Occluder" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.43748, 4.26318 )
shape = SubResource( 5 )

View File

@@ -28,22 +28,23 @@
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
"specularColorTexture":{
"index":0
}
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_73934_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0
"metallicFactor":0,
"metallicRoughnessTexture":{
"index":2
}
}
}
],
@@ -68,13 +69,31 @@
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_73934",
"uri":"textures/Atlas_73934.png"
"name":"Image",
"uri":"textures/Image.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1",
"uri":"textures/joint-atlas-1.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1-roughness",
"uri":"textures/joint-atlas-1-roughness.png"
}
],
"accessors":[

View File

@@ -1,39 +1,56 @@
[gd_scene load_steps=6 format=2]
[gd_scene load_steps=7 format=2]
[ext_resource path="res://astream/terrain/details/residental-house1.gltf" type="PackedScene" id=1]
[ext_resource path="res://astream/terrain/details/parts/door1-portal.tscn" type="PackedScene" id=2]
[ext_resource path="res://astream/terrain/details/parts/residental-house-stair.tscn" type="PackedScene" id=3]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.7, 1, 0.6 )
[ext_resource path="res://astream/terrain/details/residental-hut1-lod.gltf" type="PackedScene" id=4]
[sub_resource type="OccluderShapeSphere" id=2]
spheres = [ Plane( 6, 6, -3, 6 ), Plane( -6, 6, -3, 6 ), Plane( 6, 6, 6, 6 ), Plane( -6, 6, 6, 6 ) ]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.7, 1, 0.6 )
[node name="residental-house1" type="Spatial"]
[node name="door1-portal" parent="." instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 1, 1, -8.5131 )
[node name="enter_destination" type="Spatial" parent="door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="residental-house1" parent="MergeGroup" instance=ExtResource( 1 )]
[node name="residental-house-stair" parent="MergeGroup" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -9 )
[node name="Occluder" type="Occluder" parent="."]
shape = SubResource( 2 )
[node name="LOD" type="LOD" parent="."]
[node name="0" type="Spatial" parent="LOD"]
lod_range = 100.0
[node name="door1-portal" parent="LOD/0" instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 1, 1, -8.5131 )
skeleton = NodePath("../../..")
[node name="enter_destination" type="Spatial" parent="LOD/0/door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="LOD/0/door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="LOD/0/door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="LOD/0/door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="LOD/0/door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="residental-house1" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
[node name="residental-house-stair" parent="LOD/0/MergeGroup" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -9 )
[node name="1" type="Spatial" parent="LOD"]
visible = false
lod_range = 500.0
[node name="residental-hut1-lod" parent="LOD/1" instance=ExtResource( 4 )]
transform = Transform( 1.7, 0, 0, 0, 1, 0, 0, 0, 1.2, 0, 0, 2.03699 )
[node name="2" type="Spatial" parent="LOD"]
visible = false

View File

@@ -33,47 +33,23 @@
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
"specularColorTexture":{
"index":0
}
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_36953_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0
}
},
{
"doubleSided":true,
"emissiveFactor":[
0.42920592427253723,
0.42920592427253723,
0.42920592427253723
],
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
1.9512351200761842,
1.9512351200761842,
1.9512351200761842
]
},
"KHR_materials_ior":{
"ior":1.4500000476837158
"metallicFactor":0,
"metallicRoughnessTexture":{
"index":2
}
},
"name":"window",
"pbrMetallicRoughness":{
"metallicFactor":0.20000000298023224,
"roughnessFactor":0.019999999552965164
}
}
],
@@ -103,7 +79,7 @@
"TANGENT":7
},
"indices":8,
"material":1
"material":0
}
]
}
@@ -112,13 +88,31 @@
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_36953",
"uri":"textures/Atlas_36953.png"
"name":"Image",
"uri":"textures/Image.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1",
"uri":"textures/joint-atlas-1.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1-roughness",
"uri":"textures/joint-atlas-1-roughness.png"
}
],
"accessors":[

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=5 format=2]
[gd_scene load_steps=7 format=2]
[ext_resource path="res://astream/terrain/details/residental-house10.gltf" type="PackedScene" id=1]
[ext_resource path="res://astream/terrain/details/parts/door1-portal.tscn" type="PackedScene" id=2]
@@ -7,27 +7,58 @@
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.7, 1, 0.6 )
[sub_resource type="OccluderShapePolygon" id=2]
polygon_points = PoolVector2Array( 12.3016, -1.14993, 12.5691, 6.87287, -11.3924, 6.33801, -11.7133, -1.36388 )
[sub_resource type="OccluderShapePolygon" id=3]
polygon_points = PoolVector2Array( 11.693, -0.802464, 11.8306, 5.6631, -10.5008, 6.53434, -10.2715, -1.07759 )
[node name="residental-house10" type="Spatial"]
[node name="door1-portal" parent="." instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 1, -10.6561 )
[node name="LOD" type="LOD" parent="."]
[node name="enter_destination" type="Spatial" parent="door1-portal" groups=["smart_object"]]
[node name="0" type="Spatial" parent="LOD"]
lod_range = 200.0
[node name="door1-portal" parent="LOD/0" instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 1, -10.6561 )
skeleton = NodePath("../../..")
[node name="enter_destination" type="Spatial" parent="LOD/0/door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="door1-portal/enter_destination"]
[node name="actions" type="Node" parent="LOD/0/door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="door1-portal/enter_destination/actions"]
[node name="EnterDestination" type="Node" parent="LOD/0/door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="door1-portal/enter_destination"]
[node name="Area" type="Area" parent="LOD/0/door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="door1-portal/enter_destination/Area"]
[node name="CollisionShape" type="CollisionShape" parent="LOD/0/door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="residental-house-stair" parent="MergeGroup" instance=ExtResource( 3 )]
[node name="residental-house-stair" parent="LOD/0/MergeGroup" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, -13 )
[node name="residental-house10" parent="MergeGroup" instance=ExtResource( 1 )]
[node name="residental-house10" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
[node name="1" type="Spatial" parent="LOD"]
visible = false
[node name="Occluder" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 11.4243 )
shape = SubResource( 2 )
[node name="Occluder2" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1.81355 )
shape = SubResource( 2 )
[node name="Occluder3" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -9.96184 )
shape = SubResource( 2 )
[node name="Occluder4" type="Occluder" parent="."]
transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -11.3515, 0, 0 )
shape = SubResource( 3 )

View File

@@ -33,47 +33,23 @@
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
"specularColorTexture":{
"index":0
}
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_36953_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0
}
},
{
"doubleSided":true,
"emissiveFactor":[
0.42920592427253723,
0.42920592427253723,
0.42920592427253723
],
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
1.9512351200761842,
1.9512351200761842,
1.9512351200761842
]
},
"KHR_materials_ior":{
"ior":1.4500000476837158
"metallicFactor":0,
"metallicRoughnessTexture":{
"index":2
}
},
"name":"window",
"pbrMetallicRoughness":{
"metallicFactor":0.20000000298023224,
"roughnessFactor":0.019999999552965164
}
}
],
@@ -89,15 +65,6 @@
},
"indices":3,
"material":0
},
{
"attributes":{
"POSITION":4,
"NORMAL":5,
"TEXCOORD_0":6
},
"indices":7,
"material":1
}
]
},
@@ -106,12 +73,12 @@
"primitives":[
{
"attributes":{
"POSITION":8,
"NORMAL":9,
"TEXCOORD_0":10,
"TANGENT":11
"POSITION":4,
"NORMAL":5,
"TEXCOORD_0":6,
"TANGENT":7
},
"indices":12,
"indices":8,
"material":0
}
]
@@ -121,20 +88,38 @@
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_36953",
"uri":"textures/Atlas_36953.png"
"name":"Image",
"uri":"textures/Image.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1",
"uri":"textures/joint-atlas-1.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1-roughness",
"uri":"textures/joint-atlas-1-roughness.png"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":889,
"count":905,
"max":[
20,
7,
@@ -150,58 +135,24 @@
{
"bufferView":1,
"componentType":5126,
"count":889,
"count":905,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":889,
"count":905,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5123,
"count":2238,
"count":2262,
"type":"SCALAR"
},
{
"bufferView":4,
"componentType":5126,
"count":16,
"max":[
9,
5,
3.75
],
"min":[
3,
2,
-3.7577943801879883
],
"type":"VEC3"
},
{
"bufferView":5,
"componentType":5126,
"count":16,
"type":"VEC3"
},
{
"bufferView":6,
"componentType":5126,
"count":16,
"type":"VEC2"
},
{
"bufferView":7,
"componentType":5123,
"count":24,
"type":"SCALAR"
},
{
"bufferView":8,
"componentType":5126,
"count":142,
"max":[
16.39999771118164,
@@ -216,25 +167,25 @@
"type":"VEC3"
},
{
"bufferView":9,
"bufferView":5,
"componentType":5126,
"count":142,
"type":"VEC3"
},
{
"bufferView":10,
"bufferView":6,
"componentType":5126,
"count":142,
"type":"VEC2"
},
{
"bufferView":11,
"bufferView":7,
"componentType":5126,
"count":142,
"type":"VEC4"
},
{
"bufferView":12,
"bufferView":8,
"componentType":5123,
"count":378,
"type":"SCALAR"
@@ -243,50 +194,26 @@
"bufferViews":[
{
"buffer":0,
"byteLength":10668,
"byteLength":10860,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":10668,
"byteOffset":10668,
"byteLength":10860,
"byteOffset":10860,
"target":34962
},
{
"buffer":0,
"byteLength":7112,
"byteOffset":21336,
"byteLength":7240,
"byteOffset":21720,
"target":34962
},
{
"buffer":0,
"byteLength":4476,
"byteOffset":28448,
"target":34963
},
{
"buffer":0,
"byteLength":192,
"byteOffset":32924,
"target":34962
},
{
"buffer":0,
"byteLength":192,
"byteOffset":33116,
"target":34962
},
{
"buffer":0,
"byteLength":128,
"byteOffset":33308,
"target":34962
},
{
"buffer":0,
"byteLength":48,
"byteOffset":33436,
"byteLength":4524,
"byteOffset":28960,
"target":34963
},
{

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=4 format=2]
[gd_scene load_steps=6 format=2]
[ext_resource path="res://astream/terrain/details/residental-house11.gltf" type="PackedScene" id=1]
[ext_resource path="res://astream/terrain/details/parts/door1-portal.tscn" type="PackedScene" id=2]
@@ -6,24 +6,59 @@
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.7, 1, 0.6 )
[sub_resource type="OccluderShapePolygon" id=2]
polygon_points = PoolVector2Array( 13.298, -1.1693, 13.6648, 6.21337, -10.8677, 5.84653, -10.8218, -0.94003 )
[sub_resource type="OccluderShapePolygon" id=3]
polygon_points = PoolVector2Array( 25.2986, -0.829023, 25.7265, 6.28454, -26.0474, 6.17757, -25.7265, -0.775539 )
[node name="residental-house11" type="Spatial"]
[node name="door1-portal" parent="." instance=ExtResource( 2 )]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 13.5, 1, 1 )
[node name="LOD" type="LOD" parent="."]
[node name="enter_destination" type="Spatial" parent="door1-portal" groups=["smart_object"]]
[node name="0" type="Spatial" parent="LOD"]
lod_range = 250.0
[node name="door1-portal" parent="LOD/0" instance=ExtResource( 2 )]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 13.5, 1, 1 )
skeleton = NodePath("../../..")
[node name="enter_destination" type="Spatial" parent="LOD/0/door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="door1-portal/enter_destination"]
[node name="actions" type="Node" parent="LOD/0/door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="door1-portal/enter_destination/actions"]
[node name="EnterDestination" type="Node" parent="LOD/0/door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="door1-portal/enter_destination"]
[node name="Area" type="Area" parent="LOD/0/door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="door1-portal/enter_destination/Area"]
[node name="CollisionShape" type="CollisionShape" parent="LOD/0/door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="residental-house11" parent="MergeGroup" instance=ExtResource( 1 )]
[node name="residental-house11" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
[node name="1" type="Spatial" parent="LOD"]
visible = false
[node name="Occluder" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -15.9386 )
shape = SubResource( 2 )
[node name="Occluder2" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 15.8396 )
shape = SubResource( 2 )
[node name="Occluder3" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 25.5879 )
shape = SubResource( 2 )
[node name="Occluder4" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -25.2046 )
shape = SubResource( 2 )
[node name="Occluder5" type="Occluder" parent="."]
transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -10, 0, 0 )
shape = SubResource( 3 )

View File

@@ -13,42 +13,6 @@ polygon_points = PoolVector2Array( 12.7999, -1.09128, 12.8989, 54.7434, -12.7415
[node name="residental-house-12a" type="Spatial"]
[node name="door1-portal" parent="." instance=ExtResource( 4 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -1.90735e-06, 0.1, -13 )
skeleton = NodePath("../MergeGroup/residental-house12-simple-first-floor")
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="residental-house12-simple-first-floor" parent="MergeGroup" instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 20, 0, -12.8 )
[node name="residental-house12-simple-second-floor" parent="MergeGroup" instance=ExtResource( 1 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 20, 7, -12.8 )
[node name="residental-house12-simple-second-floor2" parent="MergeGroup" instance=ExtResource( 1 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 20, 13, -12.8 )
[node name="residental-house12-simple-second-floor3" parent="MergeGroup" instance=ExtResource( 1 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 20, 19, -12.8 )
[node name="residental-house12-simple-second-floor4" parent="MergeGroup" instance=ExtResource( 1 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 20, 25, -12.8 )
[node name="residental-house12-simple-second-floor5" parent="MergeGroup" instance=ExtResource( 1 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 20, 31, -12.8 )
[node name="residental-house12-simple-second-floor6" parent="MergeGroup" instance=ExtResource( 1 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 20, 37, -12.8 )
[node name="residental-house12-simple-second-floor7" parent="MergeGroup" instance=ExtResource( 1 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 20, 43, -12.8 )
[node name="residental-house12-simple-second-floor8" parent="MergeGroup" instance=ExtResource( 1 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 20, 49, -12.8 )
[node name="residental-house12-simple-roof" parent="MergeGroup" instance=ExtResource( 3 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 20, 55, -12.8 )
[node name="Occluder" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -11.8523 )
shape = SubResource( 1 )
@@ -64,3 +28,47 @@ shape = SubResource( 2 )
[node name="Occluder4" type="Occluder" parent="."]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -22, 0, 0 )
shape = SubResource( 2 )
[node name="LOD" type="LOD" parent="."]
[node name="0" type="Spatial" parent="LOD"]
lod_range = 350.0
[node name="door1-portal" parent="LOD/0" instance=ExtResource( 4 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -1.90735e-06, 0.1, -13 )
skeleton = NodePath("../MergeGroup/residental-house12-simple-first-floor")
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="residental-house12-simple-first-floor" parent="LOD/0/MergeGroup" instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 20, 0, -12.8 )
[node name="residental-house12-simple-second-floor" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 20, 7, -12.8 )
[node name="residental-house12-simple-second-floor2" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 20, 13, -12.8 )
[node name="residental-house12-simple-second-floor3" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 20, 19, -12.8 )
[node name="residental-house12-simple-second-floor4" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 20, 25, -12.8 )
[node name="residental-house12-simple-second-floor5" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 20, 31, -12.8 )
[node name="residental-house12-simple-second-floor6" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 20, 37, -12.8 )
[node name="residental-house12-simple-second-floor7" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 20, 43, -12.8 )
[node name="residental-house12-simple-second-floor8" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 20, 49, -12.8 )
[node name="residental-house12-simple-roof" parent="LOD/0/MergeGroup" instance=ExtResource( 3 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 20, 55, -12.8 )
[node name="1" type="Spatial" parent="LOD"]
visible = false

View File

@@ -84,47 +84,23 @@
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
"specularColorTexture":{
"index":0
}
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_36953_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0
}
},
{
"doubleSided":true,
"emissiveFactor":[
0.42920592427253723,
0.42920592427253723,
0.42920592427253723
],
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
1.9512351200761842,
1.9512351200761842,
1.9512351200761842
]
},
"KHR_materials_ior":{
"ior":1.4500000476837158
"metallicFactor":0,
"metallicRoughnessTexture":{
"index":2
}
},
"name":"window",
"pbrMetallicRoughness":{
"metallicFactor":0.20000000298023224,
"roughnessFactor":0.019999999552965164
}
}
],
@@ -141,16 +117,6 @@
},
"indices":4,
"material":0
},
{
"attributes":{
"POSITION":5,
"NORMAL":6,
"TEXCOORD_0":7,
"TANGENT":8
},
"indices":9,
"material":1
}
]
},
@@ -159,12 +125,12 @@
"primitives":[
{
"attributes":{
"POSITION":10,
"NORMAL":11,
"TEXCOORD_0":12,
"TANGENT":13
"POSITION":5,
"NORMAL":6,
"TEXCOORD_0":7,
"TANGENT":8
},
"indices":14,
"indices":9,
"material":0
}
]
@@ -174,9 +140,24 @@
"primitives":[
{
"attributes":{
"POSITION":15,
"NORMAL":16,
"TEXCOORD_0":17
"POSITION":10,
"NORMAL":11,
"TEXCOORD_0":12
},
"indices":13,
"material":0
}
]
},
{
"name":"roof.001",
"primitives":[
{
"attributes":{
"POSITION":14,
"NORMAL":15,
"TEXCOORD_0":16,
"TANGENT":17
},
"indices":18,
"material":0
@@ -184,7 +165,7 @@
]
},
{
"name":"roof.001",
"name":"roof.002",
"primitives":[
{
"attributes":{
@@ -199,7 +180,7 @@
]
},
{
"name":"roof.002",
"name":"Plane.003",
"primitives":[
{
"attributes":{
@@ -212,41 +193,44 @@
"material":0
}
]
},
{
"name":"Plane.003",
"primitives":[
{
"attributes":{
"POSITION":29,
"NORMAL":30,
"TEXCOORD_0":31,
"TANGENT":32
},
"indices":33,
"material":0
}
]
}
],
"textures":[
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_36953",
"uri":"textures/Atlas_36953.png"
"name":"Image",
"uri":"textures/Image.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1",
"uri":"textures/joint-atlas-1.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1-roughness",
"uri":"textures/joint-atlas-1-roughness.png"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":737,
"count":805,
"max":[
6,
18,
@@ -262,70 +246,30 @@
{
"bufferView":1,
"componentType":5126,
"count":737,
"count":805,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":737,
"count":805,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5126,
"count":737,
"count":805,
"type":"VEC4"
},
{
"bufferView":4,
"componentType":5123,
"count":1512,
"count":1614,
"type":"SCALAR"
},
{
"bufferView":5,
"componentType":5126,
"count":68,
"max":[
5,
16.400001525878906,
7.69999885559082
],
"min":[
-5,
2,
-7.500001430511475
],
"type":"VEC3"
},
{
"bufferView":6,
"componentType":5126,
"count":68,
"type":"VEC3"
},
{
"bufferView":7,
"componentType":5126,
"count":68,
"type":"VEC2"
},
{
"bufferView":8,
"componentType":5126,
"count":68,
"type":"VEC4"
},
{
"bufferView":9,
"componentType":5123,
"count":102,
"type":"SCALAR"
},
{
"bufferView":10,
"componentType":5126,
"count":146,
"max":[
6.099999904632568,
@@ -340,31 +284,31 @@
"type":"VEC3"
},
{
"bufferView":11,
"bufferView":6,
"componentType":5126,
"count":146,
"type":"VEC3"
},
{
"bufferView":12,
"bufferView":7,
"componentType":5126,
"count":146,
"type":"VEC2"
},
{
"bufferView":13,
"bufferView":8,
"componentType":5126,
"count":146,
"type":"VEC4"
},
{
"bufferView":14,
"bufferView":9,
"componentType":5123,
"count":258,
"type":"SCALAR"
},
{
"bufferView":15,
"bufferView":10,
"componentType":5126,
"count":72,
"max":[
@@ -380,25 +324,25 @@
"type":"VEC3"
},
{
"bufferView":16,
"bufferView":11,
"componentType":5126,
"count":72,
"type":"VEC3"
},
{
"bufferView":17,
"bufferView":12,
"componentType":5126,
"count":72,
"type":"VEC2"
},
{
"bufferView":18,
"bufferView":13,
"componentType":5123,
"count":132,
"type":"SCALAR"
},
{
"bufferView":19,
"bufferView":14,
"componentType":5126,
"count":118,
"max":[
@@ -414,31 +358,31 @@
"type":"VEC3"
},
{
"bufferView":20,
"bufferView":15,
"componentType":5126,
"count":118,
"type":"VEC3"
},
{
"bufferView":21,
"bufferView":16,
"componentType":5126,
"count":118,
"type":"VEC2"
},
{
"bufferView":22,
"bufferView":17,
"componentType":5126,
"count":118,
"type":"VEC4"
},
{
"bufferView":23,
"bufferView":18,
"componentType":5123,
"count":210,
"type":"SCALAR"
},
{
"bufferView":24,
"bufferView":19,
"componentType":5126,
"count":56,
"max":[
@@ -454,31 +398,31 @@
"type":"VEC3"
},
{
"bufferView":25,
"bufferView":20,
"componentType":5126,
"count":56,
"type":"VEC3"
},
{
"bufferView":26,
"bufferView":21,
"componentType":5126,
"count":56,
"type":"VEC2"
},
{
"bufferView":27,
"bufferView":22,
"componentType":5126,
"count":56,
"type":"VEC4"
},
{
"bufferView":28,
"bufferView":23,
"componentType":5123,
"count":102,
"type":"SCALAR"
},
{
"bufferView":29,
"bufferView":24,
"componentType":5126,
"count":40,
"max":[
@@ -494,25 +438,25 @@
"type":"VEC3"
},
{
"bufferView":30,
"bufferView":25,
"componentType":5126,
"count":40,
"type":"VEC3"
},
{
"bufferView":31,
"bufferView":26,
"componentType":5126,
"count":40,
"type":"VEC2"
},
{
"bufferView":32,
"bufferView":27,
"componentType":5126,
"count":40,
"type":"VEC4"
},
{
"bufferView":33,
"bufferView":28,
"componentType":5123,
"count":60,
"type":"SCALAR"
@@ -521,62 +465,32 @@
"bufferViews":[
{
"buffer":0,
"byteLength":8844,
"byteLength":9660,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":8844,
"byteOffset":8844,
"byteLength":9660,
"byteOffset":9660,
"target":34962
},
{
"buffer":0,
"byteLength":5896,
"byteOffset":17688,
"byteLength":6440,
"byteOffset":19320,
"target":34962
},
{
"buffer":0,
"byteLength":11792,
"byteOffset":23584,
"byteLength":12880,
"byteOffset":25760,
"target":34962
},
{
"buffer":0,
"byteLength":3024,
"byteOffset":35376,
"target":34963
},
{
"buffer":0,
"byteLength":816,
"byteOffset":38400,
"target":34962
},
{
"buffer":0,
"byteLength":816,
"byteOffset":39216,
"target":34962
},
{
"buffer":0,
"byteLength":544,
"byteOffset":40032,
"target":34962
},
{
"buffer":0,
"byteLength":1088,
"byteOffset":40576,
"target":34962
},
{
"buffer":0,
"byteLength":204,
"byteOffset":41664,
"byteLength":3228,
"byteOffset":38640,
"target":34963
},
{

View File

@@ -3,37 +3,17 @@
[ext_resource path="res://astream/terrain/details/residental-house13.gltf" type="PackedScene" id=1]
[ext_resource path="res://astream/terrain/details/parts/door1-portal.tscn" type="PackedScene" id=2]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.7, 1, 0.6 )
[sub_resource type="OccluderShapePolygon" id=2]
polygon_points = PoolVector2Array( 5.08112, 0.187199, 5.56248, 18.5862, -5.45551, 18.4792, -5.45551, 0.133714 )
[sub_resource type="OccluderShapePolygon" id=3]
polygon_points = PoolVector2Array( 7.86236, 0.454626, 7.91584, 18.3188, -7.7019, 18.3722, -7.91584, 0.401141 )
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.7, 1, 0.6 )
[node name="residental-house13" type="Spatial"]
[node name="door1-portal" parent="." instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 1, 0, 7.91488 )
[node name="enter_destination" type="Spatial" parent="door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="residental-house13" parent="MergeGroup" instance=ExtResource( 1 )]
[node name="Occluder" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 7.94381 )
shape = SubResource( 2 )
@@ -49,3 +29,32 @@ shape = SubResource( 3 )
[node name="Occluder4" type="Occluder" parent="."]
transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -5.61597, 0, 0 )
shape = SubResource( 3 )
[node name="LOD" type="LOD" parent="."]
[node name="0" type="Spatial" parent="LOD"]
lod_range = 250.0
[node name="door1-portal" parent="LOD/0" instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 1, 0, 7.91488 )
skeleton = NodePath("../../..")
[node name="enter_destination" type="Spatial" parent="LOD/0/door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="LOD/0/door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="LOD/0/door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="LOD/0/door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="LOD/0/door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="residental-house13" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
[node name="1" type="Spatial" parent="LOD"]
visible = false

View File

@@ -28,22 +28,23 @@
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
"specularColorTexture":{
"index":0
}
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_73934_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0
"metallicFactor":0,
"metallicRoughnessTexture":{
"index":2
}
}
}
],
@@ -67,13 +68,31 @@
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_73934",
"uri":"textures/Atlas_73934.png"
"name":"Image",
"uri":"textures/Image.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1",
"uri":"textures/joint-atlas-1.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1-roughness",
"uri":"textures/joint-atlas-1-roughness.png"
}
],
"accessors":[

View File

@@ -4,40 +4,17 @@
[ext_resource path="res://astream/terrain/details/parts/door1-portal.tscn" type="PackedScene" id=2]
[ext_resource path="res://astream/terrain/details/parts/residental-house-stair.tscn" type="PackedScene" id=3]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.7, 1, 0.6 )
[sub_resource type="OccluderShapeSphere" id=2]
spheres = [ Plane( -6, 6, -6, 6 ), Plane( 6, 6, -6, 6 ) ]
[sub_resource type="OccluderShapePolygon" id=3]
polygon_points = PoolVector2Array( 11.9509, -1.00876, 11.9757, 5.2343, -14.7062, 5.21354, -14.731, -0.831331 )
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.7, 1, 0.6 )
[node name="residental-house2" type="Spatial"]
[node name="door1-portal" parent="." instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 1, -12.5131 )
[node name="enter_destination" type="Spatial" parent="door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="residental-house-stair" parent="MergeGroup" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, -13 )
[node name="residental-house2" parent="MergeGroup" instance=ExtResource( 1 )]
[node name="Occluder" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.945965, 0, -1.38255 )
shape = SubResource( 2 )
@@ -49,3 +26,35 @@ shape = SubResource( 3 )
[node name="Occluder3" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.18915, 9.16854 )
shape = SubResource( 3 )
[node name="LOD" type="LOD" parent="."]
[node name="0" type="Spatial" parent="LOD"]
lod_range = 200.0
[node name="door1-portal" parent="LOD/0" instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 1, -12.5131 )
skeleton = NodePath("../../..")
[node name="enter_destination" type="Spatial" parent="LOD/0/door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="LOD/0/door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="LOD/0/door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="LOD/0/door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="LOD/0/door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="residental-house-stair" parent="LOD/0/MergeGroup" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, -13 )
[node name="residental-house2" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
[node name="1" type="Spatial" parent="LOD"]
visible = false

View File

@@ -28,22 +28,23 @@
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
"specularColorTexture":{
"index":0
}
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_73934_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0
"metallicFactor":0,
"metallicRoughnessTexture":{
"index":2
}
}
}
],
@@ -68,13 +69,31 @@
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_73934",
"uri":"textures/Atlas_73934.png"
"name":"Image",
"uri":"textures/Image.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1",
"uri":"textures/joint-atlas-1.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1-roughness",
"uri":"textures/joint-atlas-1-roughness.png"
}
],
"accessors":[

View File

@@ -1,40 +1,18 @@
[gd_scene load_steps=6 format=2]
[gd_scene load_steps=7 format=2]
[ext_resource path="res://astream/terrain/details/residental-house3.gltf" type="PackedScene" id=1]
[ext_resource path="res://astream/terrain/details/parts/door1-portal.tscn" type="PackedScene" id=2]
[ext_resource path="res://astream/terrain/details/parts/residental-house-stair.tscn" type="PackedScene" id=3]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.7, 1, 0.6 )
[ext_resource path="res://astream/terrain/details/residental-hut1.gltf" type="PackedScene" id=4]
[sub_resource type="OccluderShapePolygon" id=2]
polygon_points = PoolVector2Array( 11.6855, 0.231222, 11.882, 7.38624, -11.8632, 7.2683, -11.6666, 0.0739689 )
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.7, 1, 0.6 )
[node name="residental-house3" type="Spatial"]
[node name="door1-portal" parent="." instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 1, 1, -11.5131 )
[node name="enter_destination" type="Spatial" parent="door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="residental-house-stair" parent="MergeGroup" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -12 )
[node name="residental-house3" parent="MergeGroup" instance=ExtResource( 1 )]
[node name="Occluder" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 11 )
shape = SubResource( 2 )
@@ -54,3 +32,42 @@ shape = SubResource( 2 )
[node name="Occluder5" type="Occluder" parent="."]
transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 11, 0, 0 )
shape = SubResource( 2 )
[node name="LOD" type="LOD" parent="."]
[node name="0" type="Spatial" parent="LOD"]
lod_range = 100.0
[node name="door1-portal" parent="LOD/0" instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 1, 1, -11.5131 )
skeleton = NodePath("../../..")
[node name="enter_destination" type="Spatial" parent="LOD/0/door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="LOD/0/door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="LOD/0/door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="LOD/0/door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="LOD/0/door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="residental-house-stair" parent="LOD/0/MergeGroup" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -12 )
[node name="residental-house3" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
[node name="1" type="Spatial" parent="LOD"]
visible = false
lod_range = 500.0
[node name="residental-hut1" parent="LOD/1" instance=ExtResource( 4 )]
transform = Transform( 1.7, 0, 0, 0, 1, 0, 0, 0, 1.4, 0, 0, 0.673429 )
[node name="2" type="Spatial" parent="LOD"]
visible = false

View File

@@ -12,25 +12,13 @@
{
"name":"Scene",
"nodes":[
1
0
]
}
],
"nodes":[
{
"mesh":0,
"name":"flat1-1-noimp",
"translation":[
0,
1,
0
]
},
{
"children":[
0
],
"mesh":1,
"name":"house1-col"
}
],
@@ -40,148 +28,78 @@
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
"specularColorTexture":{
"index":0
}
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_73934_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0
}
},
{
"doubleSided":true,
"emissiveFactor":[
0.5382040143013,
0.5382040143013,
0.5382040143013
],
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
1.897086119821904,
1.897086119821904,
1.897086119821904
]
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"window",
"pbrMetallicRoughness":{
"metallicFactor":0,
"roughnessFactor":0.019999999552965164
"metallicRoughnessTexture":{
"index":2
}
}
}
],
"meshes":[
{
"name":"Plane.001",
"name":"Cube.004",
"primitives":[
{
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2,
"TANGENT":3
"TEXCOORD_0":2
},
"indices":4,
"indices":3,
"material":0
}
]
},
{
"name":"Cube.004",
"primitives":[
{
"attributes":{
"POSITION":5,
"NORMAL":6,
"TEXCOORD_0":7
},
"indices":8,
"material":0
},
{
"attributes":{
"POSITION":9,
"NORMAL":10,
"TEXCOORD_0":11
},
"indices":12,
"material":1
}
]
}
],
"textures":[
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_73934",
"uri":"textures/Atlas_73934.png"
"name":"Image",
"uri":"textures/Image.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1",
"uri":"textures/joint-atlas-1.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1-roughness",
"uri":"textures/joint-atlas-1-roughness.png"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":64,
"max":[
12,
4,
0
],
"min":[
-11,
0,
-12
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":64,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":64,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5126,
"count":64,
"type":"VEC4"
},
{
"bufferView":4,
"componentType":5123,
"count":192,
"type":"SCALAR"
},
{
"bufferView":5,
"componentType":5126,
"count":549,
"count":561,
"max":[
19,
13,
@@ -195,135 +113,47 @@
"type":"VEC3"
},
{
"bufferView":6,
"bufferView":1,
"componentType":5126,
"count":549,
"count":561,
"type":"VEC3"
},
{
"bufferView":7,
"bufferView":2,
"componentType":5126,
"count":549,
"count":561,
"type":"VEC2"
},
{
"bufferView":8,
"bufferView":3,
"componentType":5123,
"count":1419,
"type":"SCALAR"
},
{
"bufferView":9,
"componentType":5126,
"count":12,
"max":[
8,
5,
-18.450000762939453
],
"min":[
-6,
2,
-18.450000762939453
],
"type":"VEC3"
},
{
"bufferView":10,
"componentType":5126,
"count":12,
"type":"VEC3"
},
{
"bufferView":11,
"componentType":5126,
"count":12,
"type":"VEC2"
},
{
"bufferView":12,
"componentType":5123,
"count":18,
"count":1437,
"type":"SCALAR"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":768,
"byteLength":6732,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":768,
"byteOffset":768,
"byteLength":6732,
"byteOffset":6732,
"target":34962
},
{
"buffer":0,
"byteLength":512,
"byteOffset":1536,
"byteLength":4488,
"byteOffset":13464,
"target":34962
},
{
"buffer":0,
"byteLength":1024,
"byteOffset":2048,
"target":34962
},
{
"buffer":0,
"byteLength":384,
"byteOffset":3072,
"target":34963
},
{
"buffer":0,
"byteLength":6588,
"byteOffset":3456,
"target":34962
},
{
"buffer":0,
"byteLength":6588,
"byteOffset":10044,
"target":34962
},
{
"buffer":0,
"byteLength":4392,
"byteOffset":16632,
"target":34962
},
{
"buffer":0,
"byteLength":2838,
"byteOffset":21024,
"target":34963
},
{
"buffer":0,
"byteLength":144,
"byteOffset":23864,
"target":34962
},
{
"buffer":0,
"byteLength":144,
"byteOffset":24008,
"target":34962
},
{
"buffer":0,
"byteLength":96,
"byteOffset":24152,
"target":34962
},
{
"buffer":0,
"byteLength":36,
"byteOffset":24248,
"byteLength":2874,
"byteOffset":17952,
"target":34963
}
],
@@ -335,7 +165,7 @@
],
"buffers":[
{
"byteLength":24284,
"byteLength":20828,
"uri":"residental-house4.bin"
}
]

View File

@@ -4,40 +4,17 @@
[ext_resource path="res://astream/terrain/details/parts/door1-portal.tscn" type="PackedScene" id=2]
[ext_resource path="res://astream/terrain/details/parts/residental-house-stair.tscn" type="PackedScene" id=3]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.7, 1, 0.6 )
[sub_resource type="OccluderShapePolygon" id=2]
polygon_points = PoolVector2Array( 12.4906, -0.830508, 12.4906, 7.19413, -11.4916, 7.01071, -11.675, -0.692943 )
[sub_resource type="OccluderShapePolygon" id=3]
polygon_points = PoolVector2Array( 17.4152, -0.103113, 17.0025, 6.77514, -1.61465, 6.86685, -1.84392, 0.0803056 )
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.7, 1, 0.6 )
[node name="residental-house4" type="Spatial"]
[node name="door1-portal" parent="." instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 1, -18.5131 )
[node name="enter_destination" type="Spatial" parent="door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="residental-house-stair" parent="MergeGroup" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, -19 )
[node name="residental-house4" parent="MergeGroup" instance=ExtResource( 1 )]
[node name="Occluder" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -18.3288 )
shape = SubResource( 2 )
@@ -57,3 +34,35 @@ shape = SubResource( 3 )
[node name="Occluder4" type="Occluder" parent="."]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 12.5886, 0, -1.08897 )
shape = SubResource( 3 )
[node name="LOD" type="LOD" parent="."]
[node name="0" type="Spatial" parent="LOD"]
lod_range = 200.0
[node name="door1-portal" parent="LOD/0" instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 1, -18.5131 )
skeleton = NodePath("../../..")
[node name="enter_destination" type="Spatial" parent="LOD/0/door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="LOD/0/door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="LOD/0/door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="LOD/0/door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="LOD/0/door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="residental-house-stair" parent="LOD/0/MergeGroup" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, -19 )
[node name="residental-house4" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
[node name="1" type="Spatial" parent="LOD"]
visible = false

View File

@@ -12,25 +12,13 @@
{
"name":"Scene",
"nodes":[
1
0
]
}
],
"nodes":[
{
"mesh":0,
"name":"flat7-1-noimp",
"translation":[
0,
1,
0
]
},
{
"children":[
0
],
"mesh":1,
"name":"house3-col"
}
],
@@ -40,53 +28,29 @@
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
"specularColorTexture":{
"index":0
}
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_12696_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0
}
},
{
"doubleSided":true,
"emissiveFactor":[
0.42920592427253723,
0.42920592427253723,
0.42920592427253723
],
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
1.9512351200761842,
1.9512351200761842,
1.9512351200761842
]
},
"KHR_materials_ior":{
"ior":1.4500000476837158
"metallicFactor":0,
"metallicRoughnessTexture":{
"index":2
}
},
"name":"window",
"pbrMetallicRoughness":{
"metallicFactor":0.20000000298023224,
"roughnessFactor":0.019999999552965164
}
}
],
"meshes":[
{
"name":"Plane.003",
"name":"Cube.003",
"primitives":[
{
"attributes":{
@@ -95,32 +59,8 @@
"TEXCOORD_0":2,
"TANGENT":3
},
"indices":4
}
]
},
{
"name":"Cube.003",
"primitives":[
{
"attributes":{
"POSITION":5,
"NORMAL":6,
"TEXCOORD_0":7,
"TANGENT":8
},
"indices":9,
"indices":4,
"material":0
},
{
"attributes":{
"POSITION":10,
"NORMAL":11,
"TEXCOORD_0":12,
"TANGENT":13
},
"indices":14,
"material":1
}
]
}
@@ -129,60 +69,38 @@
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_12696",
"uri":"textures/Atlas_12696.png"
"name":"Image",
"uri":"textures/Image.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1",
"uri":"textures/joint-atlas-1.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1-roughness",
"uri":"textures/joint-atlas-1-roughness.png"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":112,
"max":[
11,
9,
11
],
"min":[
-11,
0,
-19
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":112,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":112,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5126,
"count":112,
"type":"VEC4"
},
{
"bufferView":4,
"componentType":5123,
"count":336,
"type":"SCALAR"
},
{
"bufferView":5,
"componentType":5126,
"count":1808,
"count":1835,
"max":[
12,
18,
@@ -196,159 +114,59 @@
"type":"VEC3"
},
{
"bufferView":6,
"bufferView":1,
"componentType":5126,
"count":1808,
"count":1835,
"type":"VEC3"
},
{
"bufferView":7,
"bufferView":2,
"componentType":5126,
"count":1808,
"count":1835,
"type":"VEC2"
},
{
"bufferView":8,
"bufferView":3,
"componentType":5126,
"count":1808,
"count":1835,
"type":"VEC4"
},
{
"bufferView":9,
"bufferView":4,
"componentType":5123,
"count":4368,
"type":"SCALAR"
},
{
"bufferView":10,
"componentType":5126,
"count":28,
"max":[
11.5,
10,
11.5
],
"min":[
-11.5,
2,
-8.5
],
"type":"VEC3"
},
{
"bufferView":11,
"componentType":5126,
"count":28,
"type":"VEC3"
},
{
"bufferView":12,
"componentType":5126,
"count":28,
"type":"VEC2"
},
{
"bufferView":13,
"componentType":5126,
"count":28,
"type":"VEC4"
},
{
"bufferView":14,
"componentType":5123,
"count":42,
"count":4416,
"type":"SCALAR"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":1344,
"byteLength":22020,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":1344,
"byteOffset":1344,
"byteLength":22020,
"byteOffset":22020,
"target":34962
},
{
"buffer":0,
"byteLength":896,
"byteOffset":2688,
"byteLength":14680,
"byteOffset":44040,
"target":34962
},
{
"buffer":0,
"byteLength":1792,
"byteOffset":3584,
"byteLength":29360,
"byteOffset":58720,
"target":34962
},
{
"buffer":0,
"byteLength":672,
"byteOffset":5376,
"target":34963
},
{
"buffer":0,
"byteLength":21696,
"byteOffset":6048,
"target":34962
},
{
"buffer":0,
"byteLength":21696,
"byteOffset":27744,
"target":34962
},
{
"buffer":0,
"byteLength":14464,
"byteOffset":49440,
"target":34962
},
{
"buffer":0,
"byteLength":28928,
"byteOffset":63904,
"target":34962
},
{
"buffer":0,
"byteLength":8736,
"byteOffset":92832,
"target":34963
},
{
"buffer":0,
"byteLength":336,
"byteOffset":101568,
"target":34962
},
{
"buffer":0,
"byteLength":336,
"byteOffset":101904,
"target":34962
},
{
"buffer":0,
"byteLength":224,
"byteOffset":102240,
"target":34962
},
{
"buffer":0,
"byteLength":448,
"byteOffset":102464,
"target":34962
},
{
"buffer":0,
"byteLength":84,
"byteOffset":102912,
"byteLength":8832,
"byteOffset":88080,
"target":34963
}
],
@@ -360,7 +178,7 @@
],
"buffers":[
{
"byteLength":102996,
"byteLength":96912,
"uri":"residental-house5.bin"
}
]

View File

@@ -4,9 +4,6 @@
[ext_resource path="res://astream/terrain/details/parts/door1-portal.tscn" type="PackedScene" id=2]
[ext_resource path="res://astream/terrain/details/parts/residental-house-stair.tscn" type="PackedScene" id=3]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.7, 1, 0.6 )
[sub_resource type="OccluderShapePolygon" id=2]
polygon_points = PoolVector2Array( 11.1717, -0.227351, 11.4926, 12.2452, -11.4349, 12.3369, -11.5266, -0.273208 )
@@ -16,31 +13,11 @@ polygon_points = PoolVector2Array( 9.98366, 0.136333, 9.93017, 12.0636, -9.48501
[sub_resource type="OccluderShapePolygon" id=4]
polygon_points = PoolVector2Array( 10.7324, -0.131092, 10.6255, 12.0636, -8.95016, 12.4914, -8.7897, -0.291551 )
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.7, 1, 0.6 )
[node name="residental-house5" type="Spatial"]
[node name="door1-portal" parent="." instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 1, 1, -8.5131 )
[node name="enter_destination" type="Spatial" parent="door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="residental-house-stair" parent="MergeGroup" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -9 )
[node name="residental-house5" parent="MergeGroup" instance=ExtResource( 1 )]
[node name="Occluder" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 10.9887 )
shape = SubResource( 2 )
@@ -56,3 +33,35 @@ shape = SubResource( 3 )
[node name="Occluder4" type="Occluder" parent="."]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 10.6966, 0.0534847, 2.70653 )
shape = SubResource( 4 )
[node name="LOD" type="LOD" parent="."]
[node name="0" type="Spatial" parent="LOD"]
lod_range = 250.0
[node name="door1-portal" parent="LOD/0" instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 1, 1, -8.5131 )
skeleton = NodePath("../../..")
[node name="enter_destination" type="Spatial" parent="LOD/0/door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="LOD/0/door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="LOD/0/door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="LOD/0/door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="LOD/0/door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="residental-house-stair" parent="LOD/0/MergeGroup" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -9 )
[node name="residental-house5" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
[node name="1" type="Spatial" parent="LOD"]
visible = false

View File

@@ -12,31 +12,13 @@
{
"name":"Scene",
"nodes":[
1
0
]
}
],
"nodes":[
{
"mesh":0,
"name":"glat6-1-noimp",
"rotation":[
0,
1,
0,
1.6292068494294654e-07
],
"translation":[
0,
1,
0
]
},
{
"children":[
0
],
"mesh":1,
"name":"house2-col"
}
],
@@ -46,148 +28,78 @@
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
"specularColorTexture":{
"index":0
}
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_12696_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0
}
},
{
"doubleSided":true,
"emissiveFactor":[
0.5382040143013,
0.5382040143013,
0.5382040143013
],
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
1.897086119821904,
1.897086119821904,
1.897086119821904
]
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"window",
"pbrMetallicRoughness":{
"metallicFactor":0,
"roughnessFactor":0.019999999552965164
"metallicRoughnessTexture":{
"index":2
}
}
}
],
"meshes":[
{
"name":"Plane.002",
"name":"Cube.006",
"primitives":[
{
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2,
"TANGENT":3
"TEXCOORD_0":2
},
"indices":4,
"indices":3,
"material":0
}
]
},
{
"name":"Cube.006",
"primitives":[
{
"attributes":{
"POSITION":5,
"NORMAL":6,
"TEXCOORD_0":7
},
"indices":8,
"material":0
},
{
"attributes":{
"POSITION":9,
"NORMAL":10,
"TEXCOORD_0":11
},
"indices":12,
"material":1
}
]
}
],
"textures":[
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_12696",
"uri":"textures/Atlas_12696.png"
"name":"Image",
"uri":"textures/Image.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1",
"uri":"textures/joint-atlas-1.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1-roughness",
"uri":"textures/joint-atlas-1-roughness.png"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":30,
"max":[
8,
4,
14
],
"min":[
-12,
0,
0
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":30,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":30,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5126,
"count":30,
"type":"VEC4"
},
{
"bufferView":4,
"componentType":5123,
"count":66,
"type":"SCALAR"
},
{
"bufferView":5,
"componentType":5126,
"count":523,
"count":531,
"max":[
26.076677322387695,
13.700397491455078,
@@ -201,135 +113,47 @@
"type":"VEC3"
},
{
"bufferView":6,
"bufferView":1,
"componentType":5126,
"count":523,
"count":531,
"type":"VEC3"
},
{
"bufferView":7,
"bufferView":2,
"componentType":5126,
"count":523,
"count":531,
"type":"VEC2"
},
{
"bufferView":8,
"bufferView":3,
"componentType":5123,
"count":1371,
"type":"SCALAR"
},
{
"bufferView":9,
"componentType":5126,
"count":8,
"max":[
2.9999990463256836,
5,
-11.50000286102295
],
"min":[
-7.000000953674316,
2,
-11.500004768371582
],
"type":"VEC3"
},
{
"bufferView":10,
"componentType":5126,
"count":8,
"type":"VEC3"
},
{
"bufferView":11,
"componentType":5126,
"count":8,
"type":"VEC2"
},
{
"bufferView":12,
"componentType":5123,
"count":12,
"count":1383,
"type":"SCALAR"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":360,
"byteLength":6372,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":360,
"byteOffset":360,
"byteLength":6372,
"byteOffset":6372,
"target":34962
},
{
"buffer":0,
"byteLength":240,
"byteOffset":720,
"byteLength":4248,
"byteOffset":12744,
"target":34962
},
{
"buffer":0,
"byteLength":480,
"byteOffset":960,
"target":34962
},
{
"buffer":0,
"byteLength":132,
"byteOffset":1440,
"target":34963
},
{
"buffer":0,
"byteLength":6276,
"byteOffset":1572,
"target":34962
},
{
"buffer":0,
"byteLength":6276,
"byteOffset":7848,
"target":34962
},
{
"buffer":0,
"byteLength":4184,
"byteOffset":14124,
"target":34962
},
{
"buffer":0,
"byteLength":2742,
"byteOffset":18308,
"target":34963
},
{
"buffer":0,
"byteLength":96,
"byteOffset":21052,
"target":34962
},
{
"buffer":0,
"byteLength":96,
"byteOffset":21148,
"target":34962
},
{
"buffer":0,
"byteLength":64,
"byteOffset":21244,
"target":34962
},
{
"buffer":0,
"byteLength":24,
"byteOffset":21308,
"byteLength":2766,
"byteOffset":16992,
"target":34963
}
],
@@ -341,7 +165,7 @@
],
"buffers":[
{
"byteLength":21332,
"byteLength":19760,
"uri":"residental-house6.bin"
}
]

View File

@@ -4,37 +4,14 @@
[ext_resource path="res://astream/terrain/details/parts/door1-portal.tscn" type="PackedScene" id=2]
[ext_resource path="res://astream/terrain/details/parts/residental-house-stair.tscn" type="PackedScene" id=3]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.7, 1, 0.6 )
[sub_resource type="OccluderShapePolygon" id=2]
polygon_points = PoolVector2Array( 12.0656, 0.334031, 12.1811, 6.20001, -12.3231, 6.43118, -12.1786, 0.10286 )
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.7, 1, 0.6 )
[node name="residental-house6" type="Spatial"]
[node name="door1-portal" parent="." instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -9, 1, -11.5131 )
[node name="enter_destination" type="Spatial" parent="door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="residental-house-stair" parent="MergeGroup" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 0, -12 )
[node name="residental-house6" parent="MergeGroup" instance=ExtResource( 1 )]
[node name="Occluder" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 12.8853 )
shape = SubResource( 2 )
@@ -54,3 +31,35 @@ shape = SubResource( 2 )
[node name="Occluder5" type="Occluder" parent="."]
transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 13.7113, 0, 0.504406 )
shape = SubResource( 2 )
[node name="LOD" type="LOD" parent="."]
[node name="0" type="Spatial" parent="LOD"]
lod_range = 200.0
[node name="door1-portal" parent="LOD/0" instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -9, 1, -11.5131 )
skeleton = NodePath("../../..")
[node name="enter_destination" type="Spatial" parent="LOD/0/door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="LOD/0/door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="LOD/0/door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="LOD/0/door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="LOD/0/door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="residental-house-stair" parent="LOD/0/MergeGroup" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 0, -12 )
[node name="residental-house6" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
[node name="1" type="Spatial" parent="LOD"]
visible = false

View File

@@ -12,31 +12,13 @@
{
"name":"Scene",
"nodes":[
1
0
]
}
],
"nodes":[
{
"mesh":0,
"name":"flag8-1-noimp",
"rotation":[
0,
1,
0,
1.6292068494294654e-07
],
"translation":[
0,
1,
0
]
},
{
"children":[
0
],
"mesh":1,
"name":"house4-col"
}
],
@@ -46,28 +28,29 @@
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
"specularColorTexture":{
"index":0
}
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_12696_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0
"metallicFactor":0,
"metallicRoughnessTexture":{
"index":2
}
}
}
],
"meshes":[
{
"name":"Plane.004",
"name":"Cube.007",
"primitives":[
{
"attributes":{
@@ -76,21 +59,7 @@
"TEXCOORD_0":2,
"TANGENT":3
},
"indices":4
}
]
},
{
"name":"Cube.007",
"primitives":[
{
"attributes":{
"POSITION":5,
"NORMAL":6,
"TEXCOORD_0":7,
"TANGENT":8
},
"indices":9,
"indices":4,
"material":0
}
]
@@ -100,59 +69,37 @@
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_12696",
"uri":"textures/Atlas_12696.png"
"name":"Image",
"uri":"textures/Image.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1",
"uri":"textures/joint-atlas-1.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1-roughness",
"uri":"textures/joint-atlas-1-roughness.png"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":28,
"max":[
11,
4,
8
],
"min":[
-11,
0,
-8
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":28,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":28,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5126,
"count":28,
"type":"VEC4"
},
{
"bufferView":4,
"componentType":5123,
"count":72,
"type":"SCALAR"
},
{
"bufferView":5,
"componentType":5126,
"count":369,
"max":[
12.000000953674316,
@@ -167,25 +114,25 @@
"type":"VEC3"
},
{
"bufferView":6,
"bufferView":1,
"componentType":5126,
"count":369,
"type":"VEC3"
},
{
"bufferView":7,
"bufferView":2,
"componentType":5126,
"count":369,
"type":"VEC2"
},
{
"bufferView":8,
"bufferView":3,
"componentType":5126,
"count":369,
"type":"VEC4"
},
{
"bufferView":9,
"bufferView":4,
"componentType":5123,
"count":966,
"type":"SCALAR"
@@ -194,62 +141,32 @@
"bufferViews":[
{
"buffer":0,
"byteLength":336,
"byteLength":4428,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":336,
"byteOffset":336,
"target":34962
},
{
"buffer":0,
"byteLength":224,
"byteOffset":672,
"target":34962
},
{
"buffer":0,
"byteLength":448,
"byteOffset":896,
"target":34962
},
{
"buffer":0,
"byteLength":144,
"byteOffset":1344,
"target":34963
},
{
"buffer":0,
"byteLength":4428,
"byteOffset":1488,
"target":34962
},
{
"buffer":0,
"byteLength":4428,
"byteOffset":5916,
"byteOffset":4428,
"target":34962
},
{
"buffer":0,
"byteLength":2952,
"byteOffset":10344,
"byteOffset":8856,
"target":34962
},
{
"buffer":0,
"byteLength":5904,
"byteOffset":13296,
"byteOffset":11808,
"target":34962
},
{
"buffer":0,
"byteLength":1932,
"byteOffset":19200,
"byteOffset":17712,
"target":34963
}
],
@@ -261,7 +178,7 @@
],
"buffers":[
{
"byteLength":21132,
"byteLength":19644,
"uri":"residental-house7.bin"
}
]

View File

@@ -1,11 +1,9 @@
[gd_scene load_steps=7 format=2]
[gd_scene load_steps=8 format=2]
[ext_resource path="res://astream/terrain/details/residental-house7.gltf" type="PackedScene" id=1]
[ext_resource path="res://astream/terrain/details/parts/door1-portal.tscn" type="PackedScene" id=2]
[ext_resource path="res://astream/terrain/details/parts/residental-house-stair.tscn" type="PackedScene" id=3]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.7, 1, 0.6 )
[ext_resource path="res://astream/terrain/details/residental-hut1-lod.gltf" type="PackedScene" id=4]
[sub_resource type="OccluderShapePolygon" id=2]
polygon_points = PoolVector2Array( 11.3615, 0.373477, 11.3222, 7.37125, -11.5188, 7.41056, -11.3222, 0.137596 )
@@ -13,31 +11,11 @@ polygon_points = PoolVector2Array( 11.3615, 0.373477, 11.3222, 7.37125, -11.5188
[sub_resource type="OccluderShapePolygon" id=3]
polygon_points = PoolVector2Array( 7.74472, 0.0589701, 7.94129, 7.29262, -8.64893, 7.33193, -8.96344, 0.137596 )
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.7, 1, 0.6 )
[node name="residental-house7" type="Spatial"]
[node name="door1-portal" parent="." instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 1, 1, -8.5131 )
[node name="enter_destination" type="Spatial" parent="door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="residental-house-stair" parent="MergeGroup" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -9 )
[node name="residental-house7" parent="MergeGroup" instance=ExtResource( 1 )]
[node name="Occluder" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -8.45236 )
shape = SubResource( 2 )
@@ -53,3 +31,42 @@ shape = SubResource( 3 )
[node name="Occluder4" type="Occluder" parent="."]
transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 11.2319, 0, 0.353821 )
shape = SubResource( 3 )
[node name="LOD" type="LOD" parent="."]
[node name="0" type="Spatial" parent="LOD"]
lod_range = 100.0
[node name="door1-portal" parent="LOD/0" instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 1, 1, -8.5131 )
skeleton = NodePath("../../..")
[node name="enter_destination" type="Spatial" parent="LOD/0/door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="LOD/0/door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="LOD/0/door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="LOD/0/door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="LOD/0/door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="residental-house-stair" parent="LOD/0/MergeGroup" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -9 )
[node name="residental-house7" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
[node name="1" type="Spatial" parent="LOD"]
visible = false
lod_range = 500.0
[node name="residental-hut1-lod" parent="LOD/1" instance=ExtResource( 4 )]
transform = Transform( 1.7, 0, 0, 0, 1, 0, 0, 0, 1.05, 0, 0, 0.494991 )
[node name="2" type="Spatial" parent="LOD"]
visible = false

View File

@@ -12,25 +12,13 @@
{
"name":"Scene",
"nodes":[
1
0
]
}
],
"nodes":[
{
"mesh":0,
"name":"flat5-1-noimp",
"translation":[
0,
1,
0
]
},
{
"children":[
0
],
"mesh":1,
"name":"house1-col"
}
],
@@ -40,51 +28,37 @@
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
"specularColorTexture":{
"index":0
}
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_12696_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0
"metallicFactor":0,
"metallicRoughnessTexture":{
"index":2
}
}
}
],
"meshes":[
{
"name":"Plane.001",
"name":"Cube.004",
"primitives":[
{
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2,
"TANGENT":3
"TEXCOORD_0":2
},
"indices":4,
"material":0
}
]
},
{
"name":"Cube.004",
"primitives":[
{
"attributes":{
"POSITION":5,
"NORMAL":6,
"TEXCOORD_0":7
},
"indices":8,
"indices":3,
"material":0
}
]
@@ -94,59 +68,37 @@
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_12696",
"uri":"textures/Atlas_12696.png"
"name":"Image",
"uri":"textures/Image.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1",
"uri":"textures/joint-atlas-1.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1-roughness",
"uri":"textures/joint-atlas-1-roughness.png"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":28,
"max":[
12.000000953674316,
4,
2.2351741790771484e-08
],
"min":[
-11.000000953674316,
0,
-12
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":28,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":28,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5126,
"count":28,
"type":"VEC4"
},
{
"bufferView":4,
"componentType":5123,
"count":60,
"type":"SCALAR"
},
{
"bufferView":5,
"componentType":5126,
"count":521,
"max":[
20.108463287353516,
@@ -161,19 +113,19 @@
"type":"VEC3"
},
{
"bufferView":6,
"bufferView":1,
"componentType":5126,
"count":521,
"type":"VEC3"
},
{
"bufferView":7,
"bufferView":2,
"componentType":5126,
"count":521,
"type":"VEC2"
},
{
"bufferView":8,
"bufferView":3,
"componentType":5123,
"count":1359,
"type":"SCALAR"
@@ -182,56 +134,26 @@
"bufferViews":[
{
"buffer":0,
"byteLength":336,
"byteLength":6252,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":336,
"byteOffset":336,
"target":34962
},
{
"buffer":0,
"byteLength":224,
"byteOffset":672,
"target":34962
},
{
"buffer":0,
"byteLength":448,
"byteOffset":896,
"target":34962
},
{
"buffer":0,
"byteLength":120,
"byteOffset":1344,
"target":34963
},
{
"buffer":0,
"byteLength":6252,
"byteOffset":1464,
"target":34962
},
{
"buffer":0,
"byteLength":6252,
"byteOffset":7716,
"byteOffset":6252,
"target":34962
},
{
"buffer":0,
"byteLength":4168,
"byteOffset":13968,
"byteOffset":12504,
"target":34962
},
{
"buffer":0,
"byteLength":2718,
"byteOffset":18136,
"byteOffset":16672,
"target":34963
}
],
@@ -243,7 +165,7 @@
],
"buffers":[
{
"byteLength":20856,
"byteLength":19392,
"uri":"residental-house8.bin"
}
]

View File

@@ -4,40 +4,17 @@
[ext_resource path="res://astream/terrain/details/parts/door1-portal.tscn" type="PackedScene" id=2]
[ext_resource path="res://astream/terrain/details/parts/residental-house-stair.tscn" type="PackedScene" id=3]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.7, 1, 0.6 )
[sub_resource type="OccluderShapePolygon" id=2]
polygon_points = PoolVector2Array( 12.2658, 0.412789, 12.3051, 6.50635, -11.4009, 6.3491, -11.3615, 0.0982838 )
[sub_resource type="OccluderShapePolygon" id=3]
polygon_points = PoolVector2Array( 13.1622, 0.219081, 13.2971, 5.84779, -12.386, 5.88149, -12.3186, 0.151672 )
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.7, 1, 0.6 )
[node name="residental-house8" type="Spatial"]
[node name="door1-portal" parent="." instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -5, 1, -12.5131 )
[node name="enter_destination" type="Spatial" parent="door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="residental-house-stair" parent="MergeGroup" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, -13 )
[node name="residental-house8" parent="MergeGroup" instance=ExtResource( 1 )]
[node name="Occluder" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 14.2314 )
shape = SubResource( 2 )
@@ -53,3 +30,35 @@ shape = SubResource( 3 )
[node name="Occluder4" type="Occluder" parent="."]
transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 12.8026, 0, 0.0163574 )
shape = SubResource( 3 )
[node name="LOD" type="LOD" parent="."]
[node name="0" type="Spatial" parent="LOD"]
lod_range = 200.0
[node name="door1-portal" parent="LOD/0" instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -5, 1, -12.5131 )
skeleton = NodePath("../../..")
[node name="enter_destination" type="Spatial" parent="LOD/0/door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="LOD/0/door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="LOD/0/door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="LOD/0/door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="LOD/0/door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="residental-house-stair" parent="LOD/0/MergeGroup" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, -13 )
[node name="residental-house8" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
[node name="1" type="Spatial" parent="LOD"]
visible = false

View File

@@ -12,25 +12,13 @@
{
"name":"Scene",
"nodes":[
1
0
]
}
],
"nodes":[
{
"mesh":0,
"name":"flat9-1-noimp",
"translation":[
0,
1,
0
]
},
{
"children":[
0
],
"mesh":1,
"name":"house3-col"
}
],
@@ -40,53 +28,29 @@
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
"specularColorTexture":{
"index":0
}
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_32944_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0
}
},
{
"doubleSided":true,
"emissiveFactor":[
0.42920592427253723,
0.42920592427253723,
0.42920592427253723
],
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
1.9512351200761842,
1.9512351200761842,
1.9512351200761842
]
},
"KHR_materials_ior":{
"ior":1.4500000476837158
"metallicFactor":0,
"metallicRoughnessTexture":{
"index":2
}
},
"name":"window",
"pbrMetallicRoughness":{
"metallicFactor":0.20000000298023224,
"roughnessFactor":0.019999999552965164
}
}
],
"meshes":[
{
"name":"Plane.001",
"name":"Cube.003",
"primitives":[
{
"attributes":{
@@ -95,32 +59,8 @@
"TEXCOORD_0":2,
"TANGENT":3
},
"indices":4
}
]
},
{
"name":"Cube.003",
"primitives":[
{
"attributes":{
"POSITION":5,
"NORMAL":6,
"TEXCOORD_0":7,
"TANGENT":8
},
"indices":9,
"indices":4,
"material":0
},
{
"attributes":{
"POSITION":10,
"NORMAL":11,
"TEXCOORD_0":12,
"TANGENT":13
},
"indices":14,
"material":1
}
]
}
@@ -129,60 +69,38 @@
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_32944",
"uri":"textures/Atlas_32944.png"
"name":"Image",
"uri":"textures/Image.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1",
"uri":"textures/joint-atlas-1.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1-roughness",
"uri":"textures/joint-atlas-1-roughness.png"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":80,
"max":[
16,
9,
20
],
"min":[
-18,
0,
-15
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":80,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":80,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5126,
"count":80,
"type":"VEC4"
},
{
"bufferView":4,
"componentType":5123,
"count":228,
"type":"SCALAR"
},
{
"bufferView":5,
"componentType":5126,
"count":1814,
"count":1841,
"max":[
17,
18,
@@ -196,159 +114,59 @@
"type":"VEC3"
},
{
"bufferView":6,
"bufferView":1,
"componentType":5126,
"count":1814,
"count":1841,
"type":"VEC3"
},
{
"bufferView":7,
"bufferView":2,
"componentType":5126,
"count":1814,
"count":1841,
"type":"VEC2"
},
{
"bufferView":8,
"bufferView":3,
"componentType":5126,
"count":1814,
"count":1841,
"type":"VEC4"
},
{
"bufferView":9,
"bufferView":4,
"componentType":5123,
"count":4368,
"type":"SCALAR"
},
{
"bufferView":10,
"componentType":5126,
"count":28,
"max":[
16.5,
10,
20.5
],
"min":[
-18.5,
2,
-15.5
],
"type":"VEC3"
},
{
"bufferView":11,
"componentType":5126,
"count":28,
"type":"VEC3"
},
{
"bufferView":12,
"componentType":5126,
"count":28,
"type":"VEC2"
},
{
"bufferView":13,
"componentType":5126,
"count":28,
"type":"VEC4"
},
{
"bufferView":14,
"componentType":5123,
"count":42,
"count":4410,
"type":"SCALAR"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":960,
"byteLength":22092,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":960,
"byteOffset":960,
"byteLength":22092,
"byteOffset":22092,
"target":34962
},
{
"buffer":0,
"byteLength":640,
"byteOffset":1920,
"byteLength":14728,
"byteOffset":44184,
"target":34962
},
{
"buffer":0,
"byteLength":1280,
"byteOffset":2560,
"byteLength":29456,
"byteOffset":58912,
"target":34962
},
{
"buffer":0,
"byteLength":456,
"byteOffset":3840,
"target":34963
},
{
"buffer":0,
"byteLength":21768,
"byteOffset":4296,
"target":34962
},
{
"buffer":0,
"byteLength":21768,
"byteOffset":26064,
"target":34962
},
{
"buffer":0,
"byteLength":14512,
"byteOffset":47832,
"target":34962
},
{
"buffer":0,
"byteLength":29024,
"byteOffset":62344,
"target":34962
},
{
"buffer":0,
"byteLength":8736,
"byteOffset":91368,
"target":34963
},
{
"buffer":0,
"byteLength":336,
"byteOffset":100104,
"target":34962
},
{
"buffer":0,
"byteLength":336,
"byteOffset":100440,
"target":34962
},
{
"buffer":0,
"byteLength":224,
"byteOffset":100776,
"target":34962
},
{
"buffer":0,
"byteLength":448,
"byteOffset":101000,
"target":34962
},
{
"buffer":0,
"byteLength":84,
"byteOffset":101448,
"byteLength":8820,
"byteOffset":88368,
"target":34963
}
],
@@ -360,7 +178,7 @@
],
"buffers":[
{
"byteLength":101532,
"byteLength":97188,
"uri":"residental-house9.bin"
}
]

View File

@@ -1,33 +1,68 @@
[gd_scene load_steps=5 format=2]
[gd_scene load_steps=8 format=2]
[ext_resource path="res://astream/terrain/details/residental-house9.gltf" type="PackedScene" id=1]
[ext_resource path="res://astream/terrain/details/parts/door1-portal.tscn" type="PackedScene" id=2]
[ext_resource path="res://astream/terrain/details/parts/residental-house-stair.tscn" type="PackedScene" id=3]
[ext_resource path="res://astream/terrain/details/residental-hut1-lod.gltf" type="PackedScene" id=4]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.7, 1, 0.6 )
[sub_resource type="OccluderShapePolygon" id=2]
polygon_points = PoolVector2Array( 15.9386, -0.668566, 15.8851, 12.5423, -17.9176, 12.2749, -18.2385, -0.882509 )
[sub_resource type="OccluderShapePolygon" id=3]
polygon_points = PoolVector2Array( 20.2709, 0.187198, 20.6453, 12.0075, -16.0456, 11.9005, -16.2595, -0.882509 )
[node name="residental-house9" type="Spatial"]
[node name="door1-portal" parent="." instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 5, 1, -15.5131 )
[node name="LOD" type="LOD" parent="."]
[node name="enter_destination" type="Spatial" parent="door1-portal" groups=["smart_object"]]
[node name="0" type="Spatial" parent="LOD"]
lod_range = 200.0
[node name="door1-portal" parent="LOD/0" instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 5, 1, -15.5131 )
skeleton = NodePath("../../..")
[node name="enter_destination" type="Spatial" parent="LOD/0/door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="door1-portal/enter_destination"]
[node name="actions" type="Node" parent="LOD/0/door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="door1-portal/enter_destination/actions"]
[node name="EnterDestination" type="Node" parent="LOD/0/door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="door1-portal/enter_destination"]
[node name="Area" type="Area" parent="LOD/0/door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="door1-portal/enter_destination/Area"]
[node name="CollisionShape" type="CollisionShape" parent="LOD/0/door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="residental-house-stair" parent="MergeGroup" instance=ExtResource( 3 )]
[node name="residental-house-stair" parent="LOD/0/MergeGroup" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0, -16 )
[node name="residental-house9" parent="MergeGroup" instance=ExtResource( 1 )]
[node name="residental-house9" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
[node name="1" type="Spatial" parent="LOD"]
visible = false
lod_range = 500.0
[node name="residental-hut1-lod" parent="LOD/1" instance=ExtResource( 4 )]
transform = Transform( 2.55, 0, 0, 0, 1.4, 0, 0, 0, 2.2, -0.916183, 0, 4.03123 )
[node name="2" type="Spatial" parent="LOD"]
visible = false
[node name="Occluder" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -14.8154 )
shape = SubResource( 2 )
[node name="Occluder2" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 19.2547 )
shape = SubResource( 2 )
[node name="Occluder3" type="Occluder" parent="."]
transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 0, 0 )
shape = SubResource( 3 )

View File

@@ -12,25 +12,13 @@
{
"name":"Scene",
"nodes":[
1
0
]
}
],
"nodes":[
{
"mesh":0,
"name":"flat3-1-noimp",
"translation":[
0,
1,
0
]
},
{
"children":[
0
],
"mesh":1,
"name":"house3-col"
}
],
@@ -40,28 +28,29 @@
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
"specularColorTexture":{
"index":0
}
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_73934_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0
"metallicFactor":0,
"metallicRoughnessTexture":{
"index":2
}
}
}
],
"meshes":[
{
"name":"Plane.003",
"name":"Cube.003",
"primitives":[
{
"attributes":{
@@ -74,80 +63,43 @@
"material":0
}
]
},
{
"name":"Cube.003",
"primitives":[
{
"attributes":{
"POSITION":5,
"NORMAL":6,
"TEXCOORD_0":7,
"TANGENT":8
},
"indices":9,
"material":0
}
]
}
],
"textures":[
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_73934",
"uri":"textures/Atlas_73934.png"
"name":"Image",
"uri":"textures/Image.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1",
"uri":"textures/joint-atlas-1.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1-roughness",
"uri":"textures/joint-atlas-1-roughness.png"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":28,
"max":[
11,
4,
11
],
"min":[
-11,
0,
-8
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":28,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":28,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5126,
"count":28,
"type":"VEC4"
},
{
"bufferView":4,
"componentType":5123,
"count":72,
"type":"SCALAR"
},
{
"bufferView":5,
"componentType":5126,
"count":372,
"max":[
7,
@@ -162,25 +114,25 @@
"type":"VEC3"
},
{
"bufferView":6,
"bufferView":1,
"componentType":5126,
"count":372,
"type":"VEC3"
},
{
"bufferView":7,
"bufferView":2,
"componentType":5126,
"count":372,
"type":"VEC2"
},
{
"bufferView":8,
"bufferView":3,
"componentType":5126,
"count":372,
"type":"VEC4"
},
{
"bufferView":9,
"bufferView":4,
"componentType":5123,
"count":1002,
"type":"SCALAR"
@@ -189,62 +141,32 @@
"bufferViews":[
{
"buffer":0,
"byteLength":336,
"byteLength":4464,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":336,
"byteOffset":336,
"target":34962
},
{
"buffer":0,
"byteLength":224,
"byteOffset":672,
"target":34962
},
{
"buffer":0,
"byteLength":448,
"byteOffset":896,
"target":34962
},
{
"buffer":0,
"byteLength":144,
"byteOffset":1344,
"target":34963
},
{
"buffer":0,
"byteLength":4464,
"byteOffset":1488,
"target":34962
},
{
"buffer":0,
"byteLength":4464,
"byteOffset":5952,
"byteOffset":4464,
"target":34962
},
{
"buffer":0,
"byteLength":2976,
"byteOffset":10416,
"byteOffset":8928,
"target":34962
},
{
"buffer":0,
"byteLength":5952,
"byteOffset":13392,
"byteOffset":11904,
"target":34962
},
{
"buffer":0,
"byteLength":2004,
"byteOffset":19344,
"byteOffset":17856,
"target":34963
}
],
@@ -256,7 +178,7 @@
],
"buffers":[
{
"byteLength":21348,
"byteLength":19860,
"uri":"residental-hut1.bin"
}
]

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=7 format=2]
[gd_scene load_steps=5 format=2]
[ext_resource path="res://astream/terrain/details/residental-hut1.gltf" type="PackedScene" id=1]
[ext_resource path="res://astream/terrain/details/parts/door1-portal.tscn" type="PackedScene" id=2]
@@ -7,68 +7,42 @@
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.7, 1, 0.6 )
[sub_resource type="CubeMesh" id=2]
size = Vector3( 14, 7, 16 )
[sub_resource type="SpatialMaterial" id=3]
albedo_color = Color( 0.937255, 0.615686, 0.0627451, 1 )
[node name="residental-hut1" type="Spatial"]
[node name="LOD" type="LOD" parent="."]
[node name="MergeGroup" type="MergeGroup" parent="LOD"]
lod_range = 40.0
[node name="0" type="Spatial" parent="LOD"]
lod_range = 100.0
[node name="residental-hut1" parent="LOD/MergeGroup" instance=ExtResource( 1 )]
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="door1-portal" parent="LOD/MergeGroup" instance=ExtResource( 2 )]
[node name="residental-hut1" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
[node name="door1-portal" parent="LOD/0/MergeGroup" instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 1, 1, -7.48604 )
skeleton = NodePath("../../..")
skeleton = NodePath("../../../..")
[node name="enter_destination" type="Spatial" parent="LOD/MergeGroup/door1-portal" groups=["smart_object"]]
[node name="enter_destination" type="Spatial" parent="LOD/0/MergeGroup/door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="LOD/MergeGroup/door1-portal/enter_destination"]
[node name="actions" type="Node" parent="LOD/0/MergeGroup/door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="LOD/MergeGroup/door1-portal/enter_destination/actions"]
[node name="EnterDestination" type="Node" parent="LOD/0/MergeGroup/door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="LOD/MergeGroup/door1-portal/enter_destination"]
[node name="Area" type="Area" parent="LOD/0/MergeGroup/door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="LOD/MergeGroup/door1-portal/enter_destination/Area"]
[node name="CollisionShape" type="CollisionShape" parent="LOD/0/MergeGroup/door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="residental-house-stair" parent="LOD/MergeGroup" instance=ExtResource( 3 )]
[node name="residental-house-stair" parent="LOD/0/MergeGroup" instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -7.97294 )
[node name="MergeGroup2" type="MergeGroup" parent="LOD"]
[node name="1" type="Spatial" parent="LOD"]
visible = false
lod_range = 20.0
lod_range = 500.0
[node name="residental-hut1" parent="LOD/MergeGroup2" instance=ExtResource( 1 )]
[node name="residental-hut1" parent="LOD/1" instance=ExtResource( 1 )]
[node name="door1-portal" parent="LOD/MergeGroup2" instance=ExtResource( 2 )]
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 1, 1, -7.48604 )
skeleton = NodePath("../../..")
[node name="enter_destination" type="Spatial" parent="LOD/MergeGroup2/door1-portal" groups=["smart_object"]]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905, 0, 0.65 )
[node name="actions" type="Node" parent="LOD/MergeGroup2/door1-portal/enter_destination"]
[node name="EnterDestination" type="Node" parent="LOD/MergeGroup2/door1-portal/enter_destination/actions"]
[node name="Area" type="Area" parent="LOD/MergeGroup2/door1-portal/enter_destination"]
[node name="CollisionShape" type="CollisionShape" parent="LOD/MergeGroup2/door1-portal/enter_destination/Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
shape = SubResource( 1 )
[node name="MergeGroup3" type="MergeGroup" parent="LOD"]
[node name="2" type="Spatial" parent="LOD"]
visible = false
[node name="MeshInstance" type="MeshInstance" parent="LOD/MergeGroup3"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.5, 0 )
mesh = SubResource( 2 )
material/0 = SubResource( 3 )

View File

@@ -28,22 +28,23 @@
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
"specularColorTexture":{
"index":0
}
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_36953_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0
"metallicFactor":0,
"metallicRoughnessTexture":{
"index":2
}
}
}
],
@@ -68,20 +69,38 @@
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_36953",
"uri":"textures/Atlas_36953.png"
"name":"Image",
"uri":"textures/Image.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1",
"uri":"textures/joint-atlas-1.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1-roughness",
"uri":"textures/joint-atlas-1-roughness.png"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":226,
"count":225,
"max":[
3,
0.09999999403953552,
@@ -97,19 +116,19 @@
{
"bufferView":1,
"componentType":5126,
"count":226,
"count":225,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":226,
"count":225,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5126,
"count":226,
"count":225,
"type":"VEC4"
},
{
@@ -122,32 +141,32 @@
"bufferViews":[
{
"buffer":0,
"byteLength":2712,
"byteLength":2700,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":2712,
"byteOffset":2712,
"byteLength":2700,
"byteOffset":2700,
"target":34962
},
{
"buffer":0,
"byteLength":1808,
"byteOffset":5424,
"byteLength":1800,
"byteOffset":5400,
"target":34962
},
{
"buffer":0,
"byteLength":3616,
"byteOffset":7232,
"byteLength":3600,
"byteOffset":7200,
"target":34962
},
{
"buffer":0,
"byteLength":744,
"byteOffset":10848,
"byteOffset":10800,
"target":34963
}
],
@@ -159,7 +178,7 @@
],
"buffers":[
{
"byteLength":11592,
"byteLength":11544,
"uri":"residental-parking.bin"
}
]

View File

@@ -4,6 +4,14 @@
[node name="residental-parking1" type="Spatial"]
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="LOD" type="LOD" parent="."]
[node name="residental-parking" parent="MergeGroup" instance=ExtResource( 1 )]
[node name="0" type="Spatial" parent="LOD"]
lod_range = 110.0
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="residental-parking" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
[node name="1" type="Spatial" parent="LOD"]
visible = false

View File

@@ -28,22 +28,23 @@
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
"specularColorTexture":{
"index":0
}
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_36953_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0
"metallicFactor":0,
"metallicRoughnessTexture":{
"index":2
}
}
}
],
@@ -68,13 +69,31 @@
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_36953",
"uri":"textures/Atlas_36953.png"
"name":"Image",
"uri":"textures/Image.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1",
"uri":"textures/joint-atlas-1.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1-roughness",
"uri":"textures/joint-atlas-1-roughness.png"
}
],
"accessors":[

View File

@@ -55,9 +55,10 @@
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2
"TEXCOORD_0":2,
"TANGENT":3
},
"indices":3,
"indices":4,
"material":0
}
]
@@ -73,7 +74,7 @@
{
"mimeType":"image/png",
"name":"Atlas_73934",
"uri":"Atlas_73934.png"
"uri":"textures/Atlas_73934.png"
}
],
"accessors":[
@@ -107,6 +108,12 @@
},
{
"bufferView":3,
"componentType":5126,
"count":16,
"type":"VEC4"
},
{
"bufferView":4,
"componentType":5123,
"count":24,
"type":"SCALAR"
@@ -133,8 +140,14 @@
},
{
"buffer":0,
"byteLength":48,
"byteLength":256,
"byteOffset":512,
"target":34962
},
{
"buffer":0,
"byteLength":48,
"byteOffset":768,
"target":34963
}
],
@@ -146,7 +159,7 @@
],
"buffers":[
{
"byteLength":560,
"byteLength":816,
"uri":"residental-wall1.bin"
}
]

File diff suppressed because it is too large Load Diff

View File

@@ -1,10 +1,19 @@
[gd_scene load_steps=3 format=2]
[gd_scene load_steps=6 format=2]
[ext_resource path="res://astream/terrain/details/townhall-exterior.gltf" type="PackedScene" id=1]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 2.00628, 2.23013, 4.04841 )
[sub_resource type="OccluderShapePolygon" id=2]
polygon_points = PoolVector2Array( 36.7768, 0.278552, 37.1809, 13.6124, -37.8389, 14.1512, -38.5124, -0.394878 )
[sub_resource type="OccluderShapePolygon" id=3]
polygon_points = PoolVector2Array( 18.5946, 2.06114, 17.9662, 13.215, -39.6884, 14.7711, -39.2171, 0.632338 )
[sub_resource type="OccluderShapeSphere" id=4]
spheres = [ Plane( 0, 0, 0, 8 ), Plane( 0, 14, 0, 8 ) ]
[node name="townhall-exterior" type="Spatial"]
[node name="scene_town_hall" type="Spatial" parent="." groups=["actuator"]]
@@ -16,6 +25,30 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 9.30597 )
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.141865, 2.25391, 0.0472889 )
shape = SubResource( 1 )
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="LOD" type="LOD" parent="."]
[node name="townhall-exterior" parent="MergeGroup" instance=ExtResource( 1 )]
[node name="0" type="Spatial" parent="LOD"]
lod_range = 300.0
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="townhall-exterior" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
[node name="1" type="Spatial" parent="LOD"]
visible = false
[node name="Occluder" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 7.81175 )
shape = SubResource( 2 )
[node name="Occluder2" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -28.1493 )
shape = SubResource( 2 )
[node name="Occluder3" type="Occluder" parent="."]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, -10.1014 )
shape = SubResource( 3 )
[node name="Occluder4" type="Occluder" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 26.4111, -2.98485 )
shape = SubResource( 4 )

View File

@@ -28,22 +28,23 @@
"alphaMode":"MASK",
"extensions":{
"KHR_materials_specular":{
"specularColorFactor":[
0.474271529955476,
0.474271529955476,
0.474271529955476
]
"specularColorTexture":{
"index":0
}
},
"KHR_materials_ior":{
"ior":1.4500000476837158
}
},
"name":"material_atlas_73934_1",
"name":"material_joint_atlas_1",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":0
"index":1
},
"metallicFactor":0
"metallicFactor":0,
"metallicRoughnessTexture":{
"index":2
}
}
}
],
@@ -68,20 +69,38 @@
{
"sampler":0,
"source":0
},
{
"sampler":0,
"source":1
},
{
"sampler":0,
"source":2
}
],
"images":[
{
"mimeType":"image/png",
"name":"Atlas_73934",
"uri":"textures/Atlas_73934.png"
"name":"Image",
"uri":"textures/Image.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1",
"uri":"textures/joint-atlas-1.png"
},
{
"mimeType":"image/png",
"name":"joint-atlas-1-roughness",
"uri":"textures/joint-atlas-1-roughness.png"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":36,
"count":144,
"max":[
2.5,
0.12999999523162842,
@@ -90,64 +109,64 @@
"min":[
-2.5,
0.11999998986721039,
-0.7522088885307312
-3.752208948135376
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":36,
"count":144,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":36,
"count":144,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5126,
"count":36,
"count":144,
"type":"VEC4"
},
{
"bufferView":4,
"componentType":5123,
"count":54,
"count":216,
"type":"SCALAR"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":432,
"byteLength":1728,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":432,
"byteOffset":432,
"target":34962
},
{
"buffer":0,
"byteLength":288,
"byteOffset":864,
"target":34962
},
{
"buffer":0,
"byteLength":576,
"byteOffset":1152,
"target":34962
},
{
"buffer":0,
"byteLength":108,
"byteLength":1728,
"byteOffset":1728,
"target":34962
},
{
"buffer":0,
"byteLength":1152,
"byteOffset":3456,
"target":34962
},
{
"buffer":0,
"byteLength":2304,
"byteOffset":4608,
"target":34962
},
{
"buffer":0,
"byteLength":432,
"byteOffset":6912,
"target":34963
}
],
@@ -159,7 +178,7 @@
],
"buffers":[
{
"byteLength":1836,
"byteLength":7344,
"uri":"zebra.bin"
}
]

View File

@@ -4,6 +4,14 @@
[node name="zebra" type="Spatial"]
[node name="MergeGroup" type="MergeGroup" parent="."]
[node name="LOD" type="LOD" parent="."]
[node name="zebra" parent="MergeGroup" instance=ExtResource( 1 )]
[node name="0" type="Spatial" parent="LOD"]
lod_range = 50.0
[node name="MergeGroup" type="MergeGroup" parent="LOD/0"]
[node name="zebra" parent="LOD/0/MergeGroup" instance=ExtResource( 1 )]
[node name="1" type="Spatial" parent="LOD"]
visible = false