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 create with code. For example, configurators can be made so that clicking a button changes the color of a select material on the model, like the Zodiac example below:
In addition to using the Sketchfab Viewer API, you’ll need to build a full-featured web application that interacts with it, including a user interface (buttons, menus, etc.) and operations to dynamically update the model.
If you or your business is new to 3D or you're just looking to hire an external developer to build your configurator, Sketchfab can help. We offer consultations for free and configurator services for a fee.