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.

How can I correctly load Draco gltf when I append the puzzle

Home Forums Puzzles How can I correctly load Draco gltf when I append the puzzle

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #55543
    方伟 宾
    Customer

    How can I correctly load Draco gltf when I append the puzzle, because when I append the external gltf, I prompt that Draco components are needed, but when I introduce gltfloader and draco.js, it prompts that draco.js cannot be found.

    Attachments:
    You must be logged in to view attached files.
    #55556

    Hi, use loadModule to append new code to Verge3D. Also don’t forget to copy entire DRACO library (located in https://github.com/Soft8Soft/verge3d-code-examples/tree/master/js/libs/draco) to your JS directory, not just DRACOLoader. Also, no need to use GLTFLoader, you can access one by app.loader, or even use the “append scene” puzzle.

    Attachments:
    You must be logged in to view attached files.

    Verge3D’s Tech Chief
    FB | Twitter | VK

    #55569
    方伟 宾
    Customer

    Hi, use loadModule to append new code to Verge3D. Also don’t forget to copy entire DRACO library (located in https://github.com/Soft8Soft/verge3d-code-examples/tree/master/js/libs/draco) to your JS directory, not just DRACOLoader. Also, no need to use GLTFLoader, you can access one by app.loader, or even use the “append scene” puzzle.

    :good: Thank you very much. It’s so fast. After all, I’m only a 3D art student. I’ve written it myself for a long time, but it hasn’t been solved. It’s too strong. Thank you

    #55570

    :good:

    Verge3D’s Tech Chief
    FB | Twitter | VK

    #55651
    Ryan
    Customer

    how do you export the draco gltf?
    i don’t see it in v3d blender plugin

    #55652
    方伟 宾
    Customer

    Hello, I tried the above method, but still got an error. The version I used was 3DMAX4.1, and I copied the latest Draco, JS and folder of Verge3D Github. I also found that when I used Max to export the Verge3D reflection plane, and then imported the GLTF exported by external plug-in, The model becomes transparent in many places, and it works fine when you load the GLTF exported by external plug-ins without exporting the reflection plane. Emm wants to optimize this

    Attachments:
    You must be logged in to view attached files.
    #55936
    David Yanez
    Customer

    Hello everyone,

    I’m currently working on a configurator where I need a button to turn on and off a mesh group that belongs to an external scene.

    I have my button set in HTML and I’m trying to use the append scene puzzle tool in order to add the mesh group from the external scene to the base scene, and the unload scene puzzle tool in order to turn it off, but I cant seem to make it work.

    I’m attaching a screenshot of the puzzle configuration I’ve tried so far but with no luck. Also, a screenshot of the current export settings for both base and external scenes.

    I will really appreciate your help and guidence once more? Many thanks!

    • This reply was modified 2 weeks, 1 day ago by David Yanez.
    • This reply was modified 2 weeks, 1 day ago by David Yanez.
    Attachments:
    You must be logged in to view attached files.
    #55960
    kdv77kdv
    Participant

    entire DRACO library (located in https://github.com/Soft8Soft/verge3d-code-examples/tree/master/js/libs/draco)

    DRACOLoader.js from that location doesn’t allow to create DRACOLoader instance. This string is creating a problem
    THREE.Loader.call( this, manager );
    Removing this string eliminates the problem and the loader works fine.
    Also that string can be replaced by this string
    this.manager = manager ? manager : v3d.DefaultLoadingManager;

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