@geastack/gea3d 0.1.1 → 0.1.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 CHANGED
@@ -8,17 +8,21 @@ clipping and rasterization in one scene draw per frame.
8
8
  It supports perspective and orthographic cameras, meshes and instancing,
9
9
  lines, points, sprites, fog, blending, raycasting, and optional depth buffering.
10
10
  Lambert, Phong and Standard materials use Lambert lighting rather than full
11
- Three.js material parity. This package does not implement WebGL; the broader
12
- Three.js port used by Skytail is maintained separately in `gea-threejs`.
11
+ Three.js material parity. This package does not implement WebGL; upstream Three.js
12
+ runs natively through WebGL on ANGLE with
13
+ [`@geastack/native-webgl-angle`](https://github.com/geastack/native-webgl-angle).
13
14
 
14
15
  ## Install
15
16
 
16
17
  Install this package in your Gea app or npm workspace:
17
18
 
18
19
  ```sh
19
- npm install @geastack/gea3d @geastack/core
20
+ npm install @geastack/gea3d @geastack/core @geastack/cli
20
21
  ```
21
22
 
23
+ `@geastack/cli` provides the `gea` command and brings the board targets with
24
+ it.
25
+
22
26
  Import the renderer and scene classes through the public package exports:
23
27
 
24
28
  ```ts
@@ -43,17 +47,18 @@ For native firmware, declare the renderer's C++ source in your app's
43
47
  }
44
48
  ```
45
49
 
46
- Run the app through the Gea CLI from your project root, using your registered
47
- board alias and app id:
50
+ Register your board once with `npx gea setup`, which names its alias, then run
51
+ the app through the Gea CLI from your project root:
48
52
 
49
53
  ```sh
50
- npx --no-install gea run --board mosaico --app your-app-id
54
+ npx gea run --board <alias> --app <your-app-id>
51
55
  ```
52
56
 
53
57
  The Lantern, Aviator, Neon and Orbit apps in
54
58
  [geastack/demos](https://github.com/geastack/demos) demonstrate scene setup,
55
59
  responsive panel sizes, input, animation and composition with retained UI.
56
- They depend on this package; no vendored renderer is required.
60
+ They depend on the published `@geastack/gea3d` and name its native source as
61
+ above; no vendored renderer is required.
57
62
 
58
63
  ## Package contents
59
64
 
@@ -74,7 +79,8 @@ npm ci
74
79
  npm run check
75
80
  ```
76
81
 
77
- Edit this repository's sources; the demos consume the published package.
82
+ The demos use the published package, so a change here reaches them through a
83
+ release.
78
84
 
79
85
  ## License
80
86
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geastack/gea3d",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "description": "Typed Three.js-style scene graph and native software 3D renderer for Gea devices",
6
6
  "exports": {