This time I used it as a generator of
DataTexture3D, based on the spatial data of a mesh.
And it’s quite fast
“Model” - just the transparent mesh of the dragon
“Points” - visualisation of texture data, where value is 1
“3d grid” - the using of the texture to show only those parts of lines of 3d grid, that are cross 3d texture with the value of 1, otherwise “discard”.
Source code: nostalgic-sun-3nkp6 - CodeSandbox