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.

basepath setting

Home Forums General Questions basepath setting

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #78339
    martenmonoz
    Participant

    Hello all,

    In the configurator i’am building I use a procedure (see screenshot) to set the base url our website builder can set. This method is usable for all files in the project except: basis_transcoder.js and basis_transcoder.wasm. Is there a way the path to these two files can be set in puzzles?

    Thanks in advance!

    • This topic was modified 6 days, 9 hours ago by martenmonoz.
    Attachments:
    You must be logged in to view attached files.
    #78349

    Hi martenmonoz,

    These two files are used to load compressed textures and loaded automatically by v3d.js. Make sure they are placed in the same directory as v3d.js. There is no way to change the path in Puzzles since Puzzles are initialized after the engine is loaded. In code it can be changed like this:

    app.loader.ktx2Loader.setTranscoderPath('new_path')

    Chief 3D Verger | LinkedIn | Twitter

    #78352
    martenmonoz
    Participant

    Thank you Yuri! If compressed textures is ticked off in my case in blender and the initialize puzzle load compressed textures is ticked off in verge, both files wont be necessary?

    #78387

    yep! you can just turn it off

    Chief 3D Verger | LinkedIn | Twitter

    #78391
    martenmonoz
    Participant

    Thanks!!

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