diff options
| author | syfyra <258908070+syfyra@users.noreply.github.com> | 2026-11-26 15:03:31 +0100 |
|---|---|---|
| committer | syfyra <258908070+syfyra@users.noreply.github.com> | 2026-11-26 15:04:06 +0100 |
| commit | ad1c6627164730550501e3e75b9345bc554ae9a0 (patch) | |
| tree | 7d3954ec13ee5e4547aab040286b5c0ac4fdfbd3 /runtime/test/cpp_unwind_test.cpp | |
| parent | 73516a2902a9872e4d21d1bdbbde4e26059497c5 (diff) | |
viewer: an overview map of the world's chunks, with click to fly there (VIEWER-OVERVIEW-MAP)
The map viewer loads only what is near the camera, and nothing in it shows
where the rest of a world is: a placed world is kilometres across, and a
chunk that fails to load is only a number in the HUD.
M opens a map of the whole world from above, drawn from world.json alone:
one rectangle per chunk (its cell when it names a tier, otherwise the X/Z
extent of its bounds), coloured by its streaming state (not loaded,
loading, loaded, failed). It shows the camera and its view direction, the
spawn point and, without LOD sets, the loading radius. The line under it
names the point under the cursor, in a placed world also as RAGE X and Y,
and the chunk there with its state. A click moves the camera there, 10 m
above the full-detail geometry at that point unless it is already higher;
the wheel over the map zooms it about the cursor.
Nothing touches the page until the map is first opened, and an open map is
redrawn at most every 100 ms. tests/test_viewer_map.cjs runs the map's
code from the page together with the streaming code, in a new file so the
open pull requests on tests/test_viewer_streaming.cjs are not touched.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/cpp_unwind_test.cpp')
0 files changed, 0 insertions, 0 deletions