vfxpipe icon indicating copy to clipboard operation
vfxpipe copied to clipboard

Possible error in createExrCamVray.py

Open vicnaum opened this issue 10 years ago • 0 comments

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.

vicnaum avatar Apr 06 '15 14:04 vicnaum