Cuco...
Happy to help (I think J ) Steve From: [email protected] [mailto:[email protected]] On Behalf Of Cuco Bures Sent: Wednesday, November 21, 2012 8:34 AM To: Nuke plug-in development discussion Subject: RE: [Nuke-dev] Viewer context on mouse drag laziness Hey Steve! just tried the asapUpdate() call and it does the job!! Thank you so much! Cuco _____ From: [email protected] [[email protected]] on behalf of Cuco Bures [[email protected]] Sent: 21 November 2012 16:30 To: Nuke plug-in development discussion Subject: RE: [Nuke-dev] Viewer context on mouse drag laziness The mouse drag is sampling some channels of the input0 and storing the result on one knob. The node must recalculate the image based on that... same thing as using the color picker on, let's say the multiple knob, on a grade node. The grade node changes to show the result in real time while dragging on the viewer. This is the behavior I want to achieve. Does it make sense? I'll give your answer a try... Cheers, Cuco _____ From: [email protected] [[email protected]] on behalf of Steve Booth [[email protected]] Sent: 21 November 2012 16:24 To: 'Nuke plug-in development discussion' Subject: RE: [Nuke-dev] Viewer context on mouse drag laziness Call 'asapUpdate()' on your Op after you make the changes, but it's not clear from your post how the output of the node changes based on mouse movement. Steve From: [email protected] [mailto:[email protected]] On Behalf Of Cuco Bures Sent: Wednesday, November 21, 2012 3:30 AM To: Nuke plug-in development discussion Subject: [Nuke-dev] Viewer context on mouse drag laziness Hi guys, I'm changing the values of a knob when the user drags the mouse on the viewer. Using Knob->set_value() to do so. Can see the values changing all the time while dragging the mouse, but the plugin doesn't get re-rendered until mouse release. How can I force the plugin to re-render? I was expecting the node working similar to a grade node when you use the color picker, that constantly updates the image so you can easily see what the result is... Thanks in advance, Cuco Bures P.S. Btw, is there any better way to set the values of the knob other than that?
_______________________________________________ Nuke-dev mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
