Skip to content

Commit

Permalink
feat: BIM tiles (ThatOpen#301)
Browse files Browse the repository at this point in the history
* feat: implement visibility checkboxes in fragmenttree

* Bump version

* feat: allow bounding box to use simple meshes (ThatOpen#213)

* Allow fragment bounding box to compute regular meshes

* Bump version

* First version of fragment streamer

* Fix geometry counter reset

* Load all bounding boxes from a streamed model

* Update geometry event type

* Make screen culler reusable

* Extract screen culler base logic

* Color BoundingBoxes by geometry

* Start implementing culler renderer logic

* First version of memory culler

* Read geometry from server

* WIP: create model as boxes

* First successful version of geometry streaming

* Add colors and trasnparency to streamed frags

* First successful unloading unseen geometries

* Fix automatic translucent update

* Fix handle unseen geometries

* Extract bounding box logic

* Set pixel threshold for streaming and detect hardly seen geometries

* Adjust behavior of hardly seen geometries

* Create function to compute approx bounding box

* Use new function to compute bounding boxes

* Update bounding box generation

* Generate better Oriented Bounding Boxes

* Add remove method to mesh culler

* Integrate streamer with culler

* Add http header to try on github pages

* Revert http header

* Make logs optional

* Fix stream event overlap

* Update build

* Dispose geometry on each streaming step

* Stream FragmentsGroups

* Load FragmentsGroup, exclude IfcOpeningElements

* Exclude IfcOpeningElements when streaming geometries

* First implementation of model coordination

* Changes to Enable Streaming

* Fix model coordination

* Apply culler (still some errors)

* Update Web-IFC

* Bug Fixes

* Bump version

* Get Mesh and Sphere for Streamer + Transformation Fix

* Set Position according to Center

* Bump version

* fix: fix some errors from merge

* feat: add threshold to culler

* feat: make bounding boxes a fragment

* fix: squash culler render remove bugs

* fix: try some culler improvements

* feat: simplify geometry culler, disregard translucency

* feat: add fragments to streamer culler

* feat: implement scene culler in stream loader

* chore: clean up

* chore: clean up

* feat: make streaming work with coordination

* feat: make streaming work with multiple tools

* feat: streaming working with visibility

* feat: update fragments

* feat: stream properties, simplify json exporter

* feat: first version of property streaming

* feat: properties almost working (property index missing)

* feat: stream properties indices

* fix: update fragment plans

* fix: update all examples

* feat: implement floor plans with streaming

* fix: correct property streamer, add progress methods

* feat: implement disposing streamer

* feat: implement disposing single streamed model

---------

Co-authored-by: Tom Beach <[email protected]>
Co-authored-by: Vishwajeet <[email protected]>
  • Loading branch information
3 people authored Feb 22, 2024
1 parent 27cfe4c commit 83f37b7
Show file tree
Hide file tree
Showing 84 changed files with 96,170 additions and 93,721 deletions.
Binary file added .DS_Store
Binary file not shown.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,7 @@ dist/
resources/asdf.ifc
resources/asdf.frag
resources/asdf.json
resources/bbbb.ifc
resources/bbbb.*

resources/*-processed.json
resources/*-processed-properties.json
13 changes: 5 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "openbim-components",
"version": "1.3.4",
"version": "1.4.0-alpha.17",
"main": "src/index.js",
"author": "harry collin, antonio gonzalez viegas",
"license": "MIT",
Expand All @@ -19,21 +19,19 @@
"@tailwindcss/forms": "^0.5.3",
"@types/earcut": "^2.1.1",
"@types/jest": "27.0.0",
"@types/mapbox-gl": "^2.7.11",
"@types/node": "^14.14.31",
"@types/node-fetch": "^2.6.4",
"@types/three": "0.160.0",
"@typescript-eslint/eslint-plugin": "^4.27.0",
"@typescript-eslint/parser": "^4.27.0",
"bim-fragment": "1.3.8",
"bim-fragment": "1.3.35",
"cpy-cli": "^3.1.1",
"eslint": "^7.28.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-prettier": "^3.4.0",
"jest": "^27.0.4",
"mapbox-gl": "^2.15.0",
"node-fetch": "^3.3.2",
"prettier": "^2.3.1",
"rollup": "^3.2.3",
Expand All @@ -42,7 +40,7 @@
"ts-jest": "^27.0.3",
"ts-node": "^10.0.0",
"typescript": "^4.3.2",
"web-ifc": "^0.0.50"
"web-ifc": "0.0.51"
},
"dependencies": {
"@popperjs/core": "2.11.8",
Expand All @@ -59,9 +57,8 @@
"unzipit": "^1.4.3"
},
"peerDependencies": {
"bim-fragment": "1.3.8",
"mapbox-gl": "^2.15.0",
"bim-fragment": "1.3.35",
"three": "^0.160.1",
"web-ifc": "^0.0.50"
"web-ifc": "0.0.51"
}
}
Loading

0 comments on commit 83f37b7

Please sign in to comment.