How to simple wave a plane in jit.gl.sketch

Apr 1, 2011 at 5:07pm

How to simple wave a plane in jit.gl.sketch

Hi,
I want to build a plan that varies with the voice. the aim is, the voice can distort a plane. means voice amplitude will undulate. How can i made this, without using nubrs… i tried but can’t take control over ctlmatrix.

Thanks in advance

Luis Marques

#56017
Apr 3, 2011 at 4:01pm

What exactly are you trying to distort?

– Pasted Max Patch, click to expand. –
#201238
Apr 4, 2011 at 11:01am

Hi,
Thanks for your answer. What i need is shake the entire plane. Like a wave. Can i get that to work whit jit.gl.sketch?

Luis Marques

#201239
Apr 4, 2011 at 3:18pm

Think you want jit.gl.graph. You can apply video textures to that.

#201240
Apr 4, 2011 at 4:23pm

Hi,

very similar, but in my case i have a entire plane, and whit jit.catch~ want to be able to shake the entire plane, all at once.

Luis Marques

#201241
Apr 4, 2011 at 5:42pm

some combination of the jitter-render example patches should get you started.
specifically, Max5/examples/jitter-examples/render/jit.gl.mesh.bfg.maxpat

combine this with something like:Max5/examples/jitter-examples/audio/jit.poke~-asteroidgrowth.maxpat

provide us a patch showing what you’ve come up with and we can possibly offer more suggestions.

#201242
Apr 4, 2011 at 10:38pm

Thanks for your suggestion. Here is my patch.

– Pasted Max Patch, click to expand. –

Luis Marques

#201243
Apr 7, 2011 at 1:00am

Hi all,

Can anyone help me whit this?

Luis Marques

#201244
Apr 7, 2011 at 5:57pm

you need to study the example patches more carefully.
the nurbs-audiorender example starts with a 2 plane jit.catch~ (yours only has one).
it then creates a three plane matrix from this 2 plance matrix (which is necessary to serve as a control matrix for nurbs) using the jitaudio2nurbs javascript.

you can’t just plug the 1 plance jit.catch~ matrix into a 3 plane matrix and hope that it works.
i would just start from that example, and make small modifications until you understand what’s going on.

#201245
Apr 7, 2011 at 9:09pm

Hi Robert

Thanks for your patience answering my question and most of all for the great tip

Luis Marques

#201246
Apr 7, 2011 at 10:40pm

sorry… can’t manage by my own…i try to make small modifications, but can’t get it yet…
is it possible to give more help?

Luis Marques

#201247
Apr 8, 2011 at 4:58pm

what have you tried? what didn’t work?
provide a *simple* patch demonstrating.

#201248
Apr 8, 2011 at 6:37pm

I disconnected matrix outlet from audio2nurbs.js and tried to expand the rolled plane to fit the entire screen. also tried to apply webcam texture in nurbs.

– Pasted Max Patch, click to expand. –

Luis Marques

#201249
Apr 8, 2011 at 11:08pm

Hi Luis,
It might be easier to start by looking at some of the early Jitter recipes, many of which deal specifically with creating geometry from sound input. Some of the examples in the Jitter-examples folder can admittedly be a little difficult to tease apart.

Specifically,check out Recipe 22: CatchNurbs

http://cycling74.com/2006/02/14/jitter-recipes-book-2/

#201250
Apr 9, 2011 at 1:48pm

Thanks Ben it really helps.
However, the plane is messed up when the matrix goes to ctlmatrix and displayed in nurbs. Is it possible to have a straight plane in nurbs? how to control individually each dot on nubrs?
I understood each highlight on jit.matix represents a dot in ctlmatrix, but how about taking control on each on?

Thanks

Luis Marques

#201251

You must be logged in to reply to this topic.