Open arthurmougin opened 2 years ago
Thanks for the report. But it's intentional. Donut 2 has LOD only in materials. In your example, Donut 2 meshes have the same name but you will notice that their uuids are different depending on the distance. Different uuids mean they are different meshes. I think they refer to the same high-poly geometry but refer to different materials. Further mesh should refer to lower quality material.
I think we should let them have clear name and better to put clearer explanation in the example. I will close this issue when we do them.
When loading the torus asset (https://github.com/takahirox/three-gltf-extensions/tree/main/examples/assets/gltf/Torus/glTF-lod), the update does not return the good mesh :
Using this function as OnUpdate :
(e,f) =>{console.log(e,f)}
return
which translate to:
Expected behavior :
Is this a naming mistake in the 3D model or a bug ? cannot tell :/