Fish eyes

Blitz3D Forums/Blitz3D Beginners Area/Fish eyes

Tyler(Posted 2003) [#1]
What's with the fish-eye vision when I run my "game"? When I walk around the terrain, objects i've placed look distorted when they reach the edges of my screen. Anyone know how to fix that? Thanks


WendellM(Posted 2003) [#2]
I tend to use a CameraZoom of around 1.2 to reduce the fish-eye effect while not cutting down the field of vision too much.


Tyler(Posted 2003) [#3]
Many thanks, just wondering if that actually happens in games, don't think it does though, unless the developers mean for it to.


Tyler(Posted 2003) [#4]
Actually, found a good little code that helped me out. Put 55 as the FOV value and it's looking right now, thanks again though.

Function SetCameraFOV(Camera, FOV#)
CameraZoom Camera, 1.0 / Tan(FOV#/2.0)
End Function


Mustang(Posted 2003) [#5]
Most FPS games use 90 deg FOV because it is roughly equivalent of human FOV which is 60 deg but has additional less focused area of vision even to the 180 deg... as comp gfx can't emulate this "less on focus", 90 deg is the usual compromise.

Having bigger FOV also means that there's more stuff that has to be drawn, so it also affects you framerates. But by all means, use whatever FOV you think is suitable for your game!