Forums > Jitter

Two Questions about Pool-3d-nurbs

October 5, 2012 | 11:04 am

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.

Here I post the modified patch:

– Pasted Max Patch, click to expand. –

Thank you


October 5, 2012 | 12:05 pm

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


October 5, 2012 | 1:05 pm

That worked, thank you micron!

Now, here’s what the patch looks like:

– Pasted Max Patch, click to expand. –

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


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