Hi Stephen, My guess is your dummy knob, even if not used to calculate the output, is contributing to the op's hash. You can check if that's the case, but my understanding is that if the hash changes, _validate gets called again.
As for why your artifacts are somewhat consistent for each value in your dummy knob, are you using the op's hash in any of your calculations? On Thu, May 19, 2011 at 9:28 AM, Stephen Newbold < stephe...@moving-picture.com> wrote: > Hi, > > I'm wondering if you guys can give me some pointers in where I might look > to iron out a glitch in my DrawIop. So everything is generally working as I > want it, but I'm getting very small glitches in the output. Could be in my > code but I'm noticing the glitches change when I use any knob, even those > unconnected with the output which is a bit odd. I've even added a null knob > that does absolutely nothing just to test this. Change this knob and my > artifacts change. > > So, what I'm trying to do first is work out why my output (albeit with > artifacts) is changing when I move unrelated controls. I'm assuming certain > things get updated on any knob change? I know it hard without seeing code, > but have you guys got any ideas what is called/updated each time a knob is > changed? If it helps, things don't change when changing to a different > frame, only when using a knob. Also, the change in artifacts will change > consistently, in other words if I move a slider back and forth, the result > will change consistently back and forth, same artifact pattern for each > value. > > I've also tried emptying the output buffer with memset for each row before > filling it again to see if this affected things, but this is crashing nuke, > > memset(buffer, 0, (R - X) * sizeof(float)); > > This has kind of got me stumped. > > Steve > > -- > Stephen Newbold > Compositing Lead - Film > MPC > 127 Wardour Street > Soho, London, W1F 0NL > Main - + 44 (0) 20 7434 3100 > www.moving-picture.com > > _______________________________________________ > Nuke-dev mailing list > Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev >
_______________________________________________ Nuke-dev mailing list Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev