-
Notifications
You must be signed in to change notification settings - Fork 5
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
Write documentation how to export your hubs scene and run it #18
Comments
The only export I did was from a remix of the outdoor festival scene I pushed in https://github.com/c-frame/outdoor-festival, using File->Export as binary glTF in Spoke. It worked fine for this scene. I don't have any other scene in hubs personally. Then I retrieved the urls for the different linked assets like mp3 and other glb with console.log of the hubs gtlf extensions from my importer to not miss any link and I downloaded them all. In case you have an error exporting from Spoke, if your scene was previously published successfully, you can get the glb url by accessing a room that uses this scene, inspect the page with Chrome, in Console search for "Scene" you will have a log with Scene URL and the url with a .bin extension, download it, rename it to glb and quickly verify it on https://gltf-viewer.donmccurdy.com/ to see if the file is correct. If you added some objects in a room and pinned them, then those are in a separate gltf file, you can download the file from |
Just reporting that I downloaded the repo today, swapped in my .bin download of a big (70mb) scene, renamed it to scene.glb, and inserted it to replace this line:
And added an ambient light on line 144 (my scene lights didn't get enabled?):
and ran Just offering thanks, this is so cool! |
That's great! |
I'd love next to try to get the objects.gltf running but this'll await #13 as my objects are all images. Will check back in when I do, and happy to write some simple docs on this. |
I quickly wrote this doc f3265af in the README. |
Write documentation how to export your hubs scene from Spoke and downloading the linked assets (and later using the export feature that the Hubs team is working on), upload assets to glitch assets or a public github repo and using jsdelivr cdn (reading the terms, it allows to deliver glb files for free but it may have restrictions on size) but you don't even need jsdelivr cdn, you can just enable GitHub Pages on your public repo.
The text was updated successfully, but these errors were encountered: