Camera Field of View

Blitz3D Forums/Blitz3D Programming/Camera Field of View

Faz(Posted 2004) [#1]
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.


fredborg(Posted 2004) [#2]
CameraZoom


_PJ_(Posted 2004) [#3]
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.


Zethrax(Posted 2004) [#4]
A 1.6 zoom value for CameraZoom seems to give the most eye friendly perspective, I've found.


Rob Farley(Posted 2004) [#5]
Camerazoom camera,1.5 usualy makes things look right.


Mustang(Posted 2004) [#6]
Function SetCameraFOV(Camera, FOV#)
   CameraZoom Camera, 1.0 / Tan(FOV#/2.0)
End Function


http://www.blitzbasic.co.nz/codearcs/codearcs.php?code=676


Faz(Posted 2004) [#7]
Thanks Guys