Using the Sketchfab Viewer API, you can create a 3D model configurator to allow others to interact with your models. You can perform a number of actions with a Sketchfab configurator, including hiding and showing objects, or editing materials in real time.
To build your own configurator, you’ll first want to make sure you have a good model to work on. For configurator-ready models, it’s best to prepare the following:
- Avoid merging objects and materials that’ll need to be configured
- Give human readable names to your model’s materials
- Group objects under a single parent for easy manipulation
Viewer API functions
Once you have your model prepared, you’ll want to decide what others can do with it. The Sketchfab Viewer API offers a number of functions and we’re always working to offer more.
You’ll basically be assigning functions through the Sketchfab Viewer API to buttons you or your developer code. For example, most configurators are made so that clicking a button or swatch changes the color of a select material on the model.
You can find a number of example functions and the code to create them in our Developers section.
In addition to using the Sketchfab Viewer API, you’ll need to build a full-featured application that interacts with it, including a user interface (buttons, menus, etc.) and operations to dynamically update the model.
If you need help or you're looking to hire an external developer to build your configurator, Sketchfab can help. We offer free consultations and services for a fee.