jit.gl.graph for a waveform display
Jul 25 2009 | 1:16 pm
Hi Jitters !
I'm trying to have something like a waveform display but rendered in a 3D GL environment. I'm using a jit.buffer~ to read a buffer then a jit.gl.graph to render it. Of course, I'm drastically downsampling (100). However, I still get a huge number of points to graph because I'm graphing a growing buffer (from 0 to 20 minutes).
My problem is that as soon as I turn the jit.gl.graph on, my CPU jumps to more than 115% (dual core is wonderful ;o) when it was around 35% before.
I can't get why. Is it because of the huge number of points ? Is it because a CPU-expensive option of jit.gl.graph is on ? Is it simply because of the way jit.gl.graph is working ?
Does somebody already tried something like this ? Do you have an idea for rendering a waveforme in 3D/GL without jit.gl.graph ?