I used ptgiu and Nuke quite extensively for GIJoe a few years back and I ended up just using the Card node and piping in the ptgui values. worked perfectly. In fact, for that very reason I was asking to keep the "old" distortion model when the new lens distortion node arrived, so we could keep using ptgui in that combination.

On 14/06/12 6:11 AM, Michael Garrett wrote:
You may want to give it a shot using a Card instead, since the three lens distortion co-efficients correspond with the PTGui lens distortion model. You would need to set it up with a camera and a ScanlineRender, so it's more involved, but just make sure that before applying the lens distortion, you have the card rendering through the camera matching the straight image "pixel for pixel", as with this setup Nuke is smart enough to not do a filter hit.

So in summary, match the camera's focal length and haperture in the equivalent fields in the Card's projection tab (it can be any camera) then go to the Lens Distortion tab and populate it with the PTGui data.

I got some interesting notes on this topic from an engineer at the Foundry and I posted them on Nukepedia:

http://www.nukepedia.com/written-tutorials/the-lens-distortion-model-in-the-card-node-explained/

Cheers,
Michael



On 13 June 2012 10:20, Graham Houston <[email protected] <mailto:[email protected]>> wrote:

    If I have distortion parameters from PTGui, (lens correction
    parameters: abc, image shift: de), how do I translate that into
    Nuke's LensDistortion node?
    I see the 'Card Parameters' rollout, but the only values that
    affect the image output are the 'Radial Distortion' fields.

    _______________________________________________
    Nuke-users mailing list
    [email protected]
    <mailto:[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