Hi,
I am trying to calculate the distance between an axis and a 3D camera in
an expression. But I have several problems and not sure where to begin.
I was using this as a guideline from nukepedia, but planning to swap in
Vector3
pointA = nuke.math.Vector2(50,100)
pointB = nuke.math.Vector2(150,175)
distance = pointA.distanceBetween(pointB)
print distance
But I am guessing I need to call python in the expression? But none of
the python syntax worked either.
Also how would I assign an animated camera as a vector variable
...Vector3(parent.Camera.translate.x, parent.Camera.translate.y,.....etc?
Or am I just totally off in the wrong direction?
hopefully this is possible
Thanks.
Adam
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users