You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/blog/2024-07-29-3d-bits-app-for-shopify.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,7 @@ The app essentially provides a window into the 3D world, seamlessly integrated.
119
119
120
120
We offer a wealth of tutorials and documentation that teach you everything from computational design principles on Bitbybit.dev to setting up and optimizing your 3D products with the 3D Bits Shopify app.
121
121
122
-
➡️ **[Visit the Getting Started Guide For 3D Bits App](/learn/3d-bits/tutorials/set-up)**
122
+
➡️ **[Visit the Getting Started Guide For 3D Bits App](/learn/3d-bits/tutorials/videos-tutorials/set-up)**
123
123
124
124

**Note:** You should replace `<version-number-of-bitbybit>` with an actual version number (e.g., `0.20.11`). You can find all the official versions of Bitbybit.dev here:
124
+
**Note:** You should replace `<version-number-of-bitbybit>` with an actual version number (e.g., `0.20.12`). You can find all the official versions of Bitbybit.dev here:
Copy file name to clipboardExpand all lines: docs/learn/3d-bits/3d-assets/intro.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,8 @@ For 3D scans, **Splat files** offer an alternative to traditional 3D models. The
25
25
* Use lightweight, lower-poly models that abstract production-grade CAD designs.
26
26
* Avoid uploading detailed production models directly.
27
27
28
+
**Important:** Read the complete [Your Assets & Security](../tutorials/getting-started/your-assets.md) guide to fully understand asset security implications, intellectual property considerations, and best practices before uploading any 3D models.
29
+
28
30
### Rights and Permissions
29
31
Ensure you have the rights to use all parts of your 3D models, including meshes, textures, and other assets. The **3D Bits** app renders the assets you provide, but you are responsible for their legality and compliance.
The first step in preparing 3D assets for your configurator is having 3D models of your products.
12
+
The first step in preparing 3D assets for your configurator is having 3D models of your products. Before you begin, make sure you understand the security implications and public accessibility of 3D assets by reading [Your Assets & Security](../tutorials/getting-started/your-assets.md).
13
13
14
-
If your brand already designs and manufactures physical goods, there’s a good chance you already have detailed, good-looking 3D models on hand. Resellers can often get these from manufacturers - many keep accurate CAD files of their products for engineering or marketing purposes. Not all manufacturers will share them, though, so sometimes you’ll need to commission a 3D artist or designer to create them from scratch in professional CAD software. Some AI tools also exist, which can create 3D assets from 2D images, but in many cases they are not optimised for speed or quality, this may however change in the near future.
14
+
If your brand already designs and manufactures physical goods, there's a good chance you already have detailed, good-looking 3D models on hand. Resellers can often get these from manufacturers - many keep accurate CAD files of their products for engineering or marketing purposes. Not all manufacturers will share them, though, so sometimes you'll need to commission a 3D artist or designer to create them from scratch in professional CAD software.
15
15
16
16

