Thanks Ean. Turns out there's a node called Sampler, which I modified to create make it sample the X,Y of the image and present the RGBA values for that position. The node updates itself if the footage piped into the node changes. Gizmo attached, maybe it could be useful for someone.
// Fredrik On Wed, Apr 3, 2013 at 2:24 PM, Ean Carr <eanc...@gmail.com> wrote: > Use an XY_Knob. For example... > > nuke.createNode('NoOp').addKnob(nuke.XY_Knob('position')) > > > -Ean > > > On Tue, Apr 2, 2013 at 11:49 AM, Fredrik Averpil < > fredrik.aver...@gmail.com> wrote: > >> Hi, does anyone know how I could ask the user to choose a pixel using >> i.e. a crosshair using Python? >> >> What I want is X,Y - I do not need the rgb values or anything like that. >> Just the pixel selected by the user. >> >> // Fredrik >> >> >> >> _______________________________________________ >> Nuke-python mailing list >> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >> >> > > _______________________________________________ > Nuke-python mailing list > Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > >
RGBASampler.gizmo
Description: Binary data
_______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python