I’ve been exploring how AI tools can help developers create better web experiences, especially for e-commerce websites.
Interactive 3D product previews seem particularly interesting because they allow customers to explore a product from different angles instead of relying only on static images. Three.js looks like a powerful option for building these experiences directly in the browser.
I’m curious about how developers here are combining AI-assisted coding with Three.js to build practical projects.
A few things I’d love to learn more about:
Can AI coding assistants reliably generate and debug Three.js scenes?
What’s the best approach for optimizing 3D product models so they load quickly on mobile devices?
How can developers implement interactive product rotation, zooming, and material changes without making the experience too heavy?
Are there any useful open-source examples or workflows for integrating 3D product viewers into WordPress or WooCommerce?
I’m interested in the wider application of AI and technology in e-commerce through my work with Ecom Advize, so I’d love to understand what is realistically achievable with today’s tools.
For those who have built production-ready Three.js projects, what challenges did you encounter with performance, model optimization, or mobile compatibility?
I’m exploring how Three.js can be used to display interactive 3D product models on ecommerce websites, and I’m particularly interested in performance on mobile devices.
For a product viewer that supports rotation and zoom, would you recommend starting with a compressed GLB model using Draco geometry compression, or focusing first on reducing polygon count and texture sizes?
I’d also like to understand how much difference KTX2 texture compression makes for products with detailed materials.
For those who have built product viewers, which optimization steps have made the biggest real-world difference to loading time and responsiveness on mobile?
Any practical examples or recommended workflows would be appreciated. Thanks!
That’s a really strange choice for a title.
AI can’t help developers, he takes their work.
anyway
You can easily ask ai about your question for ktx2 and draco
ktx2 is optimized for memory impact of texture.
but need a tool (i’m on that) to easy compress files.
many format and rule It’s quite complex.
draco divide model size by 6 generally, for web is better but don’t optimize model.
The core of your request is the automatic generation of 3D models.
It depends a lot on the type of model, but generally speaking, it’s not quite ready yet.
You shouldn’t believe all those ads that promise a super-lightweight model, that is incorrect.
AI creates extremely heavy models; while it is possible to optimize them.
but they still require a significant amount of refinement to end up with a clean model.
And let’s be clear: it will never reach the quality and optimization of a real human 3D modeler.
I agree that AI-generated 3D models still need a lot of refinement before they’re suitable for production e-commerce websites. A model might look impressive in a preview, but loading speed, geometry quality and mobile performance are just as important for the actual shopping experience.
Your point about Draco is particularly useful. I understand that it can significantly reduce file size, but it doesn’t actually optimize the model’s geometry. KTX2 also sounds worth exploring for reducing texture memory usage.
I’d be interested to know more about your compression tool when it’s available. Do you think the best workflow for e-commerce product viewers is to create or obtain a high-quality model first, then manually optimize the geometry and textures before exporting it as GLB?
yes ktx2 tool in on progress. i will use this tool as referency.
yes best process is
1_ Big 3d model with ai
2_ Low poly model with ai from the big model.
3_ Correct error and optimise manually with both model
4 _ Refine texture and finally compress all
Look at this guy video; he explains all process for Ai side
Thanks for the detailed explanation. That clears up the difference between Draco compression and KTX2 texture compression.
I agree that AI-generated 3D models still need considerable human refinement, especially when production quality, clean geometry and performance are important. AI may be useful as an assistant for certain development tasks, but it shouldn’t be treated as a replacement for experienced 3D artists and developers.
Your point about KTX2 tooling is interesting too. Having a simpler workflow for handling different texture formats and compression requirements would make optimization much more accessible.
For e-commerce, I think the practical goal is to combine well-optimized human-created models with lightweight, responsive viewers that work smoothly on mobile devices.
The gap between ‘looks good in the AI preview’ and ‘loads fine on a mid-range phone’ is mostly a checklist thing. Before a model goes on a product page I’d check: triangle count under ~100k for mobile, textures at 2048px max and compressed (KTX2 if your platform decodes it), no extensions the target browsers can’t handle, and the bounding box at real-world scale so the camera frames the product right. AI generators fail these in weird ways - flipped normals, materials with no roughness values, 4096px textures nobody downsized.
Cheap way to catch it early: drop the model into the three.js editor and look at the stats, or run it through gltf-transform inspect. Five minutes per model, saves you a week of ‘why is my product page at 10fps’ emails.