Using Physical Cameras 使用物理相机 相机系列3

本文详细介绍了Unity中物理相机的使用,包括焦距如何影响视野,感光元件大小如何决定相机的长宽比,以及镜头位移在建筑摄影中的应用。此外,还讨论了镜头移位导致的视锥体倾斜和Gate Fit属性如何处理不同纵横比的适配问题,如裁剪、过扫描和拉伸模式。
摘要由CSDN通过智能技术生成

Using Physical Cameras 使用物理相机

本文档主要是对Unity官方手册的个人理解与总结(其实以翻译记录为主:>)
仅作为个人学习使用,不得作为商业用途,欢迎转载,并请注明出处。
文章中涉及到的操作都是基于Unity2018.2版本
参考链接:https://docs.unity3d.com/Manual/PhysicalCameras.html

The camera component’s Physical Camera properties simulate real-world camera formats on a Unity camera. This is useful for importing camera information from 3D modeling applications that also mimic real-world cameras.
相机组件的物理相机属性在Unity相机上模拟真实的相机方式。这对于从3D建模应用程序导入相机信息非常有用,这些建模应用程序也可以模拟真实的相机。
在这里插入图片描述
Unity provides the same settings as those in most 3D modeling application’s physical camera settings. The two main properties that control what the camera sees are Focal Length and Sensor Size.
Unity提供了与大多数3D建模应用程序的物理相机设置相同的设置。控制摄像机视觉的两个主要属性是焦距和感光元件(传感器)大小。

Focal Length: The distance between the sensor and the camera lens. This determines the vertical field of view. When a Unity camera is in Physical Camera mode, changing the Focal Length also changes the field of view accordingly. Smaller focal lengths result in a larger field of view, and vice versa.
焦距:感光元件与相机镜头之间的距离。这决定了垂直视野。当Unity相机处于物理相机模式时,改变焦距也会相应地改变视场。焦距越小,视野越大,反之亦然。
在这里插入图片描述
The relationship between a camera’s focal length, field of view, and sensor size
照相机焦距、视场和感光元件大小之间的关系

Sensor Size: The width and height of the sensor that captures the image. These determine the physical camera’s aspect ratio. You can choose from several preset sensor sizes that correspond to real-world camera formats, or set a custom size. When the sensor aspect ratio is different to the rendered aspect ratio, as set in the Game view, you can control how Unity fits the camera image to the rendered image (see information on Gate Fit, below).
感光元件大小:捕捉图像的传感器的宽度和高度。这些决定了物理相机的长宽比。您可以从几个与实际相机格式相对应的预先设置的传感器大小中选择,或者设置一个自定义大小。当传感器的长宽比与渲染的长宽比不同时,就像在游戏视图中设置的那样,你可以控制Unity如何将摄像机图像与渲染的图像匹配(参见下面的Gate Fit信息)。

Lens Shifts 镜头位移

Lens Shift offsets the camera’s lens from its sensor horizontally and vertically. This allows you to change the focal center, and reposition

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值