Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebGL demo not working #2387

Open
srama2512 opened this issue May 7, 2024 · 0 comments
Open

WebGL demo not working #2387

srama2512 opened this issue May 7, 2024 · 0 comments

Comments

@srama2512
Copy link
Contributor

Habitat-Sim version

v0.3.1 (latest main branch)

❓ Questions and Help

I'm trying to use the WebGL support for habitat-sim. The WebGL demo is not working though. Here are screenshots of the webpage and the console log.
image
image

Logs from the terminal:

Serving HTTP on 127.0.0.1 port 8001 (http://127.0.0.1:8001/) ...
127.0.0.1 - - [07/May/2024 19:03:20] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [07/May/2024 19:03:29] code 404, message File not found
127.0.0.1 - - [07/May/2024 19:03:29] "GET /bundle.js?e067fe9835855dd36181 HTTP/1.1" 404 -
127.0.0.1 - - [07/May/2024 19:03:29] code 404, message File not found
127.0.0.1 - - [07/May/2024 19:03:29] "GET /hsim_bindings.js HTTP/1.1" 404 -
127.0.0.1 - - [07/May/2024 19:03:56] "GET /build_js/ HTTP/1.1" 200 -
127.0.0.1 - - [07/May/2024 19:03:58] "GET /build_js/esp/ HTTP/1.1" 200 -
127.0.0.1 - - [07/May/2024 19:03:59] "GET /build_js/esp/bindings_js/ HTTP/1.1" 200 -
127.0.0.1 - - [07/May/2024 19:04:01] "GET /build_js/esp/bindings_js/bindings.html HTTP/1.1" 200 -
127.0.0.1 - - [07/May/2024 19:04:01] "GET /build_js/esp/bindings_js/WebApplication.css HTTP/1.1" 200 -
127.0.0.1 - - [07/May/2024 19:04:01] "GET /build_js/esp/bindings_js/hsim_bindings.js HTTP/1.1" 200 -
127.0.0.1 - - [07/May/2024 19:04:01] "GET /build_js/esp/bindings_js/WindowlessEmscriptenApplication.js HTTP/1.1" 200 -
127.0.0.1 - - [07/May/2024 19:04:01] "GET /build_js/esp/bindings_js/bundle.js?e067fe9835855dd36181 HTTP/1.1" 200 -
127.0.0.1 - - [07/May/2024 19:04:01] "GET /build_js/esp/bindings_js/hsim_bindings.wasm HTTP/1.1" 200 -
127.0.0.1 - - [07/May/2024 19:04:03] "GET /build_js/esp/bindings_js/data/default.physics_config.json HTTP/1.1" 200 -
127.0.0.1 - - [07/May/2024 19:04:03] "GET /build_js/esp/bindings_js/skokloster-castle.glb HTTP/1.1" 200 -
127.0.0.1 - - [07/May/2024 19:04:03] "GET /build_js/esp/bindings_js/skokloster-castle.navmesh HTTP/1.1" 200 -
127.0.0.1 - - [07/May/2024 19:04:08] "GET /build_js/esp/bindings_js/bundle.js.map HTTP/1.1" 200 -

I followed instructions from DETAILS.md to compile habitat-sim with build_js.sh. Am I missing something else?

python setup.py install --headless
./build_js.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant