Jitter Function Object

2000's icon

Hello,

Could anyone help?

I'm starting with Jitter. I'll try and make this question not sound too clumsy. Is there anyway in Jitter to have a matrix behave in the same way as a function object in MAX? Using points and lines?

Thank you

Matteo Marson's icon

Hi,

In current Jitter workflows, points and lines are typically rendered with [jit.gl.mesh]. You can pull the point data from [function], then use two [jit.gl.mesh] objects to draw an image that resembles the function display.

Max Patch
Copy patch and select New From Clipboard in Max.

2000's icon

That's great. Thank you very much. Could I ask one question, please? How do you know what size screen you're working with? Your scaling section.

Thanks, again

Rob Ramirez's icon

when dealing with opengl worldspace it's less about the absolute pixel size and more about the aspect ratio. i've modified MM's patch to include a calculation that will calculate the ratio from the window size, and rescale based on that value, which might be useful in fitting the function on to any size window

Max Patch
Copy patch and select New From Clipboard in Max.

2000's icon

OK. Thank you very much.