You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have an application which is built only to run in ElectronJS. We use Xeokit sdk for 3D visualization. Recently we implemented Las/Laz loading capability and found that it doesn't work in ElectronJS App. We get following error:
But we can load the same model with same code when it is viewed in browser. I have attached a video explaining this issue.
Untitled.mp4
We debugged a little and found an issue in canParseWithWorker function. If statement at line number 108996 evaluates to true, when it is from Electron.
Also I have attached a sample code in zip. sample.zip
To Reproduce Steps to reproduce the behavior:
First place 'autzen.laz' sample model in models directory
Open the attached sample code in VS code and go to terminal
Execute 'npm install electron'
Run command 'npm start' to launch electronjs app.
See error on console
We reported this to Xeokit earlier. They suggested us to report here loaders.gl library to load Las/laz models.
The text was updated successfully, but these errors were encountered:
As the maintainers are not electron users we don't actively support that environment, nor can we test that things work, but we do accept small PRs with fixes
We have an application which is built only to run in ElectronJS. We use Xeokit sdk for 3D visualization. Recently we implemented Las/Laz loading capability and found that it doesn't work in ElectronJS App. We get following error:
But we can load the same model with same code when it is viewed in browser. I have attached a video explaining this issue.
Untitled.mp4
We debugged a little and found an issue in canParseWithWorker function. If statement at line number 108996 evaluates to true, when it is from Electron.
Also I have attached a sample code in zip.
sample.zip
To Reproduce
Steps to reproduce the behavior:
We reported this to Xeokit earlier. They suggested us to report here loaders.gl library to load Las/laz models.
The text was updated successfully, but these errors were encountered: