
TL;DR
- Choose Three.js when you need a lightweight, fully customized web 3D configurator.
- Choose Babylon.js when your team wants stronger TypeScript support and more built-in development tools.
- Choose a SaaS platform when you value a faster launch more than complete technical control.
- Use optimized GLB files for browser-based 3D experiences and USDZ files for iOS AR.
- Use Tripo AI to generate web-ready 3D assets from product images and process large catalogs through an API.
Customers now expect to rotate, zoom, and customize products before they buy. The hard part is not understanding the value of interactive 3D. It is deciding how your development team should implement it.
You have two main paths. You can create a custom web 3D configurator with WebGL libraries such as Three.js or Babylon.js. You can also use a SaaS platform that provides hosting, configuration rules, integrations, and asset management.
This guide focuses on implementation rather than the basic definition. You will learn how the rendering stack works, how to build a three.js 3d configurator, how to prepare GLB assets, when to buy a SaaS platform, and how to add AR.
What a Web 3D Configurator Actually Does (Technical Overview)
A web 3D configurator combines a real-time renderer with a product rules system.
The browser first creates a WebGL context. A library such as Three.js then builds a scene graph containing the product model, camera, lights, and environment. Your application loads a GLB model at runtime and places its mesh nodes inside the scene.
When a user selects a color, material, wheel, handle, or another option, your application changes the related mesh or material. The renderer then draws the updated scene.
The main technical parts are:
- Renderer: Converts the 3D scene into pixels on the screen.
- Camera: Controls the user’s view of the product.
- Lighting: Shows the shape, surface, and materials of the model.
- Scene graph: Organizes meshes, lights, cameras, and groups.
- Raycaster: Detects which mesh a user clicks or taps.
- Asset loader: Downloads GLB models and textures.
- Variant manager: Applies product rules and tracks selected options.
- Commerce layer: Updates the SKU, price, cart data, or quote.
Three.js provides tools such as GLTFLoader, Raycaster, and WebGLRenderer for these jobs. Its official documentation is a useful reference when you start connecting these systems.
Keep your rendering code separate from your product rules. The renderer should display a valid product state, while the variant manager should decide whether that state is allowed. This separation becomes important when your catalog has dependent options.
For example, a certain wheel may only work with one vehicle trim. The variant manager should block the invalid combination before the renderer attempts to display it.
How a Web 3D Configurator Works

The Core Tech Stack — WebGL, Three.js, and Babylon.js
WebGL is the browser graphics API beneath most interactive 3D experiences. You can work with raw WebGL, but you must manage shaders, buffers, matrices, textures, and rendering states yourself.
That level of control can help engine developers and teams with unusual rendering requirements. However, it creates unnecessary work for most commerce projects.
Three.js gives you a simpler scene-based API. It has a large community, many examples, npm support, glTF tools, and integrations for common web frameworks. It is usually the strongest option when you want a custom webgl product configurator without building a rendering engine from the ground up.
If your front end uses React, React Three Fiber lets you build a Three.js scene with React components and state. You still use Three.js concepts, but configuration changes can fit more naturally into your existing React architecture.
Babylon.js is a larger and more complete engine. It includes strong TypeScript support, GUI controls, debugging tools, physics features, a browser-based playground, and visual material tools. A babylon.js configurator can be a good fit when your application needs complex interactions or when your team prefers an engine with more features included.
| Approach | Best for | Main strength | Main drawback |
|---|---|---|---|
| Raw WebGL | Engine research and specialized rendering | Maximum low-level control | Slowest development path |
| Three.js | Custom product configurators | Flexible, lightweight, and widely used | You must assemble more systems yourself |
| React Three Fiber | React-based commerce applications | React state and component integration | Requires React knowledge |
| Babylon.js | Complex interactive applications | Built-in tools and strong TypeScript support | Larger API and engine footprint |
| SaaS | Teams that need a fast launch | Hosting, rules, integrations, and support | Less control and ongoing fees |
Choose Three.js if you need a flexible 3d configurator javascript stack. Choose Babylon.js if you value built-in GUI, debugging, and TypeScript tools. Use raw WebGL only when standard libraries cannot meet a special rendering requirement.
Three.js and Babylon.js are both open source. However, an online 3d configurator open source project is not free to operate. You still need product data, hosting, asset optimization, testing, analytics, accessibility work, and long-term maintenance.
WebGL vs Three.js vs Babylon.js vs SaaS

