We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Prevent Preloading, Use a Play Button

Home Forums General Questions Prevent Preloading, Use a Play Button

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22916
    John Sperry
    Customer

    Is there anyway I can make my model prevent preloading, and wait for a user to click on the model before loading takes place. The loading process is taking a bit of time and I would prefer it didn’t load automatically. I would like it to operate in much the same way as sketchfab, where sketchfab has that big play button over the model and waits for a click before loading.

    #22917

    Hi,

    you can create an empty scene (you can also additionally pause the rendering for the sake of performance).

    Then you add an HTML button (e.g. with Webflow) over the canvas, and assign an onclick event on it, so that when the user clicks it, the button is hidden (visibility > hidden) and the scene is loaded.

    Or you can use JavaScript instead to do all this. :)

    Chief 3D Verger | LinkedIn | Twitter

    #22918
    John Sperry
    Customer

    Thanks!

    #22926

    sure, let us know it goes!

    Chief 3D Verger | LinkedIn | Twitter

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.