-
Relationship between FOV and Camera Position
Hi,
Im trying to automatically adjust my Camera Z Position so that when I change my FOV, the overall size of my object is maintained while the "warp" of the object changes. Is there a mathematical relationship to do this. Has anyone already done anything like this?
Any help would be appreciated
Thanks,
Vishant
-
Re: Relationship between FOV and Camera Position
old FOV = f
new FOV = f'
old z distance to object in focus = z
new z distance to object in focus = z'
z' = z * tan(f/2) / tan(f'/2)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules