xeokit-performance-textures-demo

Overview

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.

NPM Package

Pre-release of the feature branch on npm:

Examples


screenshot from 2018-02-01 02-02-50


screenshot from 2018-02-01 02-02-50


screenshot from 2018-02-01 02-02-50


screenshot from 2018-02-01 02-02-50


Docs

Issues

  1. 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
});

Next Steps

  1. Finish XKTLoaderPlugin support for textures
  2. Finish XKT format with textures
  3. Finish convert2xkt for textures