Got it working. Thank you Michael!

--
Bruno-Pierre Jobin

> On Sep 20, 2016, at 8:26 PM, Bruno-Pierre Jobin <bpjo...@gmail.com> wrote:
> 
> Not sure why I’m getting this error...
> 
> <Screen Shot 2016-09-20 at 8.25.32 PM.png>
>> On Sep 20, 2016, at 5:06 PM, Michael Habenicht <m...@tinitron.de> wrote:
>> 
>> If you have a knob called mix which contains the amount of one of the 
>> cameras the expression should be this: 
>> Camera4.world_matrix*mix+Camera5.world_matrix*(1-mix)
>> With this you should be able to mix between the two cmaera paths.
>> 
>> Best regards,
>> Michael
>> 
>>> On September 20, 2016 10:21:04 PM CEST, Bruno-Pierre Jobin 
>>> <bpjo...@gmail.com> wrote:
>>> How would you guys mix animations from Camera 4 and Camera 5 into
>>> Camera 6? Putting Camera4.world_matrix+Camera5.world_matrix into
>>> local_matrix knob won’t work and I can understand why. But I’m having
>>> trouble figuring out what's the right expression.
>>> 
>>> Thank you
>>> 
>>> 
>>> 
>>> set cut_paste_input [stack 0]
>>> version 10.0 v3
>>> Camera2 {
>>> inputs 0
>>> translate {{curve x1021 50 x1041 150} {curve x1021 50 x1041 150} {curve
>>> x1021 50 x1041 150}}
>>> name Camera5
>>> selected true
>>> xpos -1715
>>> ypos 6719
>>> }
>>> Camera2 {
>>> inputs 0
>>> useMatrix true
>>> matrix {
>>> {{Camera4.world_matrix((Camera4.world_matrix-Camera4.world_matrix)+Camera5.world_matrix)}
>>> {Camera4.world_matrix((Camera4.world_matrix-Camera4.world_matrix)+Camera5.world_matrix)}
>>> {Camera4.world_matrix((Camera4.world_matrix-Camera4.world_matrix)+Camera5.world_matrix)}
>>> {Camera4.world_matrix((Camera4.world_matrix-Camera4.world_matrix)+Camera5.world_matrix)}}
>>> {{Camera4.world_matrix((Camera4.world_matrix-Camera4.world_matrix)+Camera5.world_matrix)}
>>> {Camera4.world_matrix((Camera4.world_matrix-Camera4.world_matrix)+Camera5.world_matrix)}
>>> {Camera4.world_matrix((Camera4.world_matrix-Camera4.world_matrix)+Camera5.world_matrix)}
>>> {Camera4.world_matrix((Camera4.world_matrix-Camera4.world_matrix)+Camera5.world_matrix)}}
>>> {{Camera4.world_matrix((Camera4.world_matrix-Camera4.world_matrix)+Camera5.world_matrix)}
>>> {Camera4.world_matrix((Camera4.world_matrix-Camera4.world_matrix)+Camera5.world_matrix)}
>>> {Camera4.world_matrix((Camera4.world_matrix-Camera4.world_matrix)+Camera5.world_matrix)}
>>> {Camera4.world_matrix((Camera4.world_matrix-Camera4.world_matrix)+Camera5.world_matrix)}}
>>> {{Camera4.world_matrix((Camera4.world_matrix-Camera4.world_matrix)+Camera5.world_matrix)}
>>> {Camera4.world_matrix((Camera4.world_matrix-Camera4.world_matrix)+Camera5.world_matrix)}
>>> {Camera4.world_matrix((Camera4.world_matrix-Camera4.world_matrix)+Camera5.world_matrix)}
>>> {Camera4.world_matrix((Camera4.world_matrix-Camera4.world_matrix)+Camera5.world_matrix)}}
>>> }
>>> name Camera6
>>> selected true
>>> xpos -1763
>>> ypos 6819
>>> }
>>> push $cut_paste_input
>>> Camera2 {
>>> translate {{curve i x1001 0 x1021 50} {curve i x1001 0 x1021 50} {curve
>>> i x1001 0 x1021 50}}
>>> name Camera4
>>> selected true
>>> xpos -1811
>>> ypos 6716
>>> }
>>> Scene {
>>> inputs 3
>>> name Scene6
>>> selected true
>>> xpos -1942
>>> ypos 6803
>>> }_______________________________________________
>>> Nuke-users mailing list
>>> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
>>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>> 
>> -- 
>> Sent from my Android tab with K-9 Mail. Please excuse my brevity.
>> _______________________________________________
>> Nuke-users mailing list
>> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
> 
_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to