Adding WebGL to a scene

What is the best way to add a WebGL object to a scene?

Thanks

Hi Shawn,

You can embed a WebGL object by using a HTML Widget element in Saola Animate.
Please be noticed that you must preview in browsers or export to see the result because the editor doesn’t support WebGL yet.

Regards

Can you elaborate on how to add an HTML widget element that brings all the attached folders along with it? I tried going to Resource and adding the index.html file but that only pulls that file into the project and upon export, only that file is in the HTML5 folders. However, the webgl element is in the other folders associated with that HTML file. Or is there another way?

Hi Shawn,

You must upload the entire folder to a web server, and get the URL of the index file to set for the HTML Widget element.
We’ll consider supporting zipped folder resource (with a HTML entry file) in future release.

Regards