Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Cache the Model data in BIMVIE #105

Open
ChilamYan opened this issue Jun 1, 2018 · 3 comments
Open

How to Cache the Model data in BIMVIE #105

ChilamYan opened this issue Jun 1, 2018 · 3 comments

Comments

@ChilamYan
Copy link

Hi Ruben, I have a large ifc model about 500MB, and I found the bimvie needs a long time to load from the BimServer, if any ways I can cache the model before bimvie loading, so avoid to load the model from BimServer again? thanks.

@rubendel
Copy link
Member

rubendel commented Jun 1, 2018

You could try to implement caching with any of the available offline-storage capabilities of HTML5, most of them are still restricted in size though, would be happy to see any contributions in this direction.

@ChilamYan
Copy link
Author

I found bimvie is using web socket to load the model, whole process is very complicate. Could you give me some directions or some methods to cache? And whether I can divide the model to many glb files and use the browser cache? Today the serializer of gltf2 still not perfect and I don’t know how to try.And I found xeogl sample, it can cache the gltf after loading, could you share me how can I use that mechanism to the bimvie?

@rubendel
Copy link
Member

rubendel commented Jun 8, 2018

That's a lot of questions:

  • For methods of caching, please read the recent standards documents on HTML5 etc...
  • You could for example store each websocket message, not that complicated
  • BIMvie.ws is not using glb/gltf/gltf2
  • I agree the gltf2 serializer is not perfect, some more specific feedback would be welcome though
  • BIMvie.ws is not using xeogl, so I don't see how I can help there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants