I am studying one of Andrew Benson's recipes. As you can see in the patch attached below, matrix data is on constant move. What I am trying to do is to fade them out gradually. I couldn't seem to work this out.
hi. would you add a bit more detail? might be able to assist more.
What is the object analyzer~ ? Its not part of the standard max distribution so yoru patch won't run as is.
You want to fade...what...out? the sound? The whole mesh, one part of a mesh? What specifically do you want to fade?
I'm not able to run your patch because part of it is still missing (the analyze part), Without that, I can only guess.
Transparency is controlled by the alpha component of a color. On the mesh object, you have set the color for everything to be .3,.9,.9,.9
That 0.9 at the end is the alpha.
With jit.gl.mesh you can set the color PER VERTEX. You are feeding in all your vertices on the first inlet. On the 4th inlet, you can send a color matrix. Look at the reference documentation to see how. In short, you send a matrix of the same dimensions and having 4 planes. The 4 planes being the r,g,b,a color values. You will need to generate this color matrix in your patch and you can fade the alpha however you would like. 1.0 represents completely opaque. 0.0 represents fully transparent.