Two Questions about Pool-3d-nurbs

LSka's icon

Hello everybody,

Since I'm quite new to Jitter, I was trying to understand how the pool-32-nurbs.maxpat works.

In particular, the main issue is: how do I get the nurbs to fill the entire window? I guess it's something very simple that I'm missing

And then, the second question: I noticed that the render is somehow "rotated" (i. e. if I click on the pwindow and if I load a texture, the render looks turned left 90° Counter-clockwise). I managed to get it right by putting a [jit.transpose] and [jit.dimmap @invert 1 0] just before the [s drawme], and so the drops appear correspondingly to the mouseclicks in the pwindow.
But, again, I was wondering if there was a simpler and more efficent way to achieve the same result.

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

Here I post the modified patch:

Thank you

Rajan Craveri's icon

Hi, use the scale attribute of jit.gl.nurbs to fit the window,
about texture rotation I don't know a better solution sorry.

LSka's icon

That worked, thank you micron!

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

Now, here's what the patch looks like:

Still looking to understand why matrices need to be "turned" and what's the best method, though.