dsman Posted November 23, 2016 Share Posted November 23, 2016 So apparently based on device orientation and hence canvas aspect/size , the babylon camera cover more or less of scene. How do we restrict camera to cover fixed horizontal and vertical fov ? Or say cover fixed portion of the scene regardless of target canvas size/aspect. For example, In case of physical camera and screen playback, where the camera lens has fixed fov or coverage. Now if the aspect of target screen is bigger or smaller, either 1 . Fit the max side (left to right or top to bottom) of cameraview (video) to target screen's respective side and show black strip in other side . (Just like how some channel broadcast 16:9 movies on 4:3 format by adding black strip on top and bottom ) 2. Fit the min. side of camera view to the respective side of screen and other side gets cropped. (Just like how some channel broadcast 16:9 movies in 4:3 format , left-right cropped) Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted November 23, 2016 Share Posted November 23, 2016 Hello, I would recommend to play with canvas size actually. This is easier and you can exactly how the ratio is built Quote Link to comment Share on other sites More sharing options...
dsman Posted November 24, 2016 Author Share Posted November 24, 2016 Thanks @Deltakosh Will try. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.