Hi Jack,

I finally got back on the node I'm making and using the NukeWrapper
did indeed do the trick. I however needed extra information for my
node ahead of time to do some pre computations in the validate and
thus had to pass the nukewrapper back into my node like this:

    MyNode *my_node = new MyNode(node);
    NukeWrapper *wrapper = (new NukeWrapper(my_node));
    my_node->setWrapper(wrapper);

I know this isn't how it's suppose to work but was wondering if there
was an easier/better way to get the channels from the wrapper so that
I can pre-compute in the validate function.

Cheers,
Josh

-\|/-\|/-

On Mon, Feb 14, 2011 at 10:52 AM, Jack Binks <[email protected]> wrote:
> Hey Josh,
>
> Best way to get one of those from memory is using NukeWrapper. Check out
> some of the samples for examples of how to limit down the wrapper to certain
> controls.
>
> Cheers
> Jack
>
> On 14/02/2011 10:40, Josh Imbruglia wrote:
>>
>> Hi,
>>
>> I would really like to be able to get optional inputs to work for the
>> node that I'm writing and am still unable to do so. Setting
>> optional_inputs doesn't seem to do anything. All I want is the mask
>> channel to be optional exactly the same way it is for the blurs,
>> dilates, glow, ... etc.
>>
>> Can this be done from the NDK?
>>
>> thank you.
>>
>> Josh
>> _______________________________________________
>> Nuke-dev mailing list
>> [email protected]
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
>
> --
>
> Jack Binks, Product Manager
> The Foundry, 6th Floor, Communications Building
> 48 Leicester Square, London, WC2H 7LT, UK
> Tel: +44 (0)20 7434 0449 - Fax: +44 (0)20 7434 1550
> Web: www.thefoundry.co.uk
>
> The Foundry Visionmongers Ltd.
> Registered in England and Wales No: 4642027
>
> _______________________________________________
> Nuke-dev mailing list
> [email protected]
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
>
_______________________________________________
Nuke-dev mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to