瀏覽代碼

Prepare for release

customisations
alemart 3 年之前
父節點
當前提交
5f5ed4dcfb
共有 5 個檔案被更改,包括 52 行新增36 行删除
  1. 6
    0
      CHANGES.md
  2. 3
    5
      README.md
  3. 43
    31
      docs/demos.md
  4. 二進制
      docs/img/demo-webgl.gif
  5. 二進制
      docs/img/demo-webgl.jpg

+ 6
- 0
CHANGES.md 查看文件

1
 # Release notes
1
 # Release notes
2
 
2
 
3
+## 0.1.1 - April 28th, 2022
4
+
5
+* Include a WebAR demo with a QR code on the website
6
+* Update the computation of the modelViewMatrix
7
+* Increase the distance of the far plane (viewing frustum)
8
+
3
 ## 0.1.0 - April 21st, 2022
9
 ## 0.1.0 - April 21st, 2022
4
 
10
 
5
 * Initial release
11
 * Initial release

+ 3
- 5
README.md 查看文件

4
 
4
 
5
 Get started at <https://alemart.github.io/martins-js/>
5
 Get started at <https://alemart.github.io/martins-js/>
6
 
6
 
7
-![WebAR demo](docs/img/demo-cool3.gif)
8
-
9
 MARTINS.js is [dual licensed](#author). It is currently in beta.
7
 MARTINS.js is [dual licensed](#author). It is currently in beta.
10
 
8
 
11
 ## Features
9
 ## Features
24
 4. Scan the cartoon below.
22
 4. Scan the cartoon below.
25
 5. Enjoy! :wink:
23
 5. Enjoy! :wink:
26
 
24
 
27
-> &nbsp;
25
+> ---
28
 > **Guidelines for WebAR:**
26
 > **Guidelines for WebAR:**
29
 > - WebGL2 and WebAssembly are required. Use a [compatible browser](#browser-compatibility).
27
 > - WebGL2 and WebAssembly are required. Use a [compatible browser](#browser-compatibility).
30
 > - Don't move the camera too quickly - it produces motion blur.
28
 > - Don't move the camera too quickly - it produces motion blur.
31
 > - The physical environment should be properly illuminated.
29
 > - The physical environment should be properly illuminated.
32
 > - Avoid low-quality cameras (cameras of common smartphones are OK).
30
 > - Avoid low-quality cameras (cameras of common smartphones are OK).
33
-> &nbsp;
31
+> ---
34
 
32
 
35
-| Cartoon | QR code |
33
+| Cartoon | &nbsp; |
36
 | - | - |
34
 | - | - |
37
 | [![Reference Image](docs/demo/my-reference-image.webp)](docs/demo/my-reference-image.webp) | [![QR code](docs/demo/qr-code.png)](https://alemart.github.io/martins-js/demo/) |
35
 | [![Reference Image](docs/demo/my-reference-image.webp)](docs/demo/my-reference-image.webp) | [![QR code](docs/demo/qr-code.png)](https://alemart.github.io/martins-js/demo/) |
38
 
36
 

+ 43
- 31
docs/demos.md 查看文件

8
     flex-direction: row;
8
     flex-direction: row;
9
     flex-wrap: wrap;
9
     flex-wrap: wrap;
10
     align-items: flex-end;
10
     align-items: flex-end;
11
-    justify-content: space-between;
11
+    justify-content: space-evenly;
12
 }
12
 }
13
 
13
 
14
 .gallery-item {
14
 .gallery-item {
22
 
22
 
23
 @media screen and (min-width: 600px) {
23
 @media screen and (min-width: 600px) {
24
     .gallery-item {
24
     .gallery-item {
25
-        flex-basis: 40%;
26
-    }
27
-
28
-    .gallery-item-3 {
29
-        flex-basis: 30% !important;
25
+        flex-basis: 30%;
30
     }
26
     }
31
 }
27
 }
32
 
28
 
44
 
40
 
45
 # WebAR demos
41
 # WebAR demos
46
 
42
 
47
-Welcome to my demo gallery! Here you'll find some cool examples of what you can do with MARTINS.js. Feel free to adapt my demos and also to study my code. My demos are available for a fee, which helps my work.
43
+Welcome to my demo gallery! Here you'll find some cool examples of what you can do with MARTINS.js. Feel free to adapt my demos and also to study my code.
44
+
45
+!!! info "Derivative works"
46
+
47
+    The Free Edition of MARTINS.js is included with my demos. Before creating derivative works of my demos, make sure to [pick the right edition for you](./download.md){ ._blank }.
48
+
49
+## Free demos
50
+
51
+The following free demos will help you get started:
52
+
53
+<div class="gallery-grid" markdown>
54
+<div class="gallery-item" markdown>
55
+<a href="https://ko-fi.com/s/058542943d" rel="external" target="_blank">
56
+
57
+![](./img/demo-hello.webp)
58
+
59
+**Hello, world!**
60
+
61
+</a>
62
+</div>
63
+<div class="gallery-item" markdown>
64
+<a href="https://ko-fi.com/s/25f4038f8b" rel="external" target="_blank">
65
+
66
+
67
+![](./img/demo-webgl.jpg)
68
+
69
+**Render with WebGL (3D)**
70
+
71
+</a>
72
+</div>
73
+</div>
48
 
74
 
49
-The Free Edition of MARTINS.js is included with my demos. The Professional Edition is available [separately](./download.md){ ._blank }. Before creating derivative works of my demos, make sure to [pick the right edition](./download.md){ ._blank } for you. If you have questions, feel free to [reach out](./contact.md){ ._blank }.
50
 
75
 
51
-## Glue codes
52
 
76
 
53
-MARTINS.js scans the physical environment, but it doesn't render virtual content. You need a 3D rendering technology for that. Glue codes link MARTINS.js to different 3D rendering technologies. My glue codes are compatible with both the Free and the Professional Edition of MARTINS.js.
77
+## Glue codes
54
 
78
 
55
-AFRAME is the easiest choice for non-coders. If you're a coder, all choices are good. A basic demo is included with all of them.
79
+MARTINS.js scans the physical environment, but it doesn't render virtual content. Third-party 3D rendering technologies can help you with that. Glue codes link MARTINS.js to different 3D rendering technologies. My glue codes are compatible with both the Free and the Professional Edition of MARTINS.js. A basic demo is included with all of them.
56
 
80
 
57
 <div class="gallery-grid" markdown>
81
 <div class="gallery-grid" markdown>
58
-<div class="gallery-item gallery-item-3" markdown>
82
+<div class="gallery-item" markdown>
59
 <a href="https://ko-fi.com/s/24523f7548" rel="external" target="_blank">
83
 <a href="https://ko-fi.com/s/24523f7548" rel="external" target="_blank">
60
 
84
 
61
 ![](./img/logo-aframe.png "A-Frame logo by Mozilla")
85
 ![](./img/logo-aframe.png "A-Frame logo by Mozilla")
64
 
88
 
65
 </a>
89
 </a>
66
 </div>
90
 </div>
67
-<div class="gallery-item gallery-item-3" markdown>
91
+<div class="gallery-item" markdown>
68
 <a href="https://ko-fi.com/s/eea4077938" rel="external" target="_blank">
92
 <a href="https://ko-fi.com/s/eea4077938" rel="external" target="_blank">
69
 
93
 
70
 
94
 
74
 
98
 
75
 </a>
99
 </a>
76
 </div>
100
 </div>
77
-<div class="gallery-item gallery-item-3" markdown>
101
+<div class="gallery-item" markdown>
78
 
102
 
79
 ![](./img/logo-babylonjs.png "Babylon.js logo by David Catuhe")
103
 ![](./img/logo-babylonjs.png "Babylon.js logo by David Catuhe")
80
 
104
 
83
 </div>
107
 </div>
84
 </div>
108
 </div>
85
 
109
 
110
+!!! tip Tip
86
 
111
 
112
+    AFRAME is the easiest choice for non-coders. If you're a coder, all choices are good.
87
 
113
 
88
-## For newbies
89
-
90
-These simple demos help you get started with WebAR. They are great learning material!
91
-
92
-<div class="gallery-grid" markdown>
93
-<div class="gallery-item" markdown>
94
-<a href="https://ko-fi.com/s/058542943d" rel="external" target="_blank">
95
 
114
 
96
-![](./img/demo-hello.webp)
115
+## Fun & games
97
 
116
 
98
-**Hello world with MARTINS.js**
117
+WebAR can be a lot of fun. More demos coming soon!
99
 
118
 
100
-</a>
101
-</div>
119
+<div class="gallery-grid" markdown>
102
 <div class="gallery-item" markdown>
120
 <div class="gallery-item" markdown>
103
 <a href="https://ko-fi.com/s/1d3c7e401c" rel="external" target="_blank">
121
 <a href="https://ko-fi.com/s/1d3c7e401c" rel="external" target="_blank">
104
 
122
 
113
 
131
 
114
 
132
 
115
 
133
 
116
-## Fun & games
117
-
118
-Soon!
119
-
120
-
121
-
122
 ## Need something else?
134
 ## Need something else?
123
 
135
 
124
 You need a WebAR experience tailored for you, but you are unable to do it yourself. Is that your situation? Feel free to make a request!
136
 You need a WebAR experience tailored for you, but you are unable to do it yourself. Is that your situation? Feel free to make a request!

二進制
docs/img/demo-webgl.gif 查看文件


二進制
docs/img/demo-webgl.jpg 查看文件


Loading…
取消
儲存