Core viewer logic is now completely reusable with all kinds of model formats.
According to the xeokit-sdk documentation:
Source formats (so far) include glTF, OBJ, STL, 3DXML and BIMServer. Regardless of where models were loaded from, xeokit exposes their objects via an abstract interface through which we can access them uniformly.
Similarly, we only need one abstract & uniform interface. The src/Viewer.js file contains all the core features and business logic.
Supporting different formats is as easy as importing the appropriate loader plugin in the src/Viewers.js file and passing it to the makeViewer function.
Core viewer logic is now completely reusable with all kinds of model formats.
According to the xeokit-sdk documentation:
Similarly, we only need one abstract & uniform interface. The
src/Viewer.js
file contains all the core features and business logic.Supporting different formats is as easy as importing the appropriate loader plugin in the
src/Viewers.js
file and passing it to themakeViewer
function.