Thanks Nathan(s).

I thought of something like that but wanted to be sure that there was not a
simpler solution before :)
It is gonna be fun!

Thanks, I'll keep you updated

On Sat, Feb 16, 2013 at 3:28 AM, Nathan Dunsworth <[email protected]>wrote:

> Their would be a simple solution if the AppendClip node correctly
> propagated the metadata from the inputs instead of always sending input1s
> metadata regardless if its active or not.  You would add metadata to each
> input then inspect after the node.
>
> On Fri, Feb 15, 2013 at 5:43 PM, Nathan Rusch <[email protected]>wrote:
>
>>   I don’t think there’s a particularly simple solution to this, since
>> multiple inputs can be "active" at once (for dissolves).
>>
>> With the caveat that I haven’t officially tried this, you should be able
>> to calculate the active input by taking the 'firstFrame' value and adding
>> the frame counts of the inputs together in order until you hit your
>> "target" frame. Things will be trickier (but not impossible) if you’re
>> using dissolves.
>>
>> Hope this helps somewhat.
>>
>> -Nathan
>>
>>
>>  *From:* Luca Fiorentini <[email protected]>
>> *Sent:* Friday, February 15, 2013 8:55 AM
>> *To:* Nuke Python discussion <[email protected]>
>> *Subject:* [Nuke-python] AppendClip active input
>>
>> Hi,
>>
>> Is it possible to get the active input of an AppendClip?
>> What I mean is, if I have have an AppendClip with 10 inputs with variable
>> frame lenght, can I know which input is being displayed at the current
>> frame?
>> I have been trying to figure out this for a while but without any luck.
>>
>> Thanks!
>>
>> --
>> *Luca Fiorentini - 3D Lighting Artist*
>> My Showreel <http://www.vimeo.com/lucafiorentini/reel> - My 
>> blog<http://lucafiorentini.wordpress.com>- My
>> Flickr <http://www.flickr.com/photos/lucafiorentini>
>>
>> ------------------------------
>> _______________________________________________
>> Nuke-python mailing list
>> [email protected], http://forums.thefoundry.co.uk/
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>>
>>
>> _______________________________________________
>> Nuke-python mailing list
>> [email protected], http://forums.thefoundry.co.uk/
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>>
>>
>
> _______________________________________________
> Nuke-python mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>


-- 
*Luca Fiorentini - 3D Lighting Artist*
My Showreel <http://www.vimeo.com/lucafiorentini/reel> - My
blog<http://lucafiorentini.wordpress.com>- My
Flickr <http://www.flickr.com/photos/lucafiorentini>
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to