Embedding a 123D Catch scene in an HTML page
A little over a year ago I first saw the HTML version of 123D Catch. My first thought was “that’s cool!” and my second was “I wonder whether you can embed the WebGL control to host a 123D Catch scene in an external web-page?”. Basically allowing bloggers – or people posting to forums, perhaps – to embed 3D content captured using 123D Catch in their pages, much as you would do with a YouTube video.
At the recent technical conference in Boston, I asked someone about the feature. Sure enough it had been added some time ago (probably around the time I was thinking about it, originally) and I was provided with instructions on how to make use of it.
Firstly – and logically enough – you need to publish a scene to the 123D Catch gallery. I went ahead and created a really quick scene (I’m working on something more complex, but it’s taking longer than I’d hoped to get right, so it’ll be for another day) and published it to the gallery:
On balance my choice of a ZX Spectrum – which has semi-reflective patches of plastic and lots of uniform area – probably wasn’t the best, but this is really about the process of embedding, not about capturing a model.
Once up there, it was pretty straightforward to log into the 123D Catch website and find it in my list of recent work.
Clicking on the embed icon to the right brought up the options to customize the HTML fragment and copy it into your page:
And here is the end result (although of a slightly cleaner model than the one shown above), which needs a WebGL-capable browser (Chrome, Firefox or Safari) for the 3D mode to work. You'll also need to remember to click on "3D view" in the filmstrip at the bottom to bring up that view.