Pro Scene: Python exportTo<Format> function does not use Field of View setting

215
0
02-15-2022 11:27 PM
Labels (1)
Tim_McGinnes
Occasional Contributor III

I have come across an issue when trying to use Python to export a scene view. It is not using the actual Field Of View setting in the scene, but just always uses the default FOV of 55. Interestingly, if you manually export the scene view to an image, it does use the current FOV. Being able to do it manually is not a viable workaround as we are using Python to automatically create panoramic images from the scene and need to export potentially hundreds of images at once.

Steps to reproduce.

1. Have a 3D scene ready with Camera settings at your required view point. Leave FOV at 55. In the Share tab choose Export Map and export it using the Export Map pane.

1.jpg

2. Export the same scene using Python:

2.jpg

3. Change the Field of View to 100. Export the scene using Export Map again.

3.jpg

4. Now export using Python.

4.jpg

Checking the outputs, here are the FOV55 outputs side by side. Export Map on the left and Python on the right. They are the same.

FOV55_Comparison.jpg

And here are the FOV100 outputs. The Export Map on the left has been output using the correct FOV, but Python on the right is still using FOV55.

FOV100_Comparison.jpg

Hopefully this can be fixed in a future version of Pro.

0 Kudos
0 Replies