Lost/ How to deal with nurbs, mesh, texture & slab

May 3, 2012 at 10:11am

Lost/ How to deal with nurbs, mesh, texture & slab

Hi all,

(be careful i’m french)

I’m a bit lost.
My aim is the following : be able to deform a texture like in jitterbook 2 (Recipies 18 : Manipulator), and to “encapsulate” it in a cornerpin deformation.

I’ve already done the cornerpin distortion with mesh object
I’ve already done the nurbs control distortion with nurbs objet.

But i’ve some trouble to link nurbs to cornerpin.
When i link the nurbs to the mesh, cornerpin (done with mesh) doesn’t work, and only nurbs distortion work.

My patch is very, very big, so it’s a little bit hard to post here.

I ve also tried to do this with the new jit.gl.cornerpin & nodes, it’s “working” but very strangly : image flip, inverted, and it’s really falls down fps.

Btw, i can’t understand this thing :
QT objet > Slab (effect) > Nurbs > Texture = no movie output
When i delete nurbs objet = movie output
(with output matrix activate)
What kind of matrix is outputting nurbs ?

How can i distort the movie with nurbs, before sending it via jit.gl.texture ?

Any help would be très apprécié !
Merci

#63380
May 3, 2012 at 4:08pm

Ok,
I made a patch with the problem :

– Pasted Max Patch, click to expand. –

And the thread must be in the jitter forum…

Any ideas?

Thanks

#228567
May 10, 2012 at 11:15pm

Any help ?

#228568
May 10, 2012 at 11:29pm

hello. if all you are trying to do is cornerpin on a texture, your best be is the jit.gl.cornerpin object.
make sure you have updated to the recently released 6.0.5, as there was some fixes to this object in that release.

here’s how you can capture geometry to a texture, and perform corner-pinning.

– Pasted Max Patch, click to expand. –
#228569
May 22, 2012 at 1:29pm

Hi Robert and thanks for your answers.

My problem is that jit.gl.cornerpin is not a 3D objet, and i need to perform scale, rotation and cornerpin. That why i usually use mesh objet.

I there a way to connect nurbs to mesh objet, and preserve cornerpin works doing with the mesh object ?

Thx

#228570
May 22, 2012 at 5:59pm

can you perform the scaling and rotation on the nurbs geometry before capturing it to texture and performing the corner-pinning?

#228571
May 22, 2012 at 7:39pm

it is not the same.

My patch use up 32 layer with cornerpin (perform by mesh, in a poly abstraction).
Actually, the jit.gl.cornerpin objet seem to be designed to perfom a final keystone mapping.
My aim is to perform keystone for x number of layer.

So perform rota and scale in nurbs dont “fit” with the cornerpin deformation. i mean that scaling a texture with nurb will reduce texture but not cornerpin, and that s not very useful i my case.

I think that a scale attribute for jit.gl.cornerpin objet would be a great option :)

#228572
May 22, 2012 at 9:33pm

yeah, it sounds like the gl.cornerpin object is not the right tool for you, and your best bet is to stick with gl.mesh.

#228573
May 23, 2012 at 10:28am

Ok.

So, is it possible to deal with mesh and nurbs to perform image distortion AND cornerpin ?

#228574
May 23, 2012 at 1:37pm

Is this what you are after? You should be able to replace the jit.gl.cornerpin with your mesh bit easy enough:

– Pasted Max Patch, click to expand. –
#228575
May 23, 2012 at 1:38pm

Yeah, here you go:

– Pasted Max Patch, click to expand. –
#228576

You must be logged in to reply to this topic.