I want to know how can I separate each line with the same point IDs , I mean I want to make a line with the points that have same ID .
this is my code : https://playground.babylonjs.com/#FRJX06#14
I need to find a way to do it for 1000 points, But I don’t know how can separate them.
Hi @aWeirdo
sorry for making another topic, because I did not get any useful way.
the line array in my PG was just a sample array, and I need a Practical way when I wanted to use json file, I can’t change the json file to NaN , and as I said I need to find a way for more than 1000 points.
Hi. For what purpose you mix metadata of line and points data? You need
linesystem: [
Line:{
Points: [
[0,0,0],
[1,1,1],
Etc…
],
Metadata: {
Metafield: meta
}
},
Line: {…}
]