Forums > Jitter

Four control points_Nurbs & Vidéo

April 7, 2009 | 9:01 pm

Hi everybody,

I am trying to control the four corners of a video by using a nurbs object.
Here, i have four control points for the plane nurbs.
But i can’t find the way to used a video as a texture. It might be a detail but a can’t find it.
First time a used nurbs, any advice?
thanks!

p_yves

– Pasted Max Patch, click to expand. –

April 7, 2009 | 9:30 pm

p_yves wrote on Tue, 07 April 2009 16:01Hi everybody,

I am trying to control the four corners of a video by using a nurbs object.
Here, i have four control points for the plane nurbs.
But i can’t find the way to used a video as a texture. It might be a detail but a can’t find it.

Just needed a few more steps. Pretty sure all the jit.gl.objects work this way with textures: Texture gets named and sent to jit.gl.render, then tell whichever objects you want to use the texture with the "texture [name]" message. You can have multiple textures stored in jit.gl.render if they have different names, then switch which texture specific objects use with texture [name] messages.

– Pasted Max Patch, click to expand. –

April 7, 2009 | 9:53 pm

great, that’s exatly what i was looking for about textures
thanks for your time seejayjames

p_yves


April 8, 2009 | 5:18 pm

don’t forget about jit.gl.texture.
a somewhat more modern (and flexible) way of achieving the same goal.



FP
April 17, 2009 | 4:46 pm

hi,

maybe it can be ueful, here’s a version with texture & mesh

– Pasted Max Patch, click to expand. –

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