Tagged: append puzzle, Draco gltf
- This topic has 7 replies, 5 voices, and was last updated 2 years, 2 months ago by kdv.
-
AuthorPosts
-
2022-09-05 at 2:34 am #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.2022-09-05 at 7:57 am #55556Alexander KovelenovStaffHi, 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.2022-09-05 at 9:37 am #55569方伟 宾CustomerHi, 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.
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
2022-09-05 at 11:24 am #55570Alexander KovelenovStaff2022-09-08 at 4:31 am #55651RyanCustomerhow do you export the draco gltf?
i don’t see it in v3d blender plugin2022-09-08 at 5:59 am #55652方伟 宾CustomerHello, 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.2022-09-20 at 11:24 pm #55936David YanezCustomerHello 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!
Attachments:
You must be logged in to view attached files.2022-09-21 at 9:24 am #55960kdvParticipantentire 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;
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
-
AuthorPosts
- You must be logged in to reply to this topic.