Hello good evening,
my first post ,
I wanted to know if there is a way to insert a 3D viewer in a container in an html with javascript,
in addition to using div class/frame/src
"
I appreciate your attention and any ideas, greetings
Hello good evening,
my first post ,
I wanted to know if there is a way to insert a 3D viewer in a container in an html with javascript,
in addition to using div class/frame/src
"
I appreciate your attention and any ideas, greetings
Hi @BelenReyes, welcome to the community! I am going through the same. You can an example of what I have achieved so far on my website https://victorwb.com, most of the code is here: website/src/components/SpeckleViewer.vue at af23c0b3aaf29c801148a42c0309e162894b06f1 · vwnd/website · GitHub (it’s using Vue, but you can check the script part of this file. It has selection, changing materials, and more recently just added tooltips with help from @alex.
So far you e mentioned the two means of embedding speckle data to a web page
With the 1. iframe version, you can have a single button on the outer page that modifies the url of the iframe which would cause a reload to latest version or even different project and model. You cannot control the iframe model viewpoints or appearance