Supported 3D File Formats
The Viewer Editor supports multiple 3D file formats, each with different capabilities and use cases. This guide helps you choose the right format for your needs.
Format Comparison Table
| Format | Extension | Materials | Textures | Animations | Variants | Node Control | Best For |
|---|---|---|---|---|---|---|---|
| GLB ⭐ | .glb | ✅ | ✅ | ✅ | ✅ | ✅ | Production |
| GLTF | .gltf | ✅ | ✅ | ✅ | ✅ | ✅ | Development |
| SPLAT | .splat | ☑️ | ☑️ | ❌ | ❌ | ❌ | Gaussian splatting |
| STL | .stl | ❌ | ❌ | ❌ | ❌ | ❌ | CAD exports |
⭐ = Recommended for production
⚠️ = Partial support (requires additional files)
☑️ = Photorealistic appearance achieved through 3D Gaussian Splatting (3DGS) ellipses instead of traditional materials/textures
GLB Format (Recommended)
File Extension: .glb
MIME Type: model/gltf-binary
Best For: Production eCommerce use
Advantages
✅ Single File - All data in one file (geometry, materials, textures)
✅ Smallest Size - Binary format is compact
✅ Fastest Loading - Optimized for web delivery
✅ Full Features - Supports all Viewer Editor capabilities
✅ Industry Standard - Widely supported across platforms
✅ PBR Materials - Physically-based rendering support
✅ Material Variants - Multiple material configurations
✅ Node Hierarchy - Full control over object parts
When to Use
- ✅ Production eCommerce products
- ✅ Interactive configurators
- ✅ Models with textures and materials
- ✅ Files that need to load quickly
- ✅ When using variant matching features
Creating GLB Files
From Blender:
- File → Export → glTF 2.0
- Format: glTF Binary (.glb)
- Enable: Include → Selected Objects, Materials, Textures
- Enable: Compression → Draco (optional, reduces size)
- Export
GLB Optimization Tips
-
Compress Textures
- Use JPEG or WebP for diffuse/base color
- Use WebP only when transparency needed
- Resize to appropriate resolution (512px-2048px)
-
Enable Draco Compression
- Reduces geometry size by 60-90%
- Slightly increases load time (worth it)
- Widely supported in browsers
-
Remove Hidden Geometry
- Delete faces not visible to camera
- Remove internal components
- Clean up mesh before export
-
Optimize Materials
- Share materials where possible
- Remove unused textures
- Use efficient texture formats
Target Sizes:
- Simple product: < 2 MB
- Detailed product: 2-10 MB
- Complex product: 10-30 MB
- Maximum: 50 MB
Check this guide for helpful tips
SPLAT Format
File Extension: .splat
Best For: Gaussian splatting captures
About Gaussian Splatting
A new 3D capture technique that creates photorealistic scenes from photos or videos using AI. Some of the apps you can use to create splats:
Check this tutorial on how to use 3DGS as variants
- Scaniverse Free
- Luma AI Paid
- Polycam Paid
The best opensource editor for splats - Supersplat
Features
✅ Photorealistic - Very high visual quality
✅ From Photos - Created from image sets
✅ Novel View Synthesis - Smooth viewing angles
✅ Variants - Use separate 3D scans as different models
Limitations
❌ Variants Heavy - Using different models to represent variants might be inefficient
❌ No Materials - Baked appearance
❌ Large Files - 5-100MB typical
❌ In active development - Some tools may lack support for splats
❌ No Scene Lighting Interaction - SPLAT files are not affected by Viewer Editor scene lights and do not cast or receive shadows from the scene. However, if the original 3D scan captured lighting and shadows from the real environment, those will be preserved in the SPLAT file as part of the baked appearance
When to Use
- ✅ Photorealistic room/environment captures
- ✅ Artistic/showcase purposes
- ✅ Experimental projects
- ❌ Product configurators (harder to configure efficiently)
STL Format
File Extension: .stl
Best For: CAD exports, 3D printing
Features
✅ CAD Compatibility - Standard CAD export
✅ Simple Geometry - Easy to work with
✅ Small Files - Geometry only
Limitations
❌ No Colors - Solid gray only
❌ No Materials - No visual properties
❌ No Textures - Can't apply images
❌ Basic Display - Very plain appearance
When to Use
- ✅ CAD model previews
- ✅ Technical drawings
- ✅ When visual quality doesn't matter
- ❌ Product visualization (use GLB with materials)
Adding Materials to STL
STL files display as solid gray. To add materials:
- Import STL into Blender
- Apply materials and textures
- Export as GLB
- Use the GLB in Viewer Editor
Format Selection Guide
For eCommerce Products → GLB
Use GLB when you need:
- Product configurators
- Material variants
- Node visibility control
- Professional appearance
- Fast loading times
For 3D Scans → SPLAT or GLB
Use SPLAT:
- For fast changing, hard to model products - sculptures, flower compositions
- Do not forget to compress
- Photorealistic captures
- Showcase projects
- Experimental features
For Legacy Content → Convert to GLB
If you have:
- OBJ files → Convert to GLB
- PLY files → Convert to GLB
- FBX files → Convert to GLB
- STL files → Add materials, convert to GLB
- GLTF folders → Convert to GLB
File Size Guidelines
Recommended maximum sizes by format:
| Format | Recommended | Maximum | Notes |
|---|---|---|---|
| GLB | < 10 MB | 50 MB | Compress textures and geometry |
| GLTF | < 15 MB total | N/A | Convert to GLB instead |
| SPLAT | < 30 MB | 100 MB | Experimental, may be slower |
| STL | < 5 MB | 20 MB | Add materials, convert to GLB |
Files over 50 MB may:
- Take very long to load
- Cause memory issues
- Fail on mobile devices
- Create poor user experience
Optimize or split into multiple models if needed.
Recommended Workflow
For New Projects
- Model in your preferred software (Blender, 3ds Max, etc.)
- Apply PBR materials (Metallic-Roughness workflow)
- Optimize geometry (reduce polygons, remove hidden parts)
- Compress textures (appropriate resolution)
- Export as GLB with Draco compression
- Test in Viewer Editor
- Optimize further if needed
For Existing Content
- Identify current format (OBJ, FBX, etc.)
- Import into Blender or compatible software
- Set up PBR materials
- Export as GLB
- Test in Viewer Editor
STEP, IGES and BRep formats
What are BRep models?
BRep (Boundary Representation) is a precise mathematical representation of 3D geometry used in CAD software. Unlike mesh-based formats (GLB, STL), BRep defines surfaces using mathematical curves and equations, making them perfect for engineering and manufacturing but incompatible with real-time 3D viewers that require polygon meshes.
Common BRep formats:
- STEP (.step, .stp) - Industry standard for CAD exchange (created by SolidWorks, CATIA, Fusion 360, etc.)
- IGES (.igs, .iges) - Older CAD exchange format
- Parasolid (.x_t, .x_b) - Native format for Siemens NX, Solid Edge
- ACIS (.sat) - Format used by AutoCAD, Inventor
Tools that create these files:
- SolidWorks - Mechanical design CAD
- CATIA - Advanced engineering CAD
- Fusion 360 - Cloud-based CAD
- Rhino - NURBS-based modeling
- FreeCAD - Open-source parametric CAD
- Siemens NX - Industrial CAD/CAM
Conversion workflow:
Production CAD files (STEP, IGES, etc.) often contain precise engineering data, manufacturing specifications, and proprietary information. Never convert and upload these directly to your website. Always create simplified, marketing-quality versions that show product appearance without revealing sensitive technical details.
BRep formats cannot be directly loaded into Viewer Editor. They must be tessellated (converted from mathematical surfaces to polygon meshes) first:
- Tessellate in CAD software - Open the STEP/IGES file in tools like:
- FreeCAD (free, open-source)
- Rhino (paid, excellent tessellation control)
- Blender with CAD Sketcher addon (free)
- Original CAD software (SolidWorks, Fusion 360, etc.)
Tessellation settings directly impact triangle count. CAD models can easily generate millions of triangles with high-quality settings, creating files too heavy for web use. For eCommerce, aim for 50,000-500,000 triangles per model. Use coarser tessellation settings, then manually add detail only where visible. Test file size and loading performance—web models must remain lightweight for smooth customer experience.
-
Export as mesh - Save as OBJ or STL from the CAD tool
-
Import to Blender - Load the mesh, merge/clean geometry
-
Apply materials & textures - Add PBR materials for realistic appearance
-
Export as GLB - Final format for Viewer Editor
Check this tutorial to learn conversion principles between STEP and GLB
Learn More about 3D assets & configurators
Next Steps
Now that you understand file formats:
- Adding Models - Add your models to the scene
- Model Properties - Configure model settings