Hiding (and showing) layers on a DAE model


(Bighouseproductions) #1

Hi there, I’ve finally taken the plunge and am hoping to use your api functionality to create tours of places… but with layers turned on and off. I’ve hired some javascript folks to help. Can you send me any documentation that will help with creating this? The main task is to be able to assign visibility to the original DAE file layers (created in C4D), so that some can be turned on and off. Here’s an example of one of these models:

Thanks for your help!


#2

Hi,

Sounds cool! You can find the Viewer API documentation as well as many demo applications here: https://sketchfab.com/developers/viewer

Specifically, you’ll want to look at the hide() and show() functions. Here’s a simple example: https://labs.sketchfab.com/experiments/watch-configurator/