mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-07 09:33:51 +00:00
Generates a single-file HTML viewer next to the zone .glb. Anyone with a modern browser can open it — no installs, no Blender, no node_modules: wowee_editor --bake-zone-glb custom_zones/MyZone # bakes .glb wowee_editor --export-zone-html custom_zones/MyZone # writes .html open custom_zones/MyZone/MyZone.html # any browser Uses Google's <model-viewer> web component (loaded from unpkg with ^4.0.0 version pin so a unpkg 'latest' bump can't silently break older HTML files). The HTML itself is ~1.1KB; the .glb sits beside it for the viewer to load via relative URL. Features baked into the page: - Camera controls (orbit, zoom, pan) - Auto-rotate at 15deg/sec for the headless preview case - Shadow casting + neutral environment IBL for non-flat lighting - Header strip showing display name, map slug, tile count, mapId Refuses to run if the zone .glb doesn't exist yet (clear error message points the user at --bake-zone-glb). Verified: scaffolded zone -> --bake-zone-glb -> --export-zone-html. 1.1KB HTML opens cleanly in browsers, references the sibling .glb. Missing-glb case correctly errors with exit 1 + helpful next-step hint. |
||
|---|---|---|
| .. | ||
| asset_extract | ||
| auth_login_probe | ||
| auth_probe | ||
| blp_convert | ||
| dbc_to_csv | ||
| editor | ||
| asset_pipeline_gui.py | ||
| backup_assets.sh | ||
| diff_classic_turtle_opcodes.py | ||
| gen_opcode_registry.py | ||
| generate_ffx_sdk_vk_permutations.sh | ||
| m2_viewer.py | ||
| opcode_map_utils.py | ||
| validate_opcode_maps.py | ||