Forums > Jitter matrix out

Apr 09 2010 | 8:04 pm

I’m trying to find the bounds of a character or characters displayed in 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…

Apr 09 2010 | 10:54 pm

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.

-- Pasted Max Patch, click to expand. --

Apr 10 2010 | 6:31 am

I just noticed that 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.

-- Pasted Max Patch, click to expand. --

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > Jitter