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.

File Upload Puzzle

Home Forums Puzzles File Upload Puzzle

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #13340
    anomalyproductions1
    Participant

    Hi there,

    Is there a way to load or append a gLTF scene in the puzzle editor through a file upload, similar to the ‘Custom Image’ app? There’s a gLTF viewer by Don Mccurdy that allows users to drag-and-drop a file for preview; I see in the Javascript that he parses a blob using a Three.JS ObjectLoader. Is there a puzzle equivalent, or does this have to be done with code?

    Cheers :)

    #13346

    Hi,

    Yes, I think it is possible to upload gltf and bin files using the same procedure (or better glb so that only one upload operation is required). Once a file is uploaded, you can obtain its URL (as it is shown in the Custom Image app) and use it to load the scene in the application via Scene puzzles.

    Chief 3D Verger | LinkedIn | Twitter

    #13354
    anomalyproductions1
    Participant

    It works! This is great, thank you!

    #13364

    Very good! :good:

    Chief 3D Verger | LinkedIn | Twitter

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