Limiting Orbit of Camera & Annotations Not Possible?

Hello Sketchfab Devs!

Just about to roll-out a new feature on my 3D designer, where the model spins to a specific part of the model when they are changing specific selections in my designer (changing logo, model spins to the logo, changing font, model spins to focus on font)… however just as I’m about to roll the feature out I realize that you can’t have annotations AND the Limit Orbit of Camera feature enabled!

I definitely don’t want my users to have free reign of the camera, it’s not necessary and opens up several weird views of my model…

I don’t see why annotations and limiting the camera orbit need to be mutually exclusive. Why can’t the camera view adjustments made by tapping on an annotation just be limited by the camera orbit limitations that have been selected?



Making camera limits and annotations compatible would be tricky, and it’s on our feature request list. You could create the annotations programmatically using the API and I think it would work.

+1 to limiting Camera & being able to use Annotations! We just got the Enterprise account all setup and I thought you could do both :frowning: We’re using Sketchfab for Enterprise customers and like Gregan and other’s have brought up, I don’t really want the client seeing certain parts of the model and/or ending up in space and not being able to find their way back.

Using the API…that would be HTML? Would love to see an example of how/if that would work.


1 Like

Here’s a very simple example of a model with camera limits active, but I create an annotation “on the fly” using the Viewer API:

You could extend this to create all your needed annotations when the model loads, and camera limits would still be working.

Using the Viewer API requires knowledge of JavaScript and HTML. You can find the documentation and other examples here: Viewer API - Introduction - Sketchfab


Thanks James!

I downloaded Sololearn’s html and Javascript, I’ll start learning what I can, as I know we’ll want to integrate some of the more advanced features that the API allows.

1 Like