Camera Field of View

Is there any way of resetting the fray camera? it renders with an extremely wide field of view and does not match the Sketchup field of view. The camera position matches and moves with interactive render but renders a exaggerated perspective.

Hi robD,

Can you share an example scene with the problem that we can test here?
In theory the FOV of the render camera should always match the SketchUp cam but there might be something else going on in your case which is scene-specific.

Thak you in advance,
Konstantin

Thank you,
I’ll take a look.

The issue in your scene was with a camera created using a plugin (Advanced Camera Tools maybe).
It has already been fixed and will make it in our next release.

In the meantime you can run the following script that should fix the field of view in your scene:
Sketchup.active_model.active_view.camera.image_width = 0
And this should do it for all scenes/cameras in the project:
Sketchup.active_model.pages.map(&:camera).push(Sketchup.active_model.active_view.camera).each{|c|c.image_width = 0}

Thank you for pointing this out.
Konstantin

Superstar, thanks will try

Just an update - this seems to occur when 2 point perspective is used in Sketchup, if I then try to pan etc the SU view movers but the Vray (interactive) does not, it updates, as in it recognises there is a change in the scene but the render camera does not move. the above script works but if I reset to a 2 point it occurs again.