Building a Three.js Configurator — Step by Step
Start by creating a project with a modern build tool and installing Three.js through npm. You can then import the main Three.js library, GLTFLoader, and OrbitControls into your application.
First, create the scene, perspective camera, and WebGL renderer. Add the renderer’s canvas to a responsive container on your product page.
Set the camera close enough to show the product clearly without cutting off important parts. You should also update the camera and renderer dimensions whenever the browser window or product container changes size.
Next, add lighting. A hemisphere light provides general illumination, while a directional light creates stronger highlights and shadows. You can also use an HDR environment map when you need more realistic metal, glass, or polished materials.
Load the product with GLTFLoader. Your GLB should contain clear node names such as Body, Seat, Legs, Frame, or Handle. Your application can then find each configurable part by name instead of relying on its order inside the file.
After loading the model, walk through its mesh nodes and check their materials. When a user selects an option, find the correct node and update its material properties.
For a color option, change the material’s color value. For a fabric or wood option, load a new texture and assign it to the material map. You can also update roughness and metalness to control whether the surface looks soft, matte, glossy, or metallic.
Clone a material before changing it if multiple meshes share the same original material. Otherwise, changing one part may also change other parts that use the same material.
Add OrbitControls so users can rotate and zoom around the product. Set minimum and maximum camera distances to stop users from moving inside the model or losing it outside the viewing area.
Your option panel can use standard HTML buttons, color swatches, dropdown menus, or React components. Each control should send its selection to one variant manager instead of changing the 3D scene directly.
The variant manager should:
- Receive the user’s selection.
- Check whether the selection is valid.
- Change the correct mesh or material.
- Update dependent options.
- Recalculate the SKU and price.
- Save the current configuration.
- Send the final selection to the cart or quote system.
For simple products, you can store rules in a JavaScript object. For large catalogs, load the rules from a product information management system, commerce API, or configuration service.
Use material swaps when only the product’s appearance changes. Use separate mesh parts when the product’s shape changes. You can load those parts when needed or include them in one GLB and switch their visibility.
This structure gives your three.js 3d configurator a clear boundary between rendering, product logic, and commerce data.
Three.js Product Configurator Workflow

The Asset Pipeline — GLB Optimization for Web
GLB is usually the best format for a web-based product configurator. It stores geometry, PBR materials, textures, and animations in one binary file.
A single GLB is easier to load, cache, and distribute than an OBJ model with separate material and texture files. It also works well with Three.js, Babylon.js, online viewers, and many AR pipelines.
For many configurable product parts, target about 10,000 to 50,000 triangles per visible variant. A simple button or handle may need far less. A detailed hero product may need more, but every extra triangle affects loading time and mobile performance.
Follow these optimization steps:
- Remove hidden geometry that customers will never see.
- Delete unused materials, textures, cameras, and lights.
- Combine meshes that always change together.
- Keep separately configurable parts as named mesh nodes.
- Resize textures based on their actual screen size.
- Compress textures with KTX2 and Basis Universal.
- Compress geometry with Draco or Meshopt.
- Create lower-detail models for slower devices.
- Test the final GLB on a mid-range phone.
Three.js provides KTX2Loader for GPU-compressed textures. GLTFLoader can also read Draco-compressed geometry when you connect the required decoder.
Do not create a complete product file for every color. Load one base mesh and swap its materials at runtime. This approach reduces storage, downloads, and catalog maintenance.
Use separate GLBs when variants change the product’s shape. For example, different sofa arms may need separate mesh files, while fabric colors can share the same base geometry.
You can also create low, medium, and high LOD models. Your application can choose a level based on camera distance, screen size, device memory, or measured performance.
If you do not have existing models, Tripo AI can turn product photos into base 3D assets. Smart Mesh creates optimized topology for real-time use, after which you can export a GLB and complete any required cleanup or product-accuracy checks.
GLB Asset Optimization Pipeline for Web

SaaS Platforms vs Custom Build — When Each Makes Sense
A custom build gives you control over rendering, analytics, UI, product logic, and checkout behavior. It works well when the configurator is a core part of your product experience and you have developers who can maintain it.
SaaS reduces setup work. The provider may manage asset hosting, configuration rules, platform integrations, AR, analytics, and content tools. This can shorten your launch, but you must work inside the platform’s API and pricing structure.
| Criterion | Custom Three.js build | SaaS platform |
|---|---|---|
| Initial development | High | Low to medium |
| Time to market | Often several months | Often several weeks |
| UI control | Full | Depends on templates and APIs |
| Hosting cost | You manage it | Usually included |
| Product rules | You build them | Often included |
| Photorealism | Depends on your assets and lighting | Often supported by managed tools |
| SKU scale | Controlled by your architecture | May depend on plan limits |
| AR | You integrate it | Often included |
| Ongoing cost | Development and infrastructure | Subscription and service fees |
| Vendor dependence | Low | Medium to high |
Threekit targets enterprise configuration and high-quality visual commerce. Its platform supports configuration logic, photorealistic output, AR, and commerce integrations. It may suit large organizations that need managed implementation and close connections with enterprise commerce systems.
Zakeke suits many mid-market commerce teams. It offers integrations for systems such as Shopify, WooCommerce, BigCommerce, and Adobe Commerce, plus rule-based 3D configuration. It usually provides an easier path for teams that do not want to build the entire system themselves.
Cylindo has a strong furniture focus. Its tools support modular products, live dimensions, room-oriented experiences, and large visual catalogs. Consider it when customers need to arrange furniture or build multi-part sets.
ConfigureID provides headless APIs and a product configuration engine. It can fit high-SKU or complex product programs where the same configuration logic must power several front ends.
Ask each vendor for a proof of concept using your hardest product. Measure mobile load time, visual accuracy, invalid-option handling, integration effort, accessibility, analytics access, asset ownership, and export rights.
You should also ask what happens when you stop using the service. Confirm whether you can download your models, textures, rules, and configuration data before you sign a long-term contract.
Do not choose a platform from a polished demo alone. A simple shoe or chair demo may not reveal problems with your real product rules or catalog size.
Custom Three.js Build vs SaaS Configurator

