Sketchfab Forum

Camera settings via API or in uploaded 3D scene


(Mfedyukov) #1

I see I can set up camera settings (initial camera view via Save View button and FOV) in 3D Settings interface.
It seems we can set up initial camera view and FOV via Viewer API, but it requires adding not only iframe, but also javascripts: in our integrated system we can provide only iframe, there are no ways to add any javascripts in the system.
So is there any way to set up these camera parameters either via setting the camera in uploaded FBX file, or via Data API?



At the moment, you can set a new orientation with the Data API:!/models/patch_v3_models_uid_options

This allows you to set a new up-axis, but you cannot currently define a new camera position or FOV specifically.