I have build a mesh with the help of triangles, I want to know is it possible to select each triangle separately?
this is my PG for 6 triangles : https://www.babylonjs-playground.com/#VKBJN#874

and below screenshot is my final model with about 100,000 triangles.

Is it possible to select each triangles separately when I use triangle to build mesh?
this is my PG but when I wanted to selected each triangle the problem is whole of the triangles is selected. https://www.babylonjs-playground.com/#VKBJN#876

from the three indices you can find the three positions for each of the triangle vertices.

x = myPositions(3 * index);
y = myPositions(3 * index + 1);
z = myPositions(3 * index + 2);

From the positions you can find the min and max values for x, y, and z, create two vector3s minVec and maxVec and use this to create a new bounding box BoundingBox - Babylon.js Documentation

As I have shown use faceId to access the three indices for the triangle. From each of these indices access the x, y and z values from the vertex.positions array which you put equal to myPositions.