Replies: 2 comments 1 reply
-
Hi @Samsy! Can you share a model for which the settings above are not decimating enough? To my understanding, the settings you're passing to The pre-processing with await document.transform(
weld({tolerance: 0.1, toleranceNormal: Math.PI / 2}),
simplify({ simplifier: MeshoptSimplifier, ratio: 0.001, error: 0.250 })
); I'd expect that to give very aggressive simplification for most models, and may need to see the model you're working with if that's not the case. |
Beta Was this translation helpful? Give feedback.
-
Sorry for the late answer ! This is a sample of the model here : https://github.com/Samsy/glbs/blob/main/greenandheliport.glb That transforms into : https://github.com/Samsy/glbs/blob/main/greenandheliportlods.glb I wonder if there are some ways to get the result better, but I also guess this is working with the params you shared ! Some of the geometry is really wrangled, but that is the game of it :) |
Beta Was this translation helpful? Give feedback.
-
Hello !
I've been trying to setup an auto-LOD generation with gltf-transform using the mesh-simplifer :
I did play with any weld and ratio / error configs for those, I wonder if there are some configs / anything that could even decimate / wrangle the geometry even more for real distant LOD's.
Like turning a 10k vertices geometry into 250 vertices kind of, a brutal simplification
Beta Was this translation helpful? Give feedback.
All reactions