techsoft3d / ts3d-hc-clashmanager

MIT License
0 stars 0 forks source link

Library takes too much time to Initialize for stream cache model #1

Open VrushalNanavati opened 11 months ago

VrushalNanavati commented 11 months ago

Library works best with SCS. But, when we load stream cache, it takes too much time for initialization. It must be fetching bounding boxes and properties or actual geometry data from the server for detecting client-side cache, but is there any way to optimize that, may be by loading it in parallel?

guido5544 commented 11 months ago

Hi,

thanks for having a look at the library.

You are correct, as mentioned in the readme loading the models via streaming is unfortunately impractical as transferring the relative data takes too long currently. This is the reason you should be using the server-side workflow. Of course, in that scenario you would have to generate SCS files that will be used for the collision detection calculations alongside your normal stream cache models when converting your CAD/BIM models.

However, the reason it takes so long to fetch the attribute/bounding box and mesh data in streaming mode is a limitation of HOOPS Communicator that could be addressed so if you want this behavior to be improved (so this library becomes usable in streaming mode) please submit a feature request via our support portal.

Thanks, Guido