Adding AR — The model-viewer Web Component
Google’s <model-viewer> web component gives you a fast path from a product page to AR. You add the component to your site, point its source to a GLB, provide a USDZ file for iOS, and enable its AR settings.
The component can also provide camera controls, auto-rotation, loading behavior, posters, shadows, and accessibility text.
On supported Android devices, Scene Viewer or WebXR can open the GLB. On iOS, Quick Look uses USDZ. The official <model-viewer> documentation explains the available AR modes and browser behavior.
Your implementation should provide an alternative image or normal 3D viewer when the device does not support AR. You should also explain what will happen before asking the user to open another app or native viewer.
Remember that native AR viewers may reload the original asset from its URL. If your customer changes a product’s color in the main configurator, you may need to generate or select an AR file that matches that exact configuration.
For a small number of common combinations, you can prepare one GLB and USDZ pair for each combination. For a large catalog, you may need a service that creates or selects the correct AR asset after the user finishes configuring the product.
Tripo can export assets as GLB for browser-based 3D experiences. For iOS AR, you need to prepare a separate USDZ file. Always test transparency, dimensions, texture color, and material appearance on real iOS and Android devices before launch.
Performance Considerations
Do not download every possible variant during the first page load. Load the default product first, then lazy-load structural variant GLBs when the user opens an option group or selects a part.
Use a loading manager to track downloads and display real progress. Cache completed assets so users can return to an earlier option without another network request.
Render only when something changes. A continuous 60-frame-per-second loop wastes battery when the product is not moving. Request a new frame after camera movement, a material update, an animation, or a container resize.
On mobile, cap the renderer’s pixel ratio. A high-density phone screen may otherwise force the GPU to draw far more pixels than the user can notice.
Reduce shadow-map resolution, limit real-time lights, and avoid expensive post-processing on slower devices. Baked lighting and environment maps often provide a better balance between quality and speed.
Test memory use as well as frame rate. Large uncompressed textures can crash a browser tab even when the model has a reasonable triangle count.
Dispose of old geometries, materials, and textures when users switch between large product models. Removing an object from the scene does not always remove its data from GPU memory.
Serve GLBs and textures through a CDN such as Cloudflare R2 or a similar service. Add suitable caching headers and use versioned asset URLs so browsers can cache files without showing outdated models.
Track real user metrics, including initial model load time, interaction delay, memory failures, and conversion by device. A fast desktop demo does not prove that your configurator works on mobile networks.
Tripo AI — Generating Your Configurator Assets at Scale
A configurator cannot work without usable 3D assets. Traditional modeling may become the slowest part of the project when you have dozens or hundreds of products.
With Tripo AI, you can start from a product image or text prompt, generate a 3D model, create a Smart Mesh version with real-time topology, and export it as GLB.

You can then rename configurable parts, check dimensions, adjust materials, and run a final web optimization pass. For products with several important sides, multiple reference images can help you capture more complete geometry.
This workflow can help a small merchant turn existing product photography into an initial 3D catalog. It also helps a development team prototype the configurator before every final production model is ready.
For larger catalogs, the Tripo API supports text-to-3D, image-to-3D, conversion, and multi-format output. A typical batch workflow submits each product image, stores the returned task ID, receives a webhook or checks the task status, and saves the resulting model URL to your catalog system.
For example, you can connect a product information management system to the API and process new products as they enter the catalog. Your pipeline can then run automatic checks for file size, triangle count, texture dimensions, and required formats.

You should still review generated models for exact dimensions, brand details, material accuracy, and configurable part boundaries. AI speeds up asset creation, but your pipeline must enforce clear quality standards.
You can start generating GLB assets in Tripo AI Studio. For API workflows and batch generation, review the current availability and requirements in the official API documentation and on the Tripo AI Pricing page.
Frequently Asked Questions
Can I build a 3D configurator without a 3D modeling background?
Yes. You can use Tripo AI to generate a GLB from product images and then load that file with Three.js. You should still check its scale, materials, geometry, and product accuracy before publishing it.
How much does it cost to build a web 3D configurator?
A DIY build includes developer time, 3D asset production, testing, hosting, and maintenance. Mid-market SaaS platforms may cost around 2,000 or more per month, but actual pricing depends on traffic, SKU count, features, and service level.
What file format should I use for web 3D configurators?
Use GLB for browser rendering because it packages meshes, materials, textures, and animations into one efficient file. Use USDZ when you need native iOS AR through Quick Look.
Is three.js or Babylon.js better for a product configurator?
Three.js is often better for lightweight, highly custom builds and teams that want a large ecosystem. Babylon.js is a strong option for TypeScript-first teams that want richer GUI, debugging, and engine tools included.
How do I handle product variants in a 3D configurator?
Swap MeshStandardMaterial properties such as color, texture, roughness, and metalness at runtime. For structural options or dependent choices, use a variant manager that controls mesh visibility, validates rules, updates prices, and produces the final SKU.
If you have development resources and need full control, build with Three.js or Babylon.js and use Tripo AI as your asset-generation layer. If you need to launch quickly and can work within a vendor platform, choose a SaaS configurator after testing it with your most complex product.
Start by generating a GLB for testing in Tripo AI Studio, then validate it against your configuration requirements and target devices. When you need API access or batch creation for a larger catalog, review the current options on the Tripo AI pricing page.



