This is how vray does it. They just have a 4x4 matrix for the world space location and then hapaerture, vaperture and focal lenght are separate metadata fields.
-deke On Mon, Mar 26, 2012 at 14:43, Michael Garrett <[email protected]>wrote: > Is it possible to get Solid Angle to add a focal length metadata key if > it's not there? Or, as Ivan pointed out to me some time ago, a filmback > width (haperture) may be better since that is fixed whereas focal may not > be. Or, maybe a projection matrix. > > I haven't actually used Arnold (yet). > > The stuff Frank did in the Python developers guide was great, and I > noticed that he had a predefined focal length metadata key which was read > by the python script. > > Michael > > > On 24 March 2012 10:52, Johannes Hezer <[email protected]> wrote: > >> Hello everyone, >> >> this came up on the arnold mailing list so I thought lets check back on >> the nukeside of things. >> worldToCamera and worldToNDC to create a fully functional camera ?!?! >> I stuffed all I could find in one script, but the focal length seems to >> be wrong. >> All is coming from Ivan Busquet, Michael Garret and Frank Rueter I think, >> or who is doing all the stuff on the python developers guide ? >> (deep bow to you) >> I am just looking for some input here, nothing production relevant... >> shouldnt it be possible to get the window uv translate out of the >> worldToNDC matrix too ? >> >> I know this is kind of an old topic and probably everyone has custom >> metadata or a custom fileformat to exchange cameras between apps. >> But i still like the idea to get the most out of those two matrices.. >> >> >> Cheers >> >> Johannes >> >> >> >> _______________________________________________ >> Nuke-python mailing list >> [email protected], http://forums.thefoundry.co.uk/ >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >> >> > > _______________________________________________ > Nuke-python mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > >
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
