(Configurator Studio Problem) API to change normal map and texture?

Hello all, I am a 3D designer and recently find configurator is interesting.
I am a very new configurator user without any Javascript background, currently self-learning about this.

I am working on a clothes testing.
My Clothes model has 2 sets of normal maps & 4 sets of texture.

Here is my question:

  1. How can I change the normal map and texture at the same time by only 1 click, like a toggle?
  2. Where can I found the API that controls Texture and Normal map?
  3. How can I change the button image? It is now a 100x100 Texture icon.
  4. I read the Viewer API page, but it is difficult for me, If there are any advice or tutorial for beginner, I am very welcome :slight_smile:

Thanks for reading!

Link of my Configurator Project

Hello knode,

Welcome !

  1. It’s not possible with configurator
  2. Viewer API - Functions - Sketchfab && Viewer API - Examples - Sketchfab
  3. not possible, unless you save the web page and modify the html/css code
  4. Viewer API - Examples - Sketchfab are where to begin, I recomment “Material and texture” sample, and then “fork on jsfiddle” where you will be able to work on the code reliably and share it here to ask for help
1 Like