Forums > Jitter

Transparency Question

April 26, 2013 | 1:44 pm


I am trying to make the mesh object transparent in the positions where the values going in to the mesh are equal to 0. However I want to keep the gradual transparency I have at the moment. In other words, I don’t want to see the black plane where there are no deformations but keep the fade out effect I have. It feels like this suppose to be an easy thing to do but couldn’t seem to work it out.

Thank you.

— Pasted Max Patch, click to expand. —
April 26, 2013 | 7:09 pm

you can do something like multiply your color matrix alpha-plane by the vertex displacement matrix.

April 27, 2013 | 9:56 am

Excuse my ignorance but what is "vertex displacement matrix"?

April 27, 2013 | 10:25 am

your vertices are the ones in The matrix that displaces them is the output of jit.catch~ – but I think it’s the output of the "flow" matrix you’re supposed to use for this, too.

Multiply that matrix with your alpha channel inside the colorselect patcher, and you should be close.

April 27, 2013 | 11:38 am

I tried what you told me. I am closer to what I want but not quite there yet. I think I need to get the positions where displacement is zero then multiply it with my alpha channel but I don’t know how to do that.

— Pasted Max Patch, click to expand. —
April 28, 2013 | 9:25 am

Ok, I managed to get all the 0 values from a matrix but that didn’t work as I hoped. Any other ideas?

April 29, 2013 | 11:28 am


April 29, 2013 | 10:21 pm

no need to bump a thread after one day, on a weekend.

the patch you posted looks to me like exactly what you’re asking for.
what’s not working for you?

April 30, 2013 | 9:38 am

I am sorry for the bump. I have a deadline to meet for my university class, I guess I just panicked a little bit.

I am trying to get rid of the black plane while keeping other parts unchanged. I know the the black plane is disappeared right now but some parts of the displaced mesh is also transparent.

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

Forums > Jitter