@flyfish-dev/dwf-viewer 0.6.0 → 0.6.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.
- package/CHANGELOG.md +6 -0
- package/README.md +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.6.1
|
|
4
|
+
|
|
5
|
+
- Changed the public demo default sample to `Blocks and Tables · Binary W2D DWF` for a faster and clearer first load.
|
|
6
|
+
- Kept Autodesk Floor Plans as an optional XPS WebGL validation sample instead of loading the large DWFx file by default.
|
|
7
|
+
- Updated demo asset versioning to `dist-v0.6.1`.
|
|
8
|
+
|
|
3
9
|
## 0.6.0
|
|
4
10
|
|
|
5
11
|
- Added WebGL-accelerated XPS/DWFx 2D vector rendering through `WebGlXpsBackend`.
|
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ Pure frontend DWF/DWFx CAD viewer for browsers. It parses DWF/DWFx packages loca
|
|
|
11
11
|
| npm | https://www.npmjs.com/package/dwf-viewer |
|
|
12
12
|
| scoped npm | https://www.npmjs.com/package/@flyfish-dev/dwf-viewer |
|
|
13
13
|
|
|
14
|
-
Current version: `0.6.
|
|
14
|
+
Current version: `0.6.1`
|
|
15
15
|
|
|
16
16
|
## Why
|
|
17
17
|
|
|
@@ -84,7 +84,7 @@ cp node_modules/@flyfish-dev/dwf-viewer/public/dwfv-render.wasm public/dwfv-rend
|
|
|
84
84
|
|
|
85
85
|
## WebGL 2D Rendering
|
|
86
86
|
|
|
87
|
-
Version `0.6.
|
|
87
|
+
Version `0.6.x` adds WebGL-accelerated XPS/DWFx 2D vector rendering through `WebGlXpsBackend`, alongside the existing W2D WebGL path.
|
|
88
88
|
|
|
89
89
|
The built-in viewer uses WebGL for Classic W2D and DWFx/XPS vector geometry when `preferWebgl` is enabled. Geometry is uploaded to GPU buffers and cached by page and zoom bucket; pan operations update shader uniforms. Text, images, and XPS image brushes stay on the transparent Canvas overlay so browser font rendering and bitmap decoding remain reliable.
|
|
90
90
|
|
|
@@ -157,9 +157,9 @@ The demo examples are listed in `examples/manifest.json` and are intentionally d
|
|
|
157
157
|
|
|
158
158
|
| Example | Purpose |
|
|
159
159
|
|---|---|
|
|
160
|
-
| `
|
|
160
|
+
| `blocks-and-tables.dwf` | Default demo. Binary WHIP!/W2D ePlot sample with fast loading and a clear first impression |
|
|
161
|
+
| `autodesk-floor-plans.dwfx` | Multi-page architectural DWFx/XPS sample, using A03 First Floor Plan for WebGL XPS, embedded font, and thin-line overview validation |
|
|
161
162
|
| `robot-arm.dwfx` | 3D W3D/HSF eModel with shell meshes, scene tree, materials, textures, and saved views |
|
|
162
|
-
| `blocks-and-tables.dwf` | Binary WHIP!/W2D ePlot sample |
|
|
163
163
|
| `minimal-xps.dwfx` | Small DWFx/XPS FixedPage sample |
|
|
164
164
|
| `text-w2d.dwf` | Textual W2D smoke-test sample |
|
|
165
165
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flyfish-dev/dwf-viewer",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Pure frontend DWF/DWFx CAD viewer with WebGL-accelerated XPS/W2D 2D rendering, W3D/HSF 3D rendering, embedded XPS fonts, and optional WASM fallback.",
|