mirror of
https://github.com/lighttransport/tinyusdz.git
synced 2026-01-18 01:11:17 +01:00
- Add EM_JS functions in binding.cc for direct C++ to JS progress reporting - reportTydraProgress: mesh conversion progress (current/total, stage, name) - reportTydraStage: conversion stage changes - reportTydraComplete: conversion completion with counts - Update TinyUSDZLoader.js with callback options: - onTydraProgress, onTydraStage, onTydraComplete - setTydraProgressCallback/setTydraStageCallback/setTydraCompleteCallback methods - Integrate callbacks in progress-demo.js for real-time UI updates - Add design document for JS/WASM synchronous event update patterns This enables real-time progress updates during Tydra scene conversion without requiring ASYNCIFY, using Emscripten's EM_JS for synchronous JavaScript calls from C++. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>