vim-web 0.3.31 → 0.3.34
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 +83 -83
- package/dist/vim-web.css +2029 -0
- package/dist/vim-web.iife.js +72767 -0
- package/dist/vim-web.iife.js.map +1 -0
- package/dist/vim-web.js +72750 -0
- package/dist/vim-web.js.map +1 -0
- package/license.txt +21 -21
- package/package.json +92 -89
package/README.md
CHANGED
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
# VIM WebGL Component
|
|
2
|
-
|
|
3
|
-
### Documentation
|
|
4
|
-
|
|
5
|
-
Explore the full [API Documentation](https://vimaec.github.io/vim-web/api/).
|
|
6
|
-
|
|
7
|
-
### Package
|
|
8
|
-
https://www.npmjs.com/package/vim-web
|
|
9
|
-
|
|
10
|
-
## Live Demo
|
|
11
|
-
|
|
12
|
-
### WebGL Viewer
|
|
13
|
-
- **[Small - Residence](https://vimaec.github.io/vim-web/webgl)**
|
|
14
|
-
- **[Medium - Medical Tower](https://vimaec.github.io/vim-web/webgl?vim=https://vim.azureedge.net/samples/skanska.vim)**
|
|
15
|
-
- **[Small - Stadium](https://vimaec.github.io/vim-web/webgl?vim=https://vim.azureedge.net/samples/stadium.vim)**
|
|
16
|
-
|
|
17
|
-
### Ultra Viewer
|
|
18
|
-
- **[Small - Residence](https://vimaec.github.io/vim-web/ultra)**
|
|
19
|
-
- **[Medium - Medical Tower](https://vimaec.github.io/vim-web/ultra?vim=https://vim.azureedge.net/samples/skanska.vim)**
|
|
20
|
-
- **[Small - Stadium](https://vimaec.github.io/vim-web/ultra?vim=https://vim.azureedge.net/samples/stadium.vim)**
|
|
21
|
-
|
|
22
|
-
Find detailed camera controls here: [Camera Controls](https://docs.vimaec.com/docs/vim-cloud/webgl-navigation-and-controls-guide).
|
|
23
|
-
|
|
24
|
-
## Overview
|
|
25
|
-
|
|
26
|
-
The **VIM-Web** repository consists of four primary components, divided into two layers:
|
|
27
|
-
|
|
28
|
-
### Core Viewers
|
|
29
|
-
- **WebGL Viewer:** A WebGL-based viewer for the VIM format. Includes features like outlines, ghosting, and sectioning, but without UI components.
|
|
30
|
-
- **Ultra Viewer:** A high-performance viewer for the VIM Ultra Render Server, optimized for scale and speed.
|
|
31
|
-
|
|
32
|
-
### React Viewers
|
|
33
|
-
- **WebGL Component:** A React-based wrapper for the WebGL viewer, providing interactive UI elements and a BIM explorer.
|
|
34
|
-
- **Ultra Component:** A React-based wrapper for the Ultra viewer, featuring a UI for real-time interactions.
|
|
35
|
-
|
|
36
|
-
## VIM Format
|
|
37
|
-
|
|
38
|
-
The **VIM** file format is a high-performance 3D scene format that supports rich BIM data. It can also be extended to accommodate other relational and non-relational datasets. Unlike **IFC**, the VIM format is pre-tessellated, allowing for rapid loading and rendering.
|
|
39
|
-
|
|
40
|
-
Learn more about the VIM format here: [VIM GitHub Repository](https://github.com/vimaec/vim).
|
|
41
|
-
|
|
42
|
-
### Built With
|
|
43
|
-
- [VIM WebGL Viewer](https://github.com/vimaec/vim-webgl-viewer)
|
|
44
|
-
- [React.js](https://reactjs.org/)
|
|
45
|
-
|
|
46
|
-
## Getting Started
|
|
47
|
-
|
|
48
|
-
Follow these steps to get started with the project:
|
|
49
|
-
|
|
50
|
-
1. Clone the repository.
|
|
51
|
-
2. Open the project in **VS Code**.
|
|
52
|
-
3. Install the dependencies: `npm install`.
|
|
53
|
-
4. Start the development server: `npm run dev`.
|
|
54
|
-
|
|
55
|
-
> **Note:** Ensure you have a recent version of **Node.js** installed, as required by Vite.
|
|
56
|
-
|
|
57
|
-
## Repository Organization
|
|
58
|
-
|
|
59
|
-
- **`./docs`:** Root folder for GitHub Pages, built using the `build:website` script.
|
|
60
|
-
- **`./dist`:** Contains the built package for npm, created with the `build:libs` script.
|
|
61
|
-
- **`./src/pages`:** Source code for the demo pages published on GitHub Pages.
|
|
62
|
-
- **`./src/vim-web`:** Source code for building and publishing the vim-web npm package.
|
|
63
|
-
- **`./src/core-viewers/webgl`:** Source code for the WebGL core viewer. Based on [vim-webgl-viewer](https://github.com/vimaec/vim-webgl-viewer).
|
|
64
|
-
- **`./src/core-viewers/ultra`:** Source code for the Ultra core viewer.
|
|
65
|
-
- **`./src/react-viewers/webgl`:** Source code for the WebGL React component. Based on [vim-webgl-component](https://github.com/vimaec/vim-webgl-component).
|
|
66
|
-
- **`./src/react-viewers/ultra`:** Source code for the Ultra React component.
|
|
67
|
-
|
|
68
|
-
## License
|
|
69
|
-
|
|
70
|
-
Distributed under the **MIT License**. See `LICENSE.txt` for more details.
|
|
71
|
-
|
|
72
|
-
## Contact
|
|
73
|
-
|
|
74
|
-
- **Simon Roberge** - [simon.roberge@vimaec.com](mailto:simon.roberge@vimaec.com)
|
|
75
|
-
- **Martin Ashton** - [martin.ashton@vimaec.com](mailto:martin.ashton@vimaec.com)
|
|
76
|
-
|
|
77
|
-
## Acknowledgments
|
|
78
|
-
|
|
79
|
-
Special thanks to these packages and more:
|
|
80
|
-
- [react-complex-tree](https://github.com/lukasbach/react-complex-tree)
|
|
81
|
-
- [re-resizable](https://github.com/bokuweb/re-resizable)
|
|
82
|
-
- [react-tooltip](https://github.com/ReactTooltip/react-tooltip)
|
|
83
|
-
- [Strongly Typed Events](https://github.com/KeesCBakker/Strongly-Typed-Events-for-TypeScript#readme)
|
|
1
|
+
# VIM WebGL Component
|
|
2
|
+
|
|
3
|
+
### Documentation
|
|
4
|
+
|
|
5
|
+
Explore the full [API Documentation](https://vimaec.github.io/vim-web/api/).
|
|
6
|
+
|
|
7
|
+
### Package
|
|
8
|
+
https://www.npmjs.com/package/vim-web
|
|
9
|
+
|
|
10
|
+
## Live Demo
|
|
11
|
+
|
|
12
|
+
### WebGL Viewer
|
|
13
|
+
- **[Small - Residence](https://vimaec.github.io/vim-web/webgl)**
|
|
14
|
+
- **[Medium - Medical Tower](https://vimaec.github.io/vim-web/webgl?vim=https://vim.azureedge.net/samples/skanska.vim)**
|
|
15
|
+
- **[Small - Stadium](https://vimaec.github.io/vim-web/webgl?vim=https://vim.azureedge.net/samples/stadium.vim)**
|
|
16
|
+
|
|
17
|
+
### Ultra Viewer
|
|
18
|
+
- **[Small - Residence](https://vimaec.github.io/vim-web/ultra)**
|
|
19
|
+
- **[Medium - Medical Tower](https://vimaec.github.io/vim-web/ultra?vim=https://vim.azureedge.net/samples/skanska.vim)**
|
|
20
|
+
- **[Small - Stadium](https://vimaec.github.io/vim-web/ultra?vim=https://vim.azureedge.net/samples/stadium.vim)**
|
|
21
|
+
|
|
22
|
+
Find detailed camera controls here: [Camera Controls](https://docs.vimaec.com/docs/vim-cloud/webgl-navigation-and-controls-guide).
|
|
23
|
+
|
|
24
|
+
## Overview
|
|
25
|
+
|
|
26
|
+
The **VIM-Web** repository consists of four primary components, divided into two layers:
|
|
27
|
+
|
|
28
|
+
### Core Viewers
|
|
29
|
+
- **WebGL Viewer:** A WebGL-based viewer for the VIM format. Includes features like outlines, ghosting, and sectioning, but without UI components.
|
|
30
|
+
- **Ultra Viewer:** A high-performance viewer for the VIM Ultra Render Server, optimized for scale and speed.
|
|
31
|
+
|
|
32
|
+
### React Viewers
|
|
33
|
+
- **WebGL Component:** A React-based wrapper for the WebGL viewer, providing interactive UI elements and a BIM explorer.
|
|
34
|
+
- **Ultra Component:** A React-based wrapper for the Ultra viewer, featuring a UI for real-time interactions.
|
|
35
|
+
|
|
36
|
+
## VIM Format
|
|
37
|
+
|
|
38
|
+
The **VIM** file format is a high-performance 3D scene format that supports rich BIM data. It can also be extended to accommodate other relational and non-relational datasets. Unlike **IFC**, the VIM format is pre-tessellated, allowing for rapid loading and rendering.
|
|
39
|
+
|
|
40
|
+
Learn more about the VIM format here: [VIM GitHub Repository](https://github.com/vimaec/vim).
|
|
41
|
+
|
|
42
|
+
### Built With
|
|
43
|
+
- [VIM WebGL Viewer](https://github.com/vimaec/vim-webgl-viewer)
|
|
44
|
+
- [React.js](https://reactjs.org/)
|
|
45
|
+
|
|
46
|
+
## Getting Started
|
|
47
|
+
|
|
48
|
+
Follow these steps to get started with the project:
|
|
49
|
+
|
|
50
|
+
1. Clone the repository.
|
|
51
|
+
2. Open the project in **VS Code**.
|
|
52
|
+
3. Install the dependencies: `npm install`.
|
|
53
|
+
4. Start the development server: `npm run dev`.
|
|
54
|
+
|
|
55
|
+
> **Note:** Ensure you have a recent version of **Node.js** installed, as required by Vite.
|
|
56
|
+
|
|
57
|
+
## Repository Organization
|
|
58
|
+
|
|
59
|
+
- **`./docs`:** Root folder for GitHub Pages, built using the `build:website` script.
|
|
60
|
+
- **`./dist`:** Contains the built package for npm, created with the `build:libs` script.
|
|
61
|
+
- **`./src/pages`:** Source code for the demo pages published on GitHub Pages.
|
|
62
|
+
- **`./src/vim-web`:** Source code for building and publishing the vim-web npm package.
|
|
63
|
+
- **`./src/core-viewers/webgl`:** Source code for the WebGL core viewer. Based on [vim-webgl-viewer](https://github.com/vimaec/vim-webgl-viewer).
|
|
64
|
+
- **`./src/core-viewers/ultra`:** Source code for the Ultra core viewer.
|
|
65
|
+
- **`./src/react-viewers/webgl`:** Source code for the WebGL React component. Based on [vim-webgl-component](https://github.com/vimaec/vim-webgl-component).
|
|
66
|
+
- **`./src/react-viewers/ultra`:** Source code for the Ultra React component.
|
|
67
|
+
|
|
68
|
+
## License
|
|
69
|
+
|
|
70
|
+
Distributed under the **MIT License**. See `LICENSE.txt` for more details.
|
|
71
|
+
|
|
72
|
+
## Contact
|
|
73
|
+
|
|
74
|
+
- **Simon Roberge** - [simon.roberge@vimaec.com](mailto:simon.roberge@vimaec.com)
|
|
75
|
+
- **Martin Ashton** - [martin.ashton@vimaec.com](mailto:martin.ashton@vimaec.com)
|
|
76
|
+
|
|
77
|
+
## Acknowledgments
|
|
78
|
+
|
|
79
|
+
Special thanks to these packages and more:
|
|
80
|
+
- [react-complex-tree](https://github.com/lukasbach/react-complex-tree)
|
|
81
|
+
- [re-resizable](https://github.com/bokuweb/re-resizable)
|
|
82
|
+
- [react-tooltip](https://github.com/ReactTooltip/react-tooltip)
|
|
83
|
+
- [Strongly Typed Events](https://github.com/KeesCBakker/Strongly-Typed-Events-for-TypeScript#readme)
|