thank you so much. this is just what I was looking for.

I tweaked it to look at the world matrix so that it can include the values of 
any parent axis tweaker transformations.

thanks!! woo too!!

-Dale


On Mar 6, 2012, at 2:56 AM, Joe Laude wrote:

> So I made two cameras, gave them some random animation, and then created a 
> new camera with a user knob to control which camera's animation is given more 
> weight. 0.5 would be an exact average, but you can slide it around and 
> animate it from one camera to the other if you'd like. This could potentially 
> give bad results if your cameras' rotations were very different (like, going 
> the wrong way about the axis). If the cameras are supposed to be in similar 
> positions in space, that probably won't be a problem. Give this a try:
> 
> set cut_paste_input [stack 0]
> version 6.3 v1
> push $cut_paste_input
> Camera2 {
> translate {{curve x1 5.579999924 x33 7.577629566 x66 6.912240505 x100 
> 7.475720882} {curve x1 3.619999886 x33 2.726438046 x66 2.297854662 x100 
> -1.248544455} {curve x1 0 x33 -3.644165516 x66 -7.961611748 x100 
> -11.54109287}}
> rotate {{curve x1 -11.80996483 x33 -4.06994879 x66 -17.03772759 x100 
> -44.08487885} {curve x1 -18.77281591 x33 -2.666896453 x66 -4.601900571 x100 
> -10.39448497} {curve x1 1.217797543 x33 8.694029974 x66 9.037508234 x100 
> 12.06867191}}
> name CameraB
> selected true
> xpos -1351
> ypos 32
> }
> Camera2 {
> inputs 0
> translate {{CameraA.translate.x*(1-camweight)+CameraB.translate.x*camweight} 
> {CameraA.translate.y*(1-camweight)+CameraB.translate.y*camweight} 
> {CameraA.translate.z*(1-camweight)+CameraB.translate.z*camweight}}
> rotate {{CameraA.rotate.x*(1-camweight)+CameraB.rotate.x*camweight} 
> {CameraA.rotate.y*(1-camweight)+CameraB.rotate.y*camweight} 
> {CameraA.rotate.z*(1-camweight)+CameraB.rotate.z*camweight}}
> name AverageCamera
> selected true
> xpos -1436
> ypos -98
> addUserKnob {20 User}
> addUserKnob {7 camweight l "Camera Weight" t "Weight value of average:\n0 = 
> Camera A\n1 = Camera B\nValues in between are a mix of the two"}
> camweight {{curve x1 0 x50 1 x100 0}}
> }
> Camera2 {
> inputs 0
> translate {{curve x1 0 x33 -0.9430168271 x66 0.05442454293 x100 -2.200000048} 
> {curve x1 0 x33 1.117744684 x66 2.15690279 x100 3.299999952} {curve x1 0 x33 
> -4.26999712 x66 -8.501599312 x100 -12.14000034}}
> rotate {{curve x1 0 x33 -2.149965966 x66 16.17216845 x100 25.75055595} {curve 
> x1 0 x33 11.63876614 x66 3.188414907 x100 29.54284944} {curve x1 0 x33 
> -12.90802361 x66 -5.010731362 x100 -0.5604851632}}
> name CameraA
> selected true
> xpos -1531
> ypos 35
> }
> 
> 
> On Mar 5, 2012, at 11:53 PM, Dale Carman wrote:
> 
>> I would like to be able to mix between one animation curve and another with 
>> a slider, or 0 - 1 mix.
>> 
>> I am  specifically wanting to go from one camera position smoothly to 
>> another camera position. Does anyone have a way to do that? 
>> 
>> They are matched moved cameras with obviously a lot of data. They are also 
>> moving around in the edit, so copying and pasting all day is a bummer and 
>> seems to be bit clunky anyway.
>> 
>> thanks for any help.
>> 
>> -Dale
>> 
>> 
>> _______________________________________________
>> Nuke-users mailing list
>> [email protected], http://forums.thefoundry.co.uk/
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
> 
> _______________________________________________
> Nuke-users mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to