three-video-projection 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -8
- package/package.json +7 -6
package/README.md
CHANGED
|
@@ -10,21 +10,23 @@
|
|
|
10
10
|
|
|
11
11
|
[![NPM Package][npm]][npm-url]
|
|
12
12
|
|
|
13
|
-
基于 `three.js`
|
|
13
|
+
基于 `three.js` 的视频投影工具。仓库包含示例及源码。
|
|
14
14
|
|
|
15
15
|
> 该工具将 `THREE.VideoTexture` 从一个投影相机投影到场景中的目标模型上,支持深度遮挡剔除、边缘羽化、强度与透明度控制等。
|
|
16
16
|
|
|
17
17
|
---
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
## 在线演示
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
点击图片查看在线演示:
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
### 视频融合
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
[](https://hh-hang.github.io/three-video-projection/)
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
### 电影院
|
|
28
|
+
|
|
29
|
+
[](https://hh-hang.github.io/three-video-projection/cinema.html)
|
|
28
30
|
|
|
29
31
|
---
|
|
30
32
|
|
|
@@ -139,5 +141,5 @@ projector.dispose();
|
|
|
139
141
|
|
|
140
142
|
---
|
|
141
143
|
|
|
142
|
-
[npm]: https://img.shields.io/npm/v/
|
|
143
|
-
[npm-url]: https://www.npmjs.com/package/
|
|
144
|
+
[npm]: https://img.shields.io/npm/v/three-video-projection
|
|
145
|
+
[npm-url]: https://www.npmjs.com/package/three-video-projection
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "three-video-projection",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "Projector utility for projecting video textures onto meshes (three.js)",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -8,10 +8,6 @@
|
|
|
8
8
|
"files": [
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
|
-
"repository": {
|
|
12
|
-
"type": "git",
|
|
13
|
-
"url": "git+https://github.com/<your-org>/<repo>.git"
|
|
14
|
-
},
|
|
15
11
|
"keywords": [
|
|
16
12
|
"three",
|
|
17
13
|
"videoProjection",
|
|
@@ -46,5 +42,10 @@
|
|
|
46
42
|
"vite": "^7.3.1",
|
|
47
43
|
"vue": "^3.5.27",
|
|
48
44
|
"vue-router": "^4.6.4"
|
|
49
|
-
}
|
|
45
|
+
},
|
|
46
|
+
"repository": {
|
|
47
|
+
"type": "git",
|
|
48
|
+
"url": "https://github.com/hh-hang/three-video-projection"
|
|
49
|
+
},
|
|
50
|
+
"homepage": "https://hh-hang.github.io/three-video-projection/"
|
|
50
51
|
}
|