Skip to content

Commit 302ad0a

Browse files
Merge pull request #88 from bitbybit-dev/develop
v0.20.6
2 parents 10eaff2 + dba65f7 commit 302ad0a

File tree

183 files changed

+34373
-1974
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

183 files changed

+34373
-1974
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,18 @@ Essential introduction by Matas
1212

1313
## SUPPORT THE MISSION
1414
Best way to support us - [Silver or Gold plan subscription](https://bitbybit.dev/auth/pick-plan)
15-
Buy unique products from our [Crafts shop](https://crafts.bitbybit.dev) all designed with Bitbybit algorithms
1615
Check out [3D Bits app for Shopify](https://apps.shopify.com/3d-bits-1) also used in our Crafts shop
16+
Buy unique products from our [Crafts shop](https://crafts.bitbybit.dev) all designed with Bitbybit algorithms
1717

1818
Your contributions allow this project to exist.
1919

20-
## HISTORY
21-
22-
This library was previously UI dependant and was heaviy intertwined with BabylonJS game engine. It is now decoupled from our editors to ensure protection of our corporate identity and cloud services. BabylonJS layer is now also separated into special package @bitbybit-dev/babylonjs - this will cause the breaking change in v0.18.0. If you are using the version prior to v0.18.0 and depend on the @bitbybit-dev/core package, please consider updating to use @bitbybit-dev/babylonjs NPM package. @bitbybit-dev/core is now game engine independent layer.
23-
20+
## Important Topics
21+
[Getting Started With Bitbybit Platform](https://learn.bitbybit.dev/learn/getting-started/overview)
22+
[Integrate With ThreeJS](https://learn.bitbybit.dev/learn/npm-packages/threejs)
23+
[Integrate With BabylonJS](https://learn.bitbybit.dev/learn/npm-packages/babylonjs)
24+
[Bitbybit Runners](https://learn.bitbybit.dev/learn/runners)
25+
[Bitbybit Blog](https://learn.bitbybit.dev/blog)
26+
[3D Bits App For Shopify](https://learn.bitbybit.dev/learn/3d-bits/intro)
2427

2528
## Github
2629
https://github.com/bitbybit-dev/bitbybit

docs/blog/2024-11-08-updated-bitbybit-runners.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ We are serving the Bitbybit Runners from the **JSDelivr CDN**. You can include t
121121
<script src="https://cdn.jsdelivr.net/gh/bitbybit-dev/bitbybit-assets@<version-number-of-bitbybit>/runner/bitbybit-runner-lite-threejs.js"></script>
122122
```
123123

124-
**Note:** You should replace `<version-number-of-bitbybit>` with an actual version number (e.g., `0.20.5`). 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.6`). You can find all the official versions of Bitbybit.dev here:
125125
➡️ **[Bitbybit.dev GitHub Releases](https://github.com/bitbybit-dev/bitbybit/releases)**
126126

127127
### Examples of the Runners

docs/docusaurus.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ const config: Config = {
1414
// Set the /<baseUrl>/ pathname under which your site is served
1515
// For GitHub pages deployment, it is often '/<projectName>/'
1616
baseUrl: "/",
17-
17+
trailingSlash: false,
18+
1819
// GitHub pages deployment config.
1920
// If you aren't using GitHub pages, you don't need these.
2021
organizationName: "Bit by bit developers", // Usually your GitHub org/user name.

docs/learn/3d-bits/3d-assets/preparing-gltf.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,20 @@ Not all CAD or BRep editors can export directly to GLTF. In many cases, you’ll
2727

2828
When you do triangulate, you’ll usually be able to choose how dense the mesh will be. This is a crucial decision: fewer triangles mean the GPU can render your model much faster. The goal is to create low-poly models that still look good. Don’t expect a browser to smoothly handle millions of triangles - especially on older devices. Even high-end GPUs will struggle if you push them too far. Designing a configurator is a lot like designing a video game: performance matters just as much as visual quality. We go deeper into this mindset in [Configurators Are Games](./configurators-are-games.md).
2929

30+
## Video Tutorial: STEP TO GLTF
31+
32+
<div class="responsive-video-container">
33+
<iframe
34+
width="560"
35+
height="315"
36+
src="https://www.youtube.com/embed/7mqd2FLlpcU"
37+
title="From STEP to GLTF - Convert PRO CAD 3D Models For 3D Bits Shopify App"
38+
frameborder="0"
39+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
40+
allowfullscreen>
41+
</iframe>
42+
</div>
43+
3044
# Editing Triangulated Models
3145

3246
Once you have a triangulated model, you’ll probably need to make adjustments. We recommend Blender for this. It’s free, open source, and maintained by some of the most experienced 3D professionals in the industry. Of course, it’s not the only option - commercial tools like 3ds Max can also handle triangulated models perfectly well.

docs/learn/3d-bits/intro.md renamed to docs/learn/3d-bits/intro.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ tags: [shopify, 3d-bits]
1616
* Visit our **[Demo Store](https://bitbybit-dev-3d-configurators.myshopify.com)**
1717
* Use password: `3d-bits-demo`
1818

19+
<div style={{textAlign: 'left', margin: '2rem 0'}}>
20+
<h2>
21+
<a href="https://apps.shopify.com/3d-bits-1" target="_blank">
22+
Install 3D Bits from Shopify App Store
23+
</a>
24+
</h2>
25+
</div>
26+
1927
## Why Use 3D Bits?
2028

2129
Traditional online stores use static images, but modern shoppers want to see products from every angle and try out different options. 3D Bits makes this possible by letting you build interactive 3D experiences for your products—no advanced coding required.
@@ -24,7 +32,7 @@ Traditional online stores use static images, but modern shoppers want to see pro
2432
<iframe
2533
width="560"
2634
height="315"
27-
src="https://www.youtube.com/embed/UwIEYWxlGQ0?si=ZtLRjdJ8t2DXjdjl"
35+
src="https://www.youtube.com/embed/y868HEQ8-lQ"
2836
title="3D Bits App For Shopify Demo"
2937
frameborder="0"
3038
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"

docs/learn/3d-bits/theme-app-extensions/bitbybit-viewer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Here's a glimpse of how the Viewer Editor looks within the "3D Bits" app environ
105105

106106
While our Viewer Editor is the recommended way to create and manage the Scene Config JSON, you can also edit the JSON directly using any text editor. For a better editing experience with features like syntax highlighting and autocompletion (intellisense), we provide a JSON schema.
107107

108-
* **JSON Schema:** You can find the schema [here](https://ik.imagekit.io/bitbybit/app/assets/start/shopify/viewer-scene-config-schema-0-20-2.json). (Note: This schema link points to version `0.20.2`. The schema may be updated in the future, so ensure you refer to the latest version compatible with your "3D Bits" app version.)
108+
* **JSON Schema:** You can find the schema [here](https://ik.imagekit.io/bitbybit/app/assets/start/shopify/viewer-scene-config-schema-0-20-5.json). (Note: This schema link points to version `0.20.6`. The schema may be updated in the future, so ensure you refer to the latest version compatible with your "3D Bits" app version.)
109109
Many modern code editors (like VS Code) can use this schema to provide validation and autocompletion as you edit the JSON.
110110

111111
## Video Tutorial: BITBYBIT VIEWER Block Setup
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
sidebar_position: 3
3+
title: "Change Materials, Colours and Textures of 3D Shopify Products"
4+
sidebar_label: Changing Materials
5+
description: Change materials, colors, and textures of your 3D products on Shopify with 3D Bits app - in 41 minutes you’ll learn everything you need to know!
6+
tags: [shopify, 3d-bits]
7+
---
8+
9+
# Change Materials, Colours, Textures of 3D Shopify Products
10+
11+
## Blender to 3D Bits Workflow Explained
12+
13+
In this step-by-step tutorial, you’ll discover how to create, assign, and save material variants in Blender, then export them with the help of the [KHR_materials_variants](https://www.khronos.org/blog/streamlining-3d-commerce-with-material-variant-support-in-gltf-assets) extension into a GLTF file using the official [Blender](https://www.blender.org/) add-on from the [Khronos Group](https://www.khronos.org/3dcommerce/). From there, we’ll guide you through the process of importing these material variants directly into the 3D Bits app for Shopify and mapping them to your product page inputs for a seamless shopping experience.
14+
15+
## Video Tutorial
16+
17+
<div class="responsive-video-container">
18+
<iframe
19+
width="560"
20+
height="315"
21+
src="https://www.youtube.com/embed/s00GpQp5Qmg"
22+
title="Change Materials, Colors, And Textures Of 3D Products On Shopify With 3D Bits App"
23+
frameborder="0"
24+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
25+
allowfullscreen>
26+
</iframe>
27+
</div>
28+
29+
With guidance from Matas Ubarevicius, you’ll also learn how to:
30+
31+
With guidance from Matas Ubarevicius, you’ll also learn how to:
32+
33+
- Set up your Shopify product & template using the BITBYBIT VIEWER theme app extension block.
34+
- Dynamically connect 3D Bits metafields with extension block settings inside your Shopify template.
35+
36+
And that’s just the start! The most exciting part is using the 3D Bits Viewer Editor to fully customize your 3D product experience. You’ll learn how to:
37+
38+
- Adjust GLTF asset scale for perfect display.
39+
- Assign material variants to Shopify variant values.
40+
- Change camera positions for the best viewing angles.
41+
- Apply skyboxes, backgrounds, and loading indicators.
42+
- Add dynamic lighting with shadows for realistic effects.
43+
- Save and copy your scene configuration directly to the Shopify product “3D Bits Scene Config” metafield.
44+
- Even add constant rotation to make your products stand out.
45+
46+
By the end of this tutorial, you’ll have everything you need to create engaging, interactive 3D product pages that help your customers explore, customize, and fall in love with your products before they buy.
47+
48+
Car 3D Model Credits: (c) 2015, Khronos Group, Khronos logo. (c) 2017, Khronos Group, 3D Commerce logo. Asset is CCBY 4.0, created by Eric Chadwick of Darmstadt Graphics Group GmbH, 2024. Original asset is public domain "FREE Concept Car 004" by [Unity Fan](https://sketchfab.com/3d-models/free-concept-car-004-public-domain-cc0-4cba124633eb494eadc3bb0c4660ad7e). Download and details here on [GitHub](https://github.com/KhronosGroup/glTF-Sample-Assets/tree/main/Models/CarConcept)

docs/learn/3d-bits/tutorials/preview-3d-scans.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
sidebar_position: 8
33
title: "Tutorial: Using BITBYBIT PREVIEW with a 3D Scanned Product"
4-
sidebar_label: PREVIEW with 3D Scan
4+
sidebar_label: Preview with 3D Scan
55
description: Learn how to use the BITBYBIT PREVIEW block in Shopify's "3D Bits" app to embed a Bitbybit project featuring a 3D scanned product onto your e-commerce store.
66
slug: /shopify/tutorials/preview-3d-scan # Or adjust as needed
77
tags: [shopify, 3d-bits]

docs/learn/3d-bits/tutorials/product-customizable-text.mdx

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)