@d5techs/3dgs-lib 1.0.0 → 1.0.1

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.
Files changed (2) hide show
  1. package/README.md +13 -14
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # WebGPU 3D Gaussian Splatting 渲染引擎
1
+ # @d5techs/3dgs-lib
2
2
 
3
- 一个可扩展的 WebGPU 3D 渲染引擎,核心特性是支持 **3D Gaussian Splatting (3DGS)** 技术。
3
+ 可扩展的 WebGPU 3D 渲染引擎,核心特性是支持 **3D Gaussian Splatting (3DGS)** 技术。
4
4
 
5
5
  ![TypeScript](https://img.shields.io/badge/TypeScript-5.3-blue?logo=typescript)
6
6
  ![WebGPU](https://img.shields.io/badge/WebGPU-Supported-green)
@@ -56,31 +56,30 @@
56
56
  ### 安装
57
57
 
58
58
  ```bash
59
- yarn install
59
+ # 使用 yarn
60
+ yarn add @d5techs/3dgs-lib
61
+
62
+ # 或使用 npm
63
+ npm install @d5techs/3dgs-lib
60
64
  ```
61
65
 
62
- ### 启动开发服务器
66
+ ### 开发
63
67
 
64
68
  ```bash
69
+ # 启动开发服务器
65
70
  yarn dev
66
- ```
67
71
 
68
- 访问 `https://localhost:3000` 查看 Demo。
69
-
70
- ### 构建
72
+ # 构建库
73
+ yarn build:lib
71
74
 
72
- ```bash
73
75
  # 构建 Demo
74
76
  yarn build:demo
75
-
76
- # 构建库(类型检查)
77
- yarn build:lib
78
77
  ```
79
78
 
80
79
  ## 基本用法
81
80
 
82
81
  ```typescript
83
- import { App } from 'webgpu-3dgs';
82
+ import { App } from '@d5techs/3dgs-lib';
84
83
 
85
84
  // 创建应用
86
85
  const canvas = document.getElementById('canvas') as HTMLCanvasElement;
@@ -108,7 +107,7 @@ app.start();
108
107
  ## 项目结构
109
108
 
110
109
  ```
111
- webgpu-3dgs/
110
+ @d5techs/3dgs-lib/
112
111
  ├── src/ # 引擎源代码
113
112
  │ ├── index.ts # 库入口
114
113
  │ ├── App.ts # 统一调度入口
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d5techs/3dgs-lib",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "可扩展的 WebGPU 3D 渲染引擎",
5
5
  "type": "module",
6
6
  "main": "./dist/3dgs-lib.cjs",