Forums > Jitter

jit.gl.mesh How to color and fade out.


Mar 19 2017 | 4:06 pm

I have this bigger patch based on the enclosed help-patch from mesh.
What I need to add is a way to color the triangular shaped grid. This works by coloring the jit.gridshape.
But I like to bring the color direct in the gl.mesh, so I can use the alpha for fading out. I would be very surprised if that would be impossible.
But yet, for me it is uphill now.
Who can help me out.
Another way of fading the mesh-image before it goed to be rendered also could be a solution.

Lots of thanks
Peter

— Pasted Max Patch, click to expand. —
Mar 19 2017 | 6:50 pm

hello Plem ,

works here

— Pasted Max Patch, click to expand. —
Mar 19 2017 | 8:04 pm

@PLEM: you had the blend_enable attribute on for [jit.gl.gridshape], which is what you want if you don’t use [jit.gl.mesh] and ‘matrixoutput’.
Check out Phiol’s example: the only difference is that he turns on [jit.gl.mesh]’s blend_enable attribute, he doesn’t even uses the [jit.gl.gridshape]’s one.

Mar 20 2017 | 4:16 am

Thanks a lot, guys.
You got me going again.

Peter

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

Forums > Jitter