Urgent.News

What's breaking now, across thousands of outlets.

Tech

How a Web-Based 3D Product Configurator Works: Models, Rules and Pricing

If you've ever wondered what's behind a 3D product configurator, the kind that lets you change a sofa's fabric and see the price update, here's the architecture in plain terms. 1. The 3D asset : Everything starts with a model, usually converted from CAD into glTF/GLB for the web (and USDZ for iOS AR). The key decision is how you split it: every part a buyer can swap (legs, arms, bench, handle)…

A 3D product configurator allows customers to customize a product's appearance and specifications, while automatically updating prices and ensuring logical combinations. The core components of such a system are:

1. The 3D asset, typically a model converted to glTF/GLB for web use. Each swappable part, like legs or handles, becomes its own mesh or node, and each finish is defined as a PBR material. Keeping polygon counts and textures small is important for mobile users.

2. An option model that defines the configurable aspects of the product, such as size, fabric, and legs. This is simply structured as product → option groups → option values. Stored as JSON, the option model can be edited by merchandisers without needing a new deployment.

3. Rules that prevent impossible combinations, like a heater only being compatible with larger sizes or a corner module requiring additional arm modules. These constraints are evaluated with every change, and invalid options are disabled to help customers understand why certain selections aren't available.

4. Pricing is calculated on-the-fly based on selected values, which can include fixed price adjustments or formulas like cost per seat or per square foot. The pricing information is shown alongside the configuration, and can be exported as a quote PDF or sent to a CRM for B2B customers.

5. Rendering and user experience are handled using libraries like Three.js, Babylon.js, or model-viewer. Interactive camera movements guide users through the configurable product, and lazy-loading techniques ensure the 3D scene doesn't slow down the page initially. A poster image is displayed first to maintain good Core Web Vitals.

6. Augmented reality (AR) support is provided by exporting the current configuration to GLB or USDZ files, which can be viewed in Scene Viewer on Android or Quick Look on iOS, without requiring a dedicated app.

7. Integration with e-commerce platforms like Shopify or WooCommerce is straightforward: when a customer adds a configured product to their cart, their configuration ID and line items are passed to the store's system. The full configuration is stored for production purposes.

In summary, a 3D product configurator is a web-based tool that combines 3D modeling, data-driven option management, rule-based logic, real-time pricing calculations, and AR capabilities to enable customers to customize products while keeping the experience smooth and intuitive.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

I built a Minecraft server panel in Python: here's what broke along the way

I remember years and years ago when I initially got interested in servers, when I tried to set up a Minecraft server, I had to download the official Minecraft server jar file, manually update Java…

  • Author created FalkMC Panel to simplify Minecraft server setup
  • Python chosen for learning and challenging project
  • Fixed issues with server startup, panel freezing, and packaging

Sleepy Coder: a local assistant that finds the boring fixes in your code

This is a submission for the Hacktoberfest Open-Source AI Challenge: Slow and Steady . What I Built Sleepy Coder is a local coding assistant for the small, boring problems that pile up in side…

  • Sleepy Coder is an open-source AI tool for finding and fixing coding issues
  • It identifies problems like duplicate HTML headings and missing alt text
  • Runs locally on user's machine using Ollama, does not upload code to servers

Two vLLM servers on one GPU: the startup check that bites, and the fix

Someone asked on the vLLM tracker how to run a small embedding model next to a chat model on one GPU, so the card isn't half idle.

  • Two vLLM servers run on single RTX 3090 GPU
  • Embedding server set to 10% GPU memory, chat server to 70%
  • Allocated 3% memory utilization for embedding server to succeed

How Amazon Handles Millions of Orders on Sale Day - The Engineering Behind It

It's Amazon Great Indian Sale. Midnight strikes. Millions of people hit refresh simultaneously. Your internet slows down. The app feels laggy.

  • Amazon processes 1.4 million items per minute during Prime Day 2024
  • Microservices architecture enables independent scaling of services
  • Eventual consistency allows instant cart additions during sale day

Turning Google Maps results into a CSV for a small outreach project

I recently helped a friend who runs a small web design studio build a list of local businesses to contact. The goal was simple: every bakery and cafe in two neighbourhoods, with phone, website and…

  • A web design studio aimed to compile local businesses for outreach.
  • GMB Scraper extension exported Google Maps data to CSV format.
  • Filtered for businesses without websites to identify potential clients.

More from Saturday 24 October →