Skip to content

Possible error in createExrCamVray.py #6

@vicnaum

Description

@vicnaum

In vfxpipe/nuke/fxpipenukescripts/createExrCamVray.py:
line 18: reqFields = ['exr/camera%s' % i for i in ('FocalLength', 'Aperture', 'Transform')]

It's checking for "FocalLength" field, but later is working only with camera FOV:
line 51: fov = node.metadata( 'exr/cameraFov', frame) # get camera FOV

There's no "FocalLength" field in vRay 3 for 3ds max 2015 (didn't check earlier).
So this check is redundant and should be checking for 'Fov' instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions