"3D waveform"

    Aug 16 2012 | 1:58 pm
    Hi everybody,
    I would like to have a waveform picture captured by [jit.cacth~] to be "transformed/modified" via a combination of [jit.expr] and [jit.gl.mesh] objects, inspired by a great tutorial by Andrew Benson. I can't find a solution to connect correctly the different parts of the patch so that the waveform would be 'integrated" in the [jit.gl.mesh] operations.
    Thanks for any help ! Nakatano.

    • Aug 16 2012 | 5:08 pm
      jit.gl.graph is a 3D geometric shape. if you want to apply it to a jit.gl.mesh as a texture, you have to capture it to the texture. the best way to do this is to bind the jit.gl.graph to a jit.gl.node @capture 1 the gl.node will output a texture that can be applied to the gl.mesh.
    • Aug 17 2012 | 7:38 am
      Hi Robert,
      Thanks ! Just one more question: is there any way/attribute to "erase" (or make invisible) the background geometrical form so I could have the waveform only onscreen. That way, for example, using the third mathematical message (jit.expr), I would have the "rotating" waveform only ? I took a look at the reference pages for the [jit.gl.node] and [jit.gl.graph] objects but didn't find any solution.
    • Aug 17 2012 | 5:11 pm
      two options.
      either remove the @erase_color attribute from the jit.gl.node box. this will clear the erase_color overide of jit.gl.node, meaning it's erase_color will match that of the jit.gl.render (the background color).
      or set the alpha (transparency) value of the jit.gl.node @erase_color to 0, and set @blend_enable 1 and @depth_enable 0 on your jit.gl.mesh. this will allow you to actually see through the mesh shape.
    • Aug 17 2012 | 7:03 pm
      Works great ! I begin to understand the logig of jit.gl objects...
      Thanks a lot !