Loading .ply model


    Jonny Fuller-Rowell's icon
    Jonny Fuller-Rowell's icon
    Jonny Fuller-Rowell
    Jan 31 2023 | 9:37 pm
    Does anyone know if it's possible to load .ply files. I have a point cloud file that unfortunately as it is not a mesh, cannot be converted into an .obj for the jit.gl.model object. But wondered if there was another way?

    • Rob Ramirez's icon
      Rob Ramirez's icon
      Rob Ramirez
      Feb 06 2023 | 3:52 pm
      .ply files are supported by jit.gl.model, however they must contain faces. If all you have is vertex data (e.g. from a point cloud), it would be pretty trivial to simply parse out that data and load it directly into a matrix for jit.gl.mesh to render as @draw_mode points, since the files are simply text files.