@KURO here’s a great example of what babylon viewer can do.…
@KURO here’s a great example of what babylon viewer can do.
https://sandbox.babylonjs.com/?kiosk=true&assetUrl=https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/MosquitoInAmber/glTF/MosquitoInAmber.gltf&cameraPosition=-0.14,0.005,0.03&autoRotate=true&skybox=true&environment=https://assets.babylonjs.com/environments/studio.env
lots of control over materials and background and scene elements… you can even make games with it if interested.
I want it for the scene control… especially backgrounds… because with standard glTF and glb don’t allow any control over the background… it’s up to however the site devs implement the viewer.
Also, you can embed the babylon viewer within HTML and reference the scene elsewhere.
And that’s where I’m at… I have the HTML code and it works to inscribe the HTML onchain but reference a babylon scene file on a traditional web server, like github or google drive, and view it on whatsonchain and kinda sorta on 1sat (see video I uploaded)…
… but I want the HTML and babylon scene file on-chain… and they can still be separate inscriptions… but I want them both on-chain. That way I can start making 3d eggs and more and gifting them to frens like you and @pxl272 and so many moarrr. ;D
Replies
Wao,Amazing!
So you want to put this in your HTML code and inscribe it as an HTML inscription?
Yes!
This one isn’t mine, but it is an excellent example of what babylon enables.
check it out, the html inscription works, but depent of the sandbox webside https://3dordi.io/ordinal/0fe4b5086172c71d4360a073eadda7bd20a8b6b5558077958609e57f7adec765_0
Heya @J1 Pelaez
Thank you for looking into this.
That inscription is using the Github file.
I had already tested and confirmed that to be working... even posted screenshots of it.
What isn't working is referencing the file as an inscription URL within the HTML.
Example:
https://alpha.1satordinals.com/outpoint/e5aec27db96b84b3599a5d84183e7f8af97273a8e3578acf06882dff454a042c_0
or
https://alpha.1satordinals.com/outpoint/e5aec27db96b84b3599a5d84183e7f8af97273a8e3578acf06882dff454a042c/0.babylon
Github file referenced in your inscription instead of onchain file 👇