Community
VRED Forum
Welcome to Autodesk’s VRED Forums. Share your knowledge, ask questions, and explore popular VRED topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Why is the camera image distorted?

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
homoly07
508 Views, 5 Replies

Why is the camera image distorted?

Hi, guys.

i have the camera settings as followed and..

the snapshot saved and the image shown is somehow distored.

( can see the head and the arms are stretched) 

Is there any solutions to get rid of the distortion?

it seems like resolution issue but have no idea how to solve this issue. 

correct me if i'm wrong! 

 

Thanks all.

 

**python script for camera setting**

cameraName = "Perspective Aim Camera"

camera = vrCameraService.createCamera(cameraName,vrCameraTypes.ProjectionPerspective)

setTransformNodeTranslation(camera, 1125.54,-0.28,1137.66, True)

 

camera1 = vrNodeService.findNode('Perspective Aim Camera')

print(camera1)

setTransformNodeRotation(camera1, 55, 0, -90)

camera.setFov(108)

camera.setSensorSize(QVector2D(4.858,3.956))

 

camera.activate()

createSnapshot('D:/snap/test04', 1600,1300,1,False,0.0,0.0,0.0,False,1,0,0)

 

JG_CAMERA_test04.png

5 REPLIES 5
Message 2 of 6

I think it's a problem related to a very short focal length.

Try to print camera.getFocalLength().

It is a perspective type deformation!

Message 3 of 6

Hi @homoly07,

108° FOV is a lens of about 8.7mm...

so a very short focal length, and like @michele_dellacianaK7KER says, is a normal perspective deformation.

If you need to manage this distortion you can try to use distortion maps.

Here you can find some info.

https://forums.autodesk.com/t5/vred-forum/distortion-map-with-spherical-camera/m-p/6029185#M1436

https://help.autodesk.com/view/VREDPRODUCTS/2024/ENU/?guid=VRED_Cameras_Advanced_CameraEd

 

Maybe this can help

 

Best

Chris

Christian Garimberti
Technical Manager and Visualization Enthusiast
Qs Informatica S.r.l. | Qs Infor S.r.l. | My Website
Facebook | Instagram | Youtube | LinkedIn

EESignature

Message 4 of 6

 Thanks for the reply! 

i will try the distortion map.. but what kind of distortion map should i use?

is there any website i can infer?

 

Thanks again 🙂

Message 5 of 6
michael_nikelsky
in reply to: homoly07

The distortion map won´t help you, it only shifts pixels to different positions. Its purpose is to correct small inaccuracies when matching a real camera image.

As Chris already said, your issue is completely caused by the wide angle FOV of 108 degree and it is similar to what you would get with a real lens with this FOV, 



Michael Nikelsky
Sr. Principal Engineer
Message 6 of 6
michael_nikelsky
in reply to: homoly07

One more thing: VRED by default uses a vertical FOV. Some other applications and probably also some camera manufactures specify a horizontal FOV. Unless you have a square resolution this can cause quite a difference.



Michael Nikelsky
Sr. Principal Engineer

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report