u would be: -1 * (2/width * offset) v would be: ((root.format.h/root.format.w)*2)/root.format.h * offset
-deke On Thu, Apr 28, 2011 at 14:26, John RA Benson <john.benson.macg...@gmail.com> wrote: > While we're on the subject of cameras and a little matrix math - > > does anyone have the math for converting pixel values of the offset of a > filmback into the window u value for the camera? > > Say I want to offset the image by 15 pixels, I'd need to adjust the window u > by ... ? > > thanks! > JRAB_______________________________________________ > Nuke-python mailing list > Nuke-python@support.thefoundry.co.uk > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > _______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python