How to make thousands of copies?

Hello everyone.
In my playground I have a system to make copies of placed and scaled hexagons, using the information that appears in a list.
The playground works smoothly. The problem is that when I increase the number of copies a lot, the performance is bad.
Is there any way to improve performance by keeping the option that the hexagons are clickable and can hide them one by one?

Thanks in advance.

My playground:

Use thin instance instead: Thin Instances | Babylon.js Documentation

2 Likes

I can convert this to a PG, but it works with hundreds of hexagons:
Babylon Basic - Instances â‹… Storybook (brianzinn.github.io)

It uses InstanceMesh with a source - in this case a “Disc” builder.

3 Likes

Hello @pococo_oo just checking in, was your question answered?