Camera Field of View
Blitz3D Forums/Blitz3D Programming/Camera Field of View
| ||
How do I change the field of view of my camera so it is less fish eyed...... looked in the manual but I can't see it, only orthag view etc but that isn't it. |
| ||
CameraZoom |
| ||
CameraZoom is the function for this. Unsure if it accepts negative values or not. However, without the 'fisheyed-ness', perspective will be warped and things may not look right. |
| ||
A 1.6 zoom value for CameraZoom seems to give the most eye friendly perspective, I've found. |
| ||
Camerazoom camera,1.5 usualy makes things look right. |
| ||
Function SetCameraFOV(Camera, FOV#) CameraZoom Camera, 1.0 / Tan(FOV#/2.0) End Function http://www.blitzbasic.co.nz/codearcs/codearcs.php?code=676 |
| ||
Thanks Guys |