Skip to main content

Embedding your 3D models

Comments

140 comments

  • phraxis38

    Hi @James

    The embed mode seems not worked with a password protected model. :(

    It works with a private model but not with a password.

    Thank you to fix that. ;)

     

    0
  • Markvdb

    Just wondering if it is possible to navigate to a specific annotation (camera angle), via hyperlinked text on the same page.

    The idea is to have a paragraph of text, and a 3D model next to it. When you click a word in the text paragraph, the sketchfab model rotates to a specific view/annotation.

    Here is an example using a different platform:

    https://human.biodigital.com/demos/ethicon/#https://human.biodigital.com/demos/ethicon/

    Just wondering if this is kind of interactivity possible with sketchfab.

    Ideally some examples?

    Thanks for any advice you can give.

     

    0
  • James

    Hi @Markvdb,

    Thanks for your interest. Yes, something like that is possible with our Viewer API. You can hide and show objects, edit materials in real time, control the camera, etc.

    Here are some resources and examples:

    https://sketchfab.com/developers/viewer

    https://labs.sketchfab.com/experiments/

    This one in particular could be interesting for you: https://labs.sketchfab.com/experiments/annotations-sync/

    1
  • Markvdb

    WOW - Thanks James for the speed and detail of your reply.

    Your kindle example gives me hope, because it shows the API talking to other items on the same page, but I am wondering if the control can go in the other direction?

    I am really keen to know if hyperlinked text on the page can send instructions to the sketchfab API and make the model do things: eg. Go to specific annotation. Play animation. Show/hide object.

    Can the API receive instructions from the page, or is the communication just from the API to the page? 

    Just wondering - is there is a hard coded limitation that makes this kind of interactivity impossible with the sketchfab API, or it should be possible?

    https://human.biodigital.com/demos/ethicon/#https://human.biodigital.com/demos/ethicon/

    Thanks again for the examples you sent, and your quick response!!

     

    0
  • James

    Yep, interactions between the viewer and the rest of the page (in both directions) is exactly the purpose of the Viewer API. You can find lots of other live examples here: https://sketchfab.com/developers/viewer/examples

    You can add buttons to your page that do things like move the camera, go to an annotation, hide or show an object, etc.

    0
  • Markvdb

    That's perfect
    Thanks so much James!

    0
  • yudjin.3d

    Hello, tell me please, I change the frame size - but the scale of the model does not change, as a result, the model is cut off by the edges - is it possible to somehow set the camera distance at startup

    0
  • James

    @yudjin.3d - Can you share a link to the model? You can move/zoom the model to where you want it, and click "Save View", and this will be the default camera.

    1
  • yudjin.3d

    @James it`s work, thanks!

    0
  • datec.studio

    Hello, I use Wordpress and Iframe to display, but I don't know how to use these codes to remove all buttons and enable autostart.

    0
  • datec.studio

    I did copy and disables all info and control but still show all of them, just autostart and turntable working

    0
  • James

    Hello,

    You need a Premium account to hide some elements such as the info and controls: https://sketchfab.com/plans

    0
  • rishibaghel07

    How can I use this Models in my educational website for Free?

    0
  • matousekfoto

    Any plans for language localization for embedded players?
    Translated info, controls etc, at least for major languages.
    Or ideally - user customizable...

    1
  • marfal

    HI!
    By few days i'm not able to embed my models into Behance project, what could be the problem? i'm not a pro user, but months ago it worked anyway. Thank you!

    0
  • invivocom

    We've shared Sketchfab models on our Twitter account before, and they look and function really well.
    Are there any issues doing the same in a paid Twitter ad? Thanks for your time. 
    -Glendon at INVIVO

    0
  • James

    Hi Glendon,

    I'm afraid I don't know much at all about paid Twitter ads, but I have doubts that they would allow external iframes like that. What does the process of creating an ad look like?

    0
  • soplenosec22

    Hi! James, you said "You can make the background transparent with the transparent parameter." where could I find that parameter? there's nothing like that in embed code. actually this item https://sketchfab.com/3d-models/old-recorder-freepolyorg-dbf0dbcf4229429088b0a984e8f05666

    0
  • James

    You can find it in the "Content" tab of the embed popup, but a Pro account is required (by the owner of the model) to use that parameter:

    You can also completely turn off the background in 3D Settings to get the same effect, but again, you must be the owner of the model.

     

    0
  • hamzat

    I need to customize the loading screen. Is this something possible at the enterprise level? I am currently on premium 

    0

Please sign in to leave a comment.