I've got a camera that flips between -180 and 180 in the Z rotation on
different frames, and that causes a lot of artifacts when using it together
with a MotionBlur3D node. I've seen this happen before (not only -180-180).
Does anyone have a Python script to straighten out the curves? See attached
example.

set cut_paste_input [stack 0]
version 7.0 v4
push $cut_paste_input
Camera2 {
 rot_order XYZ
 translate {-5599.912598 31.80986977 1745.015381}
 rotate {{curve x631 179.7694855 179.7145844 179.6449738 179.5619507
179.4663696 179.3612671 179.2507477 179.1431274 179.0429688 178.9511566
178.8681488 178.7936401 178.7257385 178.6612396 178.5993958 178.5437164
178.4951324 178.4573517 178.4324951 178.4190063 178.4145203 178.4155884
178.4201813 178.4236603 178.4251251 178.4251251 178.4243927 178.4230652
178.4220886} {curve x631 0.7164978385 0.7114307284 0.7057623863
0.6989252567 0.6921813488 0.6860281229 0.6809126735 0.6774480343
0.6746181846 0.672963202 0.671308279 0.6703519821 0.6702216864 0.670091331
0.669960916 0.6702754498 0.6705902815 0.6716045141 0.6736360192
0.6759859324 0.6784633994 0.6809381843 0.6831234097 0.6842663288
0.6844568849 0.6845838428 0.6842663884 0.6837584376 0.6836587787} {curve
x631 -179.9998322 -179.9997864 -179.9997101 -179.9996185 -179.9994965 180
180 180 180 180 180 180 180 180 -180 -180 180 -180 180 180 180 180 180 180
180 180 180 -180 180}}
 focal 17.88800049
 haperture 27.66059875
 vaperture 14.57960002
 near 10
 far 600000
 focal_point 112.2665217
 file
/storm/projects/LM_STELLA_0073/scenes/sc015/A089_C003_1012VH/A089_C003_1012VH.fbx
 fbx_node_name {{7} "Producer Perspective" "Producer Top" "Producer Bottom"
"Producer Front" "Producer Back" "Producer Right" "Producer Left"
Camera_A089_C003_1012VH2}
 name global_camera
 selected true
 xpos 421
 ypos -121
}
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to