Introduces the ability to load triangle meshes with color texture from glTF with GLTFLoaderPlugin. This allows us to view textured photogrammetry meshes converted from point clouds.
Pre-release of the feature branch on npm:
- @xeokit/xeokit-sdk 2.2.5-performance-textures-beta
- Some geometries loaded by XKTLoaderPlugin are positioned incorrectly. This is a breakage in the transforms for those objects, an easy fix. In the meantime, we can work around this issue by adding
reuseGeometries: false
when we load the XKT model, as shown below:
const xktLoader = new XKTLoaderPlugin(viewer);
const model = xktLoader.load({
id: "myModel",
src: "../assets/models/xkt/v8/ifc/Duplex.ifc.xkt",
reuseGeometries: false // <<------ Add this
});
- Finish XKTLoaderPlugin support for textures
- Finish XKT format with textures
- Finish convert2xkt for textures