Version 1.8 of the Sketchfab Viewer API is here!
What is the Viewer API?
Version 1.8 includes an assortment of new features and events. It’s now possible to create your own loading bars with events related to download progress. We also improved functions related to animations and camera movement. Additionally, there are new functions to turn lights on and off. Lastly, it’s possible to enter app-free Enterprise AR mode programmatically (i.e., with your own button instead of ours).
There are a lot of technical specifics. So, instead of posting them all here, I encourage you to check out the official changelog, here.
3D models take time to load, depending on the complexity of the mesh, the size of textures, etc. It’s now possible to receive the download progress percentage from the viewer so that you can create your own accurate loading bars or other loading animations. Check it out here.
Animation in reverse
You can now set animation speed to negative values. In other words, you can play animations backwards. This could be useful for opening and closing doors, or similar use cases. Check it out here.
You can now enable and disable “analytical” lights (i.e. Direction, Point, and Spot lights). Previously, enabled lights could be manipulated, but now you can turn the entire feature on or off as needed. Check it out here.
We recently launched “app-free” AR (Augmented Reality) mode for Enterprise clients. This feature adds a button to the viewer to launch AR directly on mobile devices, or provides a QR code to scan on desktop machines to take your phone to AR. Now, you can trigger this behavior via the API instead of relying on our button in the viewer. Check it out here.
We target a Viewer API release roughly once per quarter. If you have any need for new features or ideas for new examples, please let us know! We’ll try to work them into version 1.9 or beyond!
Interested in staying up-to-date with even more Sketchfab developer news? Join the Sketchfab API Developer Community so you can:
- Receive a newsletter on API changes and case studies
- Start discussions on our Developer Forum
- Subscribe to updates in the Viewer API Changelog
- Join the Sketchfab Discord server