Jump to content

Bug is frustum display for Physically-based Camera


photo

Recommended Posts

I am using Unigine 2.15.0.1

I noticed a bug in the display of the frustum in the editor for physically-based camera. Frustum is displayed correctly when using vertical mode (see vertical.png).

Screenshots below display the same camera set using both modes. vertical.png

physically-based.png

Both modes give the same accurate screenshot using Tools->Video Grabber.

screenshot.thumb.jpg.3c5e732a8b894daf7505098bb6682d31.jpg

In physically-based mode focal length and film gate are set in pixels as unit and not in mm but it shouldn't matter since it's used as a ratio to compute FoV.

I am guessing the mistake is an inversion of width and height to display frustum because in physically based mode the FoV is computed horizontally whereas in vertical mode it's.. vertical FoV. When I put 1080 in film gate I get a correct frustum but an incorrect screenshot (see physically_based_vertical_filmgate.png)

physically_based_vertical_filmgate.png

 

Edited by Coppel.Damien
clarity
Link to comment
×
×
  • Create New...