jit.gl.text3d matrix out
I'm trying to find the bounds of a character or characters displayed in jit.gl.text3d so I can draw a rectangle behind it. It seems that a matrixoutput from text3d would have this information somewhere, however, I'm not clear how to parse the matrix that comes from a text3d...
Max Patch
Copy patch and select New From Clipboard in Max.
the first three planes contain the x,y, and z values for each vertex.
you should be able to send these to jit.3m to get the bounds of the shape.
Max Patch
Copy patch and select New From Clipboard in Max.
I just noticed that jit.gl.text3D outputs one frame for each letter, which has confused me in the past. You will need to accumulate this list to get min/max bounds for a whole sentence. ie.