Blender-For-UnrealEngine-Addons icon indicating copy to clipboard operation
Blender-For-UnrealEngine-Addons copied to clipboard

Import of blender camera property 'Shift X', 'Shift Y'.

Open lzyplayer opened this issue 4 years ago • 2 comments

Thanks for such great work! I am currently using blender camera import part of this plugin. The transform and FOV part turns out well. However I am not sure camera shift is imported. Since camera shift help set cx cy of camera intrinsic, I assume this is a important feature.

bpy.data.cameras["Camera"].shift_x
bpy.data.cameras["Camera"].shift_y

I haven't found any match of this property in source code of the plugin. Are these property imported? Does Unreal support camera shift? Thanks in advance for any reply!

lzyplayer avatar Oct 08 '21 07:10 lzyplayer

TnS3HW.md.png

lzyplayer avatar Oct 08 '21 07:10 lzyplayer

Hey @lzyplayer Indeed currently the shift is not exported. That because it is something that is not supported in Unreal Engine cameras and I have not found an equivalent. :/ https://forums.unrealengine.com/t/feature-request-shift-camera-for-unreal-studio/109334

It is best to use a wide angle and then crop the image after rendering.

xavier150 avatar Oct 09 '21 13:10 xavier150