After incribed, you could use the URL. 3dordi.io/ordinal/{t…
After incribed, you could use the URL.
3dordi.io/ordinal/{txid_vout}
Or
modelviewer.dev/examples/twitter/player.html?src=https://plugins.whatsonchain.com/api/plugin/main/{Origin txid}/{vout}
In the second case you need to use the Origin txID instead of txID outpoint.
Or
ord-arena.vercel.app/collection-items/{OrigintxID_vout}
GorillaPool download the 3D content but not display it directly.
Examples: https://3dordi.io/ordinal/71fd89a6cf62acfba6d87cc1966eecb9502070da11e8dc5c64c2e252950ff2ee_0
https://modelviewer.dev/examples/twitter/player.html?src=https://plugins.whatsonchain.com/api/plugin/main/7923de305910b37e08e1219b634dedd2e1651b987d6477eac8291975abb0369d/0
Replies
@J1 Pelaez great looking site!
Can you add support for inscribing .bablyon files?
It provides much more control over the scene than standard glTF / glb
babylonjs.com
Sure I will. Let me know if you have the first babylon inscription to test.
Excellent!! Will do later this evening!
Thank you!
@J1 Pelaez alrighty... here's the original .bablyon file stored on github
https://raw.githubusercontent.com/invertedNormal81/serve/main/glowSuccess_mod.babylon
I'm able to successfully reference it from there with HTML that I inscribe on-chain from 1satOrd... it displays correctly there during preview and then becomes static once inscribed... but it works completely correctly in Decode on What's onchian.
But I want also inscribe the .babylon file and reference it on-chain, as well.
I don't really need you to focus on implementing the bablyon viewer, because the HTML embedded viewer works fine... but you're welcome to go that length if you want.
All I really need is the ability to successfully reference the .bablyon file on-chain as a URL in place of the github URL in the code example below. This is the code that works perfectly fine by referencing the github file and then inscribing the HTML on-chain and viewing it on Whatsonchain decoder.
See video here to see what I'm talking about
https://app.treechat.com/quest/2a46a5a1-9147-46b1-9d3f-ed85b093bf1a
...
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Babylon_Egg_Test</title>
<script src="https://cdn.babylonjs.com/babylon.js"></script>
<script src="https://cdn.babylonjs.com/loaders/babylonjs.loaders.min.js"></script>
<style>
html, body { overflow: hidden; width: 100%; height: 100%; margin: 0; padding: 0; }
#renderCanvas { width: 100%; height: 100%; touch-action: none; }
</style>
</head>
<body>
<canvas id="renderCanvas"></canvas>
<script>
const canvas = document.getElementById("renderCanvas");
const engine = new BABYLON.Engine(canvas, true);
BABYLON.SceneLoader.Load("", "https://raw.githubusercontent.com/invertedNormal81/serve/main/glowSuccess_mod.babylon", engine, (scene) => {
scene.createDefaultCameraOrLight(true, true, true);
engine.runRenderLoop(() => scene.render());
});
window.add…