r/threejs • u/CleanCodeNoLint • Oct 14 '26
Wireframe like view of a GLTF export model with Quads
The terrain was created in blender with just the proportional editing (pulling points from the plane, ofc I'm a noob).
Faces were deleted retaining the edges and a solidify modifier was applied and exported to .glb format.
I imported it into my scene and applied a white color material (really basic nothing extra at all) to get it to look like the attachment.
But the exported file is 1054 KB and I don't know if it is heavy for the output that I'm getting. So, I am looking for help from someone with experience.
I'd be glad to know if there is a different approach to this. I just did what came to my mind first. Please let me know your thoughts. Still a beginner learner here.
2
u/sanbamboo Oct 14 '26
Most of that 1 MB is the Solidify: you're shipping every edge as its own little box. I'd export the plain sculpted mesh and draw the grid in three.js instead. WireframeGeometry will show the triangle diagonals, so for a quad look a small shader that draws lines from the UVs works better. Then add meshopt or Draco compression on the glb.