Repository navigation
web gallery: arigl ships the vehicle models, so terrain_lab's boat and vehicles draw as them - #1357
Merged
Merged
Conversation
…d vehicles draw as them The web gallery's arigl had no vehicle models in its file system, and in the browser find_vehicle_model has no install prefix (self_path is empty), so terrain_lab's tactical boat drew as its hull and world vehicles as boxes. - build-wasm-demo.sh passes CVC_WASM_VEHICLE_MODELS (default: the deps prefix's share/cvc-scenes/shared, where vehicle-humvee and vehicle-tactical-boat install); arigl's gallery build preloads each .glb in it at /share/cvc-scenes/shared/. - find_vehicle_model also searches the file system's root under Emscripten. - deploy-pages installs vehicle-tactical-boat beside vehicle-humvee, and the libcvc-examples-web recipe declares it. - Without the packages the boat and vehicles still draw as hull and boxes.
transfix
enabled auto-merge (squash)
November 18, 2026 23:50
This was referenced Nov 19, 2026
transfix
added a commit
that referenced
this pull request
Nov 19, 2026
This reverts commit ce0dad0. Joe: data should not be bundled with the demos; the gallery pulls it from cvcpkg at run time instead (Ariadne data packages, with a persistent browser cache), which follows. Bundling only grew every page's download.
transfix
added a commit
that referenced
this pull request
Nov 19, 2026
…Integration), which PRs skip #1356 put TilerBunny on every PR. That's about 13 s in Release, but a Debug build runs the bunny's SDF and the tiling many times slower. package-linux's libcvc-debug took about 450 s on a quiet runner (#1357, #1358). On a loaded one it ran past its 900 s timeout three times over (#1296, #1360), and failed that required job for every PR. So in a Debug build the suite is TilerBunnyIntegration. ci.yml's STRESS_REGEX takes Integration as a heavy suite, which no PR or Debug job runs; Release pushes still do. A Release build keeps the name TilerBunny, so every PR's Release lanes still run it. The tests' CMakeLists comment and the VolumeRover ports roadmap say the same.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The deployed gallery's terrain_lab drew the tactical boat as its physics hull and the world vehicles as boxes. arigl's web file system held no vehicle models, and in the browser
cvc::ariadne::find_vehicle_modelhas no install prefix (self_path()is empty under Emscripten).What changes:
examples/web/build-wasm-demo.shpassesCVC_WASM_VEHICLE_MODELSto CMake. The default is the deps prefix'sshare/cvc-scenes/shared, where thevehicle-humveeandvehicle-tactical-boatpackages install; a caller can name another directory.src/arigl/CMakeLists.txt(the gallery build) preloads each top-level.glbthere into arigl's file system at/share/cvc-scenes/shared/, logs how many it found, and relinks when one changes.find_vehicle_modelalso searches the file system's root as a prefix under Emscripten: a constant, no process-wide state. Native search is unchanged..github/workflows/deploy-pages.ymlinstallsvehicle-tactical-boatbesidevehicle-humvee. Thelibcvc-examples-webrecipe declares it as a build dependency.Effects:
TacticalBoat.glband its world vehicles asHumvee.glb.arigl.datagrows by about 2.8 MB (TacticalBoat.glb 2.2 MB, Humvee.glb 0.6 MB).Not verified before merge: PR CI doesn't build the web gallery; only
deploy pageson master does. The Emscripten-only line compiles in CI's wasm jobs. The preload uses the same--preload-fileform as arigl's other files. I'll check the live terrain_lab after the deploy: that the boat draws as its model and the page stays clean.