Replies: 8 comments 1 reply
-
Here f refers the focal length which will give me image co-ordinates to real co-ordinates values. Cam you explain how to get the focal length value for the camera. |
Beta Was this translation helpful? Give feedback.
-
I'm not entirely familiar with f values/f-stop/focal length, but for the default camera placed on vehicles, there is no depth of field effect applied (the default Unreal Camera Actor essentially has an infinite depth of field: everything is rendered in focus), so the I don't think there is a valid f-stop or focal length (perhaps it's 0 or infinity? I'm not sure how the math would work for an infinite depth of field). If you look in the Blueprint implementation of the PIPCamera class (our custom child of the CameraActor class), the Aperture/F-stop property is disabled: To obtain a valid f-stop or focal length, I believe you would either need to enable the depth of field post processing effect or convert the existing PIPCamera class to be child of the Cinematic Camera Actor. There is a PR for converting the PIPCamera here; I've tested this PR and it does work, but there is some outstanding feedback we're hoping to address before merging it into master. |
Beta Was this translation helpful? Give feedback.
-
Hi
Thanks
I want to know the below values for the center camera on drone
[image: Screenshot from 2021-12-15 15-11-53.png]
…On Wed, Dec 15, 2021 at 2:56 PM zimmy87 ***@***.***> wrote:
I'm not entirely familiar with f values/f-stop/focal length, but for the
default camera placed on vehicles, there is no depth of field effect
applied (the default Unreal Camera Actor essentially has an infinite depth
of field: everything is rendered in focus), so the I don't think there is a
valid f-stop or focal length (perhaps it's 0 or infinity? I'm not sure how
the math would work for an infinite depth of field). If you look in the
Blueprint implementation of the PIPCamera class (our custom child of the
CameraActor class), the Aperture/F-stop property is disabled:
[image: image]
<https://user-images.githubusercontent.com/5205889/146156994-dd55d913-503a-4bb6-a6fe-15688b083c6e.png>
To obtain a valid f-stop or focal length, I believe you would either need
to enable the depth of field post processing effect
<https://docs.unrealengine.com/4.26/en-US/RenderingAndGraphics/PostProcessEffects/DepthOfField/>
or convert the existing PIPCamera class to be child of the Cinematic
Camera Actor
<https://docs.unrealengine.com/4.27/en-US/RenderingAndGraphics/PostProcessEffects/DepthOfField/CinematicDOFMethods/>.
There is a PR for converting the PIPCamera here
<#3949>; I've tested this PR and
it does work, but there is some outstanding feedback we're hoping to
address before merging it into master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4212 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWGRJ5GBDY7HJM34IWTMYPDURBNLNANCNFSM5J5JKZXQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
The center camera still uses the default camera settings, so it will have all the same values as a regular PIPCamera. |
Beta Was this translation helpful? Give feedback.
-
I require an obstacle map from the unreal environment which describes the unreal map grid with free and obstacles. What are the available methods I can get such obstacle data from the umap. Thanks |
Beta Was this translation helpful? Give feedback.
-
I'm not very familiar with getting obstacle data from a umap. It sounds like RTABMAP may be a potential solution for your needs. There's been some work done using RTABMAP with AirSim (see https://www.youtube.com/watch?v=60kSTv1Nndk), but I don't think there's documentation or a tutorial for doing this yet, so if you want to go this route, it will probably require some research and experimentation on your end. |
Beta Was this translation helpful? Give feedback.
-
how to set cameras on drone; orientation values in python apis. Thank you. |
Beta Was this translation helpful? Give feedback.
-
There is a |
Beta Was this translation helpful? Give feedback.
-
How to know the f value for cameras put on airsim vehicle or environment
Beta Was this translation helpful? Give feedback.
All reactions