Guide · 3D models
How to make 3D models of glasses from product photos
A live virtual try-on needs a 3D model of every frame you sell. For most eyewear stores that's the hard part: you have good product photos and no 3D files. Here are the ways to get models, what each costs you in time and money, and what a model needs so it sits right on a face.
On this page
01 Four ways to get a model
Ask your supplier for the design files
Frames are usually designed in CAD software before they're made, so the factory or brand may already have a 3D file. It's worth an email. Ask for binary glTF (.glb) if they can export it, or for OBJ, FBX or STEP if not, and have someone convert it. CAD files tend to be very detailed, so expect to reduce the polygon count before the model is light enough for a phone.
Hire a 3D artist
A freelance 3D artist can model a frame from photos and measurements. This gives you the most control: clean geometry, accurate lens shape, and materials that look like real acetate or metal. It's also the slowest and most expensive route per frame, which adds up if you have a large catalog. Send the artist the requirements in section 3, plus the frame's three measurements (lens width, bridge width and temple length, usually printed inside the temple).
Scan the frame
3D scanning and photogrammetry (building a model from many overlapping photos) work well on shoes or furniture. Glasses are hard to scan: the parts are thin, metal is shiny, and lenses are transparent, so the software can't find stable points to match. People who do scan glasses often coat them with a temporary matte scanning spray and then rebuild the lenses by hand. If you already own a good scanner it's worth a test, but for most stores it isn't the shortest path.
Generate it from product photos with AI
The newest option, and several Shopify try-on apps now offer it. You give the tool photos of the frame and it builds a 3D model. Results vary with the photos and the frame: simple acetate shapes come out well, while thin wire frames, rimless designs and complex hinges are harder.
How a few Shopify try-on apps describe it on their listings (checked November 21, 2026; see our app comparison for more):
- AR Try-on (ours): Create with AI turns your product photos into a model inside the app. You review it before it goes live, and each plan includes a set number of AI models.
- TryOn Virtual: AI builds the model from product photos, with a few free models on each plan.
- GlassOn: makes a model from two photos, ready in under 24 hours.
- Camweara: its Specs AI converts eyewear images to 3D.
- Fittingbox and Auglio: offer digitization as a service, and Fittingbox also has a database of frames it has already modeled.
Whichever you use, look at every generated model on your own face before you publish it. Treat AI output as a draft, and fix or replace any model that looks wrong.
02 Taking photos that make good models
If you go the photo route, whether for AI or for an artist, better photos give better models. Your normal product shots are often enough, but these help:
- A straight-on front view, camera level with the lenses, so the frame shape isn't distorted.
- A side view showing the full temple arm, and a three-quarter view showing how the front curves.
- A plain background in a color that contrasts with the frame. White works for dark frames; light grey for clear or white ones.
- Soft, even light with no bright reflections on the lenses or metal. Hard reflections can end up baked into the model.
- The real colors. If you sell the same frame in several colors, photograph each one, or at least the one you'll show first.
- Temples open, the way the glasses sit when worn.
03 What makes a model work for try-on
A model that looks fine in a 3D viewer can still look wrong on a face. These are the things that matter:
Real-world scale
The model should be built in real units, at the frame's actual size. In glTF, one unit is one meter, so a frame about 140 mm wide should measure about 0.14 units across. A wrong scale is the most common reason a frame looks too big or too small on the face. Some apps rescale models when you upload them, so check how yours handles it; AR Try-on also has a size slider on each model for fine-tuning. Getting the size right in the file is still the safest start.
Correct orientation
The glTF format defines +Y as up and the front of a model as facing +Z. Build glasses that way: lenses facing forward, temples running back, upright, with the center of the bridge at or near the origin. A model that arrives on its side or facing backwards will either be rejected or need fixing by hand. Many try-on apps also need to know where the bridge sits on the nose and where the hinges are; some ask you to mark these points, and some (AR Try-on included) find them automatically.
Separate lenses with their own material
Keep the lenses as their own mesh, or at least their own material, so the app can set the tint and transparency. Clear prescription lenses should stay clear; sunglass lenses should show their real tint. If the lenses are merged with the frame, they usually end up opaque or the same color as the frame.
A reasonable file size
The model downloads to a phone, often over a mobile connection, before the try-on can start. Aim for well under 5 MB per frame. The usual ways to get there:
- Keep the polygon count modest. Glasses don't need millions of triangles; tens of thousands is usually plenty.
- Use textures no bigger than 1024 or 2048 pixels, and only where needed. Plain-colored acetate can often use a material color with no texture at all.
- Export as binary glTF (.glb), which packs everything into one file, and use mesh compression such as Draco or Meshopt if your app supports it.
Clean geometry
No holes, no stray floating pieces, no duplicate faces, and normals pointing outwards. These show up as flickering or black patches on a face, especially when the shopper turns their head.
04 A checklist before you publish
- The file is .glb and under about 5 MB.
- The frame is at real size: measure it in a free glTF viewer and compare with the size printed on the temple.
- It faces forward and sits upright when loaded.
- The lenses are a separate part, with the right tint or clear.
- On your own face, on your own phone, the bridge sits on the nose and the temples reach the ears.
- Turn your head left and right. The frame should stay put, with no gaps or flicker.
- Compare it with a product photo. Shape and color should match what the customer will receive.
Once your models are ready, our setup guide walks through connecting them to products and adding the Try-On button to your theme.