It is straightforward to create an instance of a Blur node in a C++ plugin
and attach the your plugin's input to it. Not sure if I've seen examples in
the NDK (have a look).

There may be a few ways to do this, some uglier than others. One way is to
execute the Tcl commands for creating and wiring the Blur node in your c++
code.

-blake




On Wed, May 1, 2013 at 9:28 AM, Steve Booth <[email protected]> wrote:

> Sounds like you want to be in Python mode, and not C++… Gizmo capabilities
> come to mind.  Jonathan can correct me, but I don’t believe you can hand
> your _engine lines to an exernal class.  The only answer I’ve found in the
> past is to actually do the Gaussian blur yourself, in your C++ code.  In
> fact, my first reaction would be to do the blur as an integral part of
> whatever computation you with to accomplish.****
>
> ** **
>
> For sure you can’t make an instance of another Iop from within another
> Iop… it would wreck havoc with Nuke’s cache management, I’m thinking.****
>
> ** **
>
> Steve****
>
> ** **
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *kulitorum
> *Sent:* Wednesday, May 01, 2013 12:56 AM
> *To:* [email protected]
> *Subject:* [Nuke-dev] DD::Image::Blur****
>
> ** **
>
> In my Iop plugin, I need a (Gaussian) blurred version of the input image,
> and I see DD::Image::Blur exists, but how do I use it?
>
> Can I make a instance of it and just ask for a blurred version of the line
> I am processing?
>
> It is not used in any of the example plugins.
>
> Thanks.****
>
> _______________________________________________
> Nuke-dev mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
>
>


-- 
*B*l*a*k*e* S*l*o*a*n
*S*o*f*t*w*a*r*e, *C*o*l*o*r*
*D*i*g*i*t*a*l* D*o*m*a*i*n*
_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to