How can you eliminate the lens distortion in an I-Ray render?

For the products that have pre-built indoor scenes, lighting, etc., when I render in I-Ray, there is a significant amount of what appears to be lens distortion.  That is, the walls are not parallel.  The top of the walls at the ceiling are further apart than the walls at the floor.  The walls appear to be leaning outward.  Is there a way to eliminate this distortion in the camera settings? 

There is a Perspective button in the camera settings, but I can't figure out what it is for.  When I click that button, it just pulls the camera completely out of the scene.

 

Comments

  • Richard HaseltineRichard Haseltine Posts: 102,443

    This is inevitable if you try to place a camera in a small (typical domestic) room and show a wide slice of the contents - if you fix your stare as you look across your room now, if you are at home (and not living in Buckingham Palace), you will probably see just how narrow segment of the room. If you wish to avoid this you will need to pull the camera back and use an Iray Section Plane Node (from the Create menu) to render the near walls invisible to the camera - select the plane and in the Parameters pane turn on Clip Lights, otherwise it will affect the lighting (and cause the missing wall to show in reflections).

  • prixatprixat Posts: 1,590

    It's the "Focal Length" that you want to play with, it has a direct effect on the distortion. The longer the focal length (110mm) the flatter the image but you'll have to use the method Richard suggested to get a new position for the camera.

    It's a trade off between how much you can fit into the scene and how much 'fish-eye' distortion you can put up with.

    (Switching off Perspective gives you a geometric projection, like an engineering drawing.)

  • Peter WadePeter Wade Posts: 1,639

    For any given focal length and render size there is a viewing distance where the perspective will look correct. If you are using a short focal length to get a wide angle then if you get close to your render you should find a distance where it will look realistic. You are effectively putting your eyes at the same position as the camera relative to the render. But if you want a render that looks realistic at normal viewing distances then Richard's advice will fix the problem.

     

  • Thanks guys!  That's very helpful!

Sign In or Register to comment.