sceneview-web 3.5.1 → 3.5.2

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/package.json CHANGED
@@ -1,31 +1,14 @@
1
1
  {
2
2
  "name": "sceneview-web",
3
- "version": "3.5.1",
4
- "description": "SceneView for Web \u2014 3D rendering with Filament.js (WebGL2/WASM). Same engine as SceneView Android.",
5
- "main": "build/dist/js/productionExecutable/sceneview-web.js",
6
- "files": [
7
- "build/dist/js/productionExecutable/sceneview-web.js",
8
- "build/dist/js/productionExecutable/sceneview-web.js.map"
9
- ],
10
- "keywords": [
11
- "3d",
12
- "webgl",
13
- "filament",
14
- "sceneview",
15
- "gltf",
16
- "wasm",
17
- "pbr",
18
- "rendering",
19
- "kotlin"
20
- ],
3
+ "version": "3.5.2",
4
+ "description": "SceneView for Web 3D rendering with Filament.js (WebGL2/WASM)",
5
+ "main": "sceneview-web.js",
6
+ "keywords": ["3d", "webgl", "filament", "sceneview", "gltf", "wasm"],
21
7
  "homepage": "https://github.com/sceneview/sceneview",
22
8
  "repository": {
23
9
  "type": "git",
24
10
  "url": "https://github.com/sceneview/sceneview.git",
25
11
  "directory": "sceneview-web"
26
12
  },
27
- "license": "Apache-2.0",
28
- "peerDependencies": {
29
- "filament": ">=1.52.0"
30
- }
13
+ "license": "Apache-2.0"
31
14
  }
package/README.md DELETED
@@ -1,52 +0,0 @@
1
- # SceneView Web
2
-
3
- 3D rendering for browsers using **Filament.js** (WebGL2/WASM) — the same rendering engine as SceneView Android.
4
-
5
- ## Install
6
-
7
- ```bash
8
- npm install @sceneview/sceneview-web
9
- ```
10
-
11
- ## Quick Start
12
-
13
- ```html
14
- <canvas id="scene-canvas" style="width:100%;height:100vh"></canvas>
15
- <script src="sceneview-web.js"></script>
16
- ```
17
-
18
- ```kotlin
19
- SceneView.create(
20
- canvas = document.getElementById("scene-canvas") as HTMLCanvasElement,
21
- configure = {
22
- camera {
23
- eye(0.0, 1.5, 5.0)
24
- target(0.0, 0.0, 0.0)
25
- }
26
- model("models/DamagedHelmet.glb")
27
- },
28
- onReady = { it.startRendering() }
29
- )
30
- ```
31
-
32
- ## Features
33
-
34
- - Same Filament PBR renderer as Android (compiled to WASM)
35
- - glTF 2.0 / GLB model loading
36
- - IBL environment lighting (KTX)
37
- - Camera configuration (FOV, position, exposure)
38
- - Directional, point, and spot lights
39
- - Animation playback
40
- - Kotlin/JS DSL API
41
-
42
- ## Requirements
43
-
44
- - WebGL2 browser (~95% coverage)
45
- - No AR support (requires native sensors)
46
-
47
- ## Part of SceneView
48
-
49
- SceneView is a declarative 3D/AR SDK for Android, iOS, macOS, visionOS, Web, and Desktop.
50
-
51
- - [GitHub](https://github.com/sceneview/sceneview)
52
- - [Documentation](https://sceneview.github.io)