2 "slab" inputs on jit.gl.slab


    Jul 17 2006 | 12:36 pm
    Hello ,
    It may sounds basic..I'm trying to compose 2 textures with a slab obj..and each of those textures are coming from 2 distinct slab obj..As a result the slab obj used to compose the textures seems to ignore the first input..Not sure I'm clear ..but here is an example..(I guess I'm missing a point to chain slab obj ..but I couldn't find the info in the doc..)
    Any help is welcome .
    Thanks .
    Pascal .
    max v2;

    • Jul 17 2006 | 3:24 pm
      Seems to work fine here. You may be using an operator that takes only
      one input. Try using "absdiff" or something that requires both inputs.
      It might be more straightforward to use one of the composite shaders to
      accomplish this.
      Cheers,
      Andrew B.
    • Jul 18 2006 | 7:29 am
      Andrew ,
      Well I've tried with op. like add, sub, absdiff etc. which I guess have 2 inputs ( the idea is that I want to have a dry/wet on the fx chain..performed by the op. shader..)..and still the same problem (it seems to work with only 1 input..)..Could it be related to grpahic cards or Jitter versions since I've tried on :
      -A Intel Mini with Jitter 1.6..it doesn't work .
      -a Power Book with Jitter 1.6..it doesn't work.
      -a Power Book with Jitter 1.5..it works.
      -A Pc with Ati Mobility 9700 and Jitter 1.5 ..it works.
      The "funny" point is that if I copy on of the jit_gl_texture into a jit_matrix before sending it to slab obj ..it works ..(not sure I'm clear so here is the test..).
      Bests
      Pascal
      max v2;
    • Jul 18 2006 | 3:59 pm
      So ..sorry for the the noise..I finaly got those patches working by sending the message "glreadback fbo" to Jitter..(coming back to "glreadback rtt" ..makes the slab obj act like if there were only one input).
      Pascal
    • Jul 18 2006 | 5:51 pm
      On Jul 18, 2006, at 8:59 AM, pascal wrote:
      >
      > So ..sorry for the the noise..I finaly got those patches working
      > by sending the message "glreadback fbo" to Jitter..(coming back to
      > "glreadback rtt" ..makes the slab obj act like if there were only
      > one input).
      Thanks for the report. I've verified and will try to fix for the next
      beta.
      -Joshua