replicating a peak meter with gl objects
Hi
I'm trying to create something that would roughly look like the meter~ object in msp, a kind of meter that would receive numeric values from a touchOSC app I've created and rise/fall acordingly, with some sort of gradation as it rises (hence the peak meter as model)... I have some ideas, but I'm still fairly new to using gl objects other then videoplanes for mapping... so maybe some suggestions would help me out, is there a relatively easy way to automate/create this?
thanks for the help!
Hi.
You could build the gradient texture (green, yellow, orange, red) in Photoshop or build it in Max as I did and map it to a jit.gl.videoplane or jit.gl.gridshape (plane). The trick here is the alpha channel of the texture. I use it to reveal only the intended portion...
But there would be lots of options, depending on the visual style you're after...
Thank you so much Pedro, this is exactly what I needed to get me started! From there I can take it pretty much where I want. plus I learned something new with gl objects which is always good.