Dear all, I’ve been experimenting with three.js for some time now, but I got stuck with this since December last year:
My goal is to visualize all lines of the given array “all1394c5s6”, where each subarray (each subarray is a 5-vertex/point line / eg. the first one [1,2,13,24,25]) is on one “slice of Z” with the given “spacing”. See for this https://www.koulaouzidis.com/ars-combinatoria/research/1394-on-xyz.threejs_v1.3.html
It all works as expected, but my code connects the last vertex/point of the previous line with the first vertex/point of the next line (eg. if we look at the first two lines [1,2,13,24,25], [1,2,14,23,25] then the last element “25” of the first array is connected with the first one “1” of the second array - and so on…). It is obvious why this happens. In order to being able to rotate the whole geometry with the “controls” I had to write it this way.
The first solution was to create an instance for each subarray/line, but this was so CPU consuming, that there was no smooth interaction possible. So I thought I might be able to achieve this this way, plus using some kind of alphas / opacity for the not wanted “inbeetween connections” explained before… See for this https://www.koulaouzidis.com/ars-combinatoria/research/1394-on-xyz.threejs_v1.4.html / Somehow “alpha” is not working and I am out of ideas…
Any help/idea/suggestion/different solution is greatly appreciated!
I was hoping to produce with three.js visuals for the next exhibition of my art project “Ars Combinatoria”. No deadline/date yet, possibly/hopefully some time end of the year/next year.