17
17
@@ -88,7 +88,28 @@ The good news is that GLTF files compress very well. You should always export to
For even more options, try the free [Khronos GLTF Compressor](https://github.khronos.org/glTF-Compressor-Release/) and enable **Draco compression**. 3D Bits can decompress Draco-compressed files without issue. This tool can also compress textures and save them in formats like KTX.
91
+
## Shopify's glTF Compressor
92
+
93
+
If you're hosting on Shopify's CDN, we strongly recommend using [Shopify's glTF Compressor](https://gltf-compressor.com/). This open-source tool was built specifically with Shopify's infrastructure in mind and helps ensure your files will be compatible with their upload process.
94
+
95
+
Here's the issue: when you upload a GLTF file to Shopify, their system processes it before storing it on the CDN. Some compression algorithms and GLTF standards that work perfectly fine elsewhere can cause Shopify's upload process to fail. Files that can't be processed won't be accepted. In some cases, incompatible files might still work in 3D Bits if you host them elsewhere, but sometimes they'll break in the app as well.
96
+
97
+
Shopify's compressor is designed to help you answer one critical question: **How much can I compress the textures before the model starts looking noticeably bad?**
98
+
99
+
The tool exposes all textures in your GLTF file and lets you adjust:
100
+
-**Image format** (JPEG, PNG, WebP)
101
+
-**Resolution**
102
+
-**Quality**
103
+
104
+
All changes happen in real time, so you can see the effects immediately. You can quickly compare the original model with the compressed version by holding and releasing the **C** key on your keyboard. This makes it easy to find the sweet spot between file size and visual quality.
105
+
106
+
Additionally, the tool offers mesh and animation optimization options that can be applied on export.
107
+
108
+
If you're certain your file is valid but Shopify won't accept it during upload, you'll likely need to find your own hosting provider or set up your own CDN. But for most users, sticking with Shopify's compressor will save a lot of headaches.
109
+
110
+
## Alternative: Khronos glTF Compressor
111
+
112
+
For even more compression options or if you're hosting outside Shopify, try the free [Khronos GLTF Compressor](https://github.khronos.org/glTF-Compressor-Release/) and enable **Draco compression**. 3D Bits can decompress Draco-compressed files without issue. This tool can also compress textures and save them in formats like KTX.
92
113
93
114
Khronos compressor tool also will show you the split screen view of original vs compressed file with a nice separator line - it makes it super easy to compare before and after quality of the model.
94
115
@@ -101,7 +122,7 @@ Khronos compressor tool also will show you the split screen view of original vs
101
122
102
123
Once your file is ready, upload it to Shopify. Go to **Content → Files**, drag and drop your GLTF or GLB, and copy its URL if you want to use it in 3D Bits. Using Shopify’s CDN ensures your file is cached on servers close to your customers. If someone in Germany loads your product page, Shopify will serve the file from a nearby server, cutting down load times.
103
124
104
-
Shopify has a 20 MB file size limit, but that’s rarely an issue with well-optimized assets. If your model is bigger than that, you can split it into multiple files - 3D Bits can load several at once. If you decide to use your own CDN instead, make sure the files are publicly accessible.
125
+
If your model is bigger than what can be uploaded to Shopify, you can split it into multiple files - 3D Bits can load several at once. If you decide to use your own CDN instead, make sure the files are publicly accessible.
105
126
106
127
# Reusing Parts with Instancing
107
128
@@ -116,6 +137,12 @@ GLTF files need to be valid to be properly loaded into any 3D software, 3D Bits
116
137

117
138
*BabylonJS Sandbox can be used to test loading your compressed 3D assets, inspect contents.*
118
139
140
+
:::caution Mobile Phone Considerations
141
+
While well-prepared 3D GLTF files run fine on most mobile phones, it's important to take precautions. When preparing 3D models and including them in your webshops, make sure you test the page on the most popular mobile devices too. Large asset files combined with high-resolution shadows may crash mobile phone browsers. Safari browsers on iPhone are the most susceptible to crashes when Random Access Memory (RAM) limits are exceeded. Apple has set a low threshold for websites running on iPhone, and whenever that memory limit is hit, the website will experience something called an "unexpected reload". If you're not careful with your assets, skybox textures, or shadow resolutions, you run the risk of experiencing this error. Desktop browsers, iPads, and Android phones will probably not experience these issues, but we advise you to make the experience lightweight for everyone.
142
+
143
+
If you're using BITBYBIT VIEWER with Viewer Editor, the 3D Bits app on Shopify also takes precautions on iOS Safari browsers. Whenever we detect that your models exceed a 70 MB limit, we stop the scene from rendering and provide an explanation of why this happens (this is subject to change in the future). This safeguard exists because loading extremely large assets (100+ MB) on high-traffic pages like homepages without proper testing can crash the browsing experience for iPhone users, potentially affecting sales and customer experience. To prevent such scenarios, we've implemented automatic size checks that disable rendering of oversized assets in iPhone Safari browsers until they're properly optimized.
144
+
:::
145
+
119
146
# Wrapping Up
120
147
121
148
Preparing 3D assets for the web is a balancing act between fidelity, file size, and performance. You might start with a pristine engineering model, but to make it run smoothly in a browser, you’ll need to simplify geometry, optimize textures, merge meshes, and compress files.
Copy file name to clipboardExpand all lines: docs/learn/3d-bits/faq.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,8 +51,8 @@ The **BITBYBIT VIEWER** block (used within the Viewer Editor) lets you match sta
51
51
As technical founders, our initial inclination was to build in complex parametric logic for everything. However, we quickly realized that many merchants simply want to achieve straightforward visual changes based on standard Shopify variants – like showing the blue chair when "Blue" is selected. And that's perfectly fine and often all that's needed! 3D Bits handles this simple variant swapping effectively.
52
52
</Admonition>
53
53
54
-
- Have GLTF files ready? Check this tutorial: [No-Code GLTF Configurators with BITBYBIT VIEWER Editor on Shopify](/learn/3d-bits/tutorials/viewer-no-code-gltf-configurators)
55
-
- Want to use 3D scans (Gaussian splatting)? [No-Code Gaussian Splat Configurators with BITBYBIT VIEWER Editor on Shopify](/learn/3d-bits/tutorials/viewer-no-code-3d-scan-configurators)
54
+
- Have GLTF files ready? Check this tutorial: [No-Code GLTF Configurators with BITBYBIT VIEWER Editor on Shopify](/learn/3d-bits/tutorials/videos-tutorials/viewer-no-code-gltf-configurators)
55
+
- Want to use 3D scans (Gaussian splatting)? [No-Code Gaussian Splat Configurators with BITBYBIT VIEWER Editor on Shopify](/learn/3d-bits/tutorials/videos-tutorials/viewer-no-code-3d-scan-configurators)
56
56
57
57
For more complex configurators (e.g., where parts change dynamically beyond pre-set variants, or intricate rules are needed), you'd likely need to explore options involving some level of scripting, as discussed in later questions.
0 commit comments