Check out the example plugin source code included with Nuke, there should be several examples of accessing Row data. Perhaps Block.cpp, or Saturation.cpp or Dilate.cpp.
-jonathan On Sep 22, 2011, at 3:08 PM, sman77 wrote: > Hi, > > I am new to developing for Nuke and need some help with a function in cpp. > > I am trying to create a node that will process a image row by row, then > function I would like to apply is to change a pixel by sampling neighbouring > pixels for the pixels in the row iteratively. > > I have managed this with the input0().sample function, however then want to > iteratively process the row a number of times sampling the changed pixels. As > there is not Row.sample function I cannot do this. > > Sudo code in the engine: > > process Row x times > >for each pixel in Row > >>calculate the sampling vector > >>sample get new pixel value > >>replace old pixel > >End for > End process Row > > Please help! > _______________________________________________ > 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