Transparency Question

Apr 26, 2013 at 1:44pm

Transparency Question


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. –
Apr 26, 2013 at 7:09pm

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

Apr 27, 2013 at 9:56am

Excuse my ignorance but what is “vertex displacement matrix”?

Apr 27, 2013 at 10:25am

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.

Apr 27, 2013 at 11:38am

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. –
Apr 28, 2013 at 9:25am

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

Apr 29, 2013 at 11:28am


Apr 29, 2013 at 10:21pm

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?

Apr 30, 2013 at 9:38am

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.


You must be logged in to reply to this topic.