Loading large models

Hi! I loaded large model with 150k meshes and after loading i get 2-3 FPS in my viewer.
How can i increase performance?
I also use meshopt

150K meshes is a lot! Can you describe your scene setup? Do your meshes share the same resources geometry, material, textures…? If they do, you could merge them or use instancing or batching,.

I merged with help gltf-transform 5000 meshes each. And i don’t have textures, but have materials and geometry. And no, it’s not the same.

You should describe your scene, maybe share a screenshot. Since you don’t have textures, your materials must be similar in some way. If it’s just colors or a few properties, you could batch them. But 150K is still a lot!

i used that-open library (👨🏻‍💻 Introduction | That Open docs). It’s library for work with BIM. This is how i describe my scene

const getWorldByWorlds = (
  components: OBC.Components,
  container: HTMLDivElement
) => {
  const worlds = components.get(OBC.Worlds);
  const world = worlds.create<
    OBC.SimpleScene,
    OBC.OrthoPerspectiveCamera,
    OBF.PostproductionRenderer
  >();

  world.renderer = new OBF.PostproductionRenderer(components, container);

  setDefaultCameraProps(world, components);

  world.scene = new OBC.SimpleScene(components);
  world.scene.setup();
  world.scene.three.background = new THREE.Color().setHex(0xffffff);

  return world;
};