Skip to content

armgit / 67.js

Public Imported from GitHub
0

3D engine that AI agents drive

Make the airport a full world to explore

Nguyen Xuan An573b4eb8063c
diff --git a/changes/airport-world.md b/changes/airport-world.md
new file mode 100644
index 00000000..0f8c5e99
--- /dev/null
+++ b/changes/airport-world.md
@@ -0,0 +1 @@
+- Finish the airport showcase world so the camera can leave the hero view without meeting a void. The ramp now sits in a full airfield: an 866 m terminal with two piers, six more stands with aircraft, taxiways and a runway with markings, service roads, equipment parking, hangars, a real control tower, trees, a perimeter fence, and rolling hills that fade into the sky instead of ending in a ring. `scene.json` sets `bounds` and `maxDistance`, the static geometry is merged per material with the aircraft and equipment instanced (about 2,100 draws), and the GLB is 21.6 MB.
diff --git a/public/previews/showcase-airport.webp b/public/previews/showcase-airport.webp
index 125df48d..8182291c 100644
Binary files a/public/previews/showcase-airport.webp and b/public/previews/showcase-airport.webp differ
diff --git a/public/showcase/airport/scene.glb b/public/showcase/airport/scene.glb
index b03649d3..29e07d1b 100644
Binary files a/public/showcase/airport/scene.glb and b/public/showcase/airport/scene.glb differ
diff --git a/public/showcase/airport/scene.json b/public/showcase/airport/scene.json
index 8c1b4e2e..0111e6c0 100644
--- a/public/showcase/airport/scene.json
+++ b/public/showcase/airport/scene.json
@@ -9,6 +9,8 @@
"exposure": 1.0,
"eye": [138, 64, 36],
"target": [1, 3, -13],
+ "bounds": { "min": [-400, 0.8, -390], "max": [400, 220, 350] },
+ "maxDistance": 700,
"renderer": {
"ground": false,
"world": false,
@@ -29,8 +31,8 @@
},
"frame": {
"fov": 20,
- "near": 5,
- "far": 1500,
+ "near": 1,
+ "far": 7000,
"exposure": 1.0,
"effects": {
"bloom": { "strength": 0.15, "threshold": 1.0, "radius": 1.2 },
@@ -56,7 +58,12 @@
{ "model": "Concrete034 texture (terminal base)", "author": "ambientCG (Lennart Demes)", "licence": "CC0", "source": "https://ambientcg.com/view?id=Concrete034" },
{ "model": "Painted Plaster Wall texture (terminal interior)", "author": "Poly Haven", "licence": "CC0", "source": "https://polyhaven.com/a/painted_plaster_wall" },
{ "model": "Floor Tiles 06 texture (terminal interior)", "author": "Poly Haven", "licence": "CC0", "source": "https://polyhaven.com/a/floor_tiles_06" },
- { "model": "Scene assembly, ramp ground and material setup", "author": "CodePawl", "licence": "MIT", "source": "https://67js.codepawl.com" },
+ { "model": "Grass004 texture (airfield grass)", "author": "ambientCG (Lennart Demes)", "licence": "CC0", "source": "https://ambientcg.com/view?id=Grass004" },
+ { "model": "Airport Tower (control tower)", "author": "hosein hajipour", "licence": "CC BY 4.0", "source": "https://sketchfab.com/models/c5fa752238a54a2dbe8ac6f768a785e5" },
+ { "model": "Hangar", "author": "nermin", "licence": "CC BY 4.0", "source": "https://sketchfab.com/models/64f7d287f5274029bc29755a9839ebbf" },
+ { "model": "Fir Sapling (trees)", "author": "Poly Haven", "licence": "CC0", "source": "https://polyhaven.com/a/fir_sapling" },
+ { "model": "Island Tree 01 (trees)", "author": "Poly Haven", "licence": "CC0", "source": "https://polyhaven.com/a/island_tree_01" },
+ { "model": "Scene assembly, terrain and hills, roads, runway, taxiways, terminal piers, equipment parking, fence and material setup", "author": "CodePawl", "licence": "MIT", "source": "https://67js.codepawl.com" },
{ "model": "Industrial Sunset (Pure Sky) HDRI", "author": "Poly Haven", "licence": "CC0", "source": "https://polyhaven.com/a/industrial_sunset_puresky" }
